On Tue, 18 Sep 2007, mike wrote:

> i try to compile mjpegtools-1.9.0rc2 on my x86_64 multilib enviroment. 

        I am not sure if that's enough information (it'd be nice to know
        the distribution, version of gcc, etc) but I think a workaround
        for the problem can be produced.

> but i get a strange error from make:
> configure:     - MMX/3DNow!/SSE enabled      : true
> configure:   - arch/cpu compiler flags       : -march=pentium-m 
> -mtune=pentium-m

        Isn't the "pentium-m" model the portable/notebook variant?  It's
        been a long time since I've given much attention to the cpu model
        info bits.

> how can i change the '-march' and 'mtune' option to generic or core2 or 
> athlon64? CC="gcc -mtune=generic" dosn't work. how can i compile without 
> this error?
> has anyone a idea?

        --with-extra-cflags=flags

        So you specify 

           --with-extra-cflags="-mtune=k8 -mcpu=k8"

        (or whatever value you want to use).

        The values you specify will override the values from cpuinfo.sh

        Cheers,
        Steven Schultz


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to