This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error: invalid option `tune=athlon-xp'


Anyone? 

On Thu, 2006-04-27 at 17:49 +0200, sp4rc wrote:
> Dear list-members,
> 
> i am trying to build mplayer via distcc (gcc-3.4.5) and 2 other hosts
> (alpha, i386 smp both running gcc version 3.4.5). It always stucks with
> the following error. 
> 
> [...]
> make[1]: Leaving directory
> `/var/tmp/portage/mplayer-1.0.20060217/work/mplayer-1.0.20060217/libmenu'
> cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
> -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer
> -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE  -I.      -I/usr/include/freetype2
> -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   -I./libavutil
> -I./libavcodec   -o mplayer.o mplayer.c
> cc1: error: invalid option `tune=athlon-xp'
> distcc[16587] ERROR: compile mplayer.c on hydra failed
> make: *** [mplayer.o] Error 1
> 
> So i have tried to recompile my crosscompiler on hydra(i386-smp with
> NetBSD) with the following options
> 
> # ../../gcc-3.4.5/configure --prefix=/usr/pkg/cross
> --target=i686-pc-linux-gnu --with-gnu-ld --with-gnu-as --disable-nls
> 
> [...]
> 
> # gmake -j6 CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
> 
> [...]
> 
> # gmake install
> 
> But still the same error shows up. My local compiler was build with
> CFLAGS="-02 -march=athlon-xp -fomit-frame-pointer" (i am not quite sure
> about this, how can proof this?) How am I able to bring this "tune"
> option into my cross-gcc?
> 
> Any hints on this would be greatly appreciated.

-- 
/sp4rc


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]