logo       

gcc options: msg#00119

video.xine.devel

Subject: gcc options

There's something strange about the gcc options.
I passed "-O3 -march=athlon-xp -mfpmath=sse -pipe -fomit-frame-pointer"
via the CFLAGS.
However, xine-lib (latest version) decided to add "-mcpu=athlon", which
is strange, because that's neither compatible with the -march i
specified, nor is the exact match to the actual CPU in my system (which
is an AthlonXP 1800).
Here's the whole string:

/bin/sh ../../libtool-nofpic --mode=relink gcc -O3 -march=athlon-xp
-mfpmath=sse -pipe -fomit-frame-pointer -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wcast-align -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64
-DXINE_COMPILE -O3 -pipe -fomit-frame-pointer -falign-functions=4
-falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2
-fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing
-ffast-math -funroll-loops -finline-functions -mcpu=athlon
-I/usr/include/kde/artsc -o xineplug_decode_a52.la -rpath
/usr/lib/xine/plugins/1.0.0 -avoid-version -module bitstream.lo
bit_allocate.lo downmix.lo imdct.lo parse.lo xine_decoder.lo
../../src/xine-engine/libxine.la -inst-prefix-dir
/var/tmp/xine-lib-root)

Even if i specify "-O3 -march=athlon-xp -mcpu=athlon-xp -mfpmath=sse
-pipe -fomit-frame-pointer" in the CFLAGS, xine-lib still overrides it
with -mcpu=athlon

--
Florin Andrei

http://florin.myip.org/



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise