This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

why doesn't "--program-prefix=<foo>" work?


hi,

silly question: why doesn't --program-prefix work?

using gcc-3.2.2 or -3.2.1 (or any version for all i know), this flag seems
to be ignored.  eg, if i run this:

TARGET="armv5b-linux"
HOST="i686-pc-linux-gnu"
PROGPREFIX="xscalebe-"
CPU="xscale"
PREFIX="/usr/local/xscalebe/"

../gcc-$GCCVER-src/configure --target=$TARGET --prefix=$PREFIX $HOST --with-headers=$KERNEL/include --disable-shared --disable-threads --enable-languages="c" --nfp --with-cpu=$CPU  --without-fp --with-softfloat-support=internal --program-prefix=$PROGPREFIX

then the 'gcc' generated and installed in /usr/local/xscalebe/bin 
is _not_ the 'xscalebe-[gcc,cpp]' that one expects, but rather they
are 'armv5b-linux-[gcc,cpp]'.  since i'm using similar control over
binutils/etc, i would prefer all the names to match, and hence 
expected --program-prefix to make it so.

what's wrong with this?  am i doing something incorrect?

thanks,

josh


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