strange problem: gcc use incorrect AS
zhanghong zhong
hzzhang@online.sh.cn
Thu Jun 21 09:20:00 GMT 2001
Hi Jan,
thanks for your reply. :)
At 16:27 2001-06-21 +0200, Vermeulen Jan wrote:
>Have you first made "binutils" package, so you get your
>cross-assembler/linker ?
>You need that first, because gcc depends on the existence of "m68k-coff-as"
>to generate some symbols or something like that. (i am not sure).
>
>But first "make all install" binutils before proceding to GCC.
>
>Don't know if this was your problem, but you didn't specify if you had
>binutils
>made succesfully.
I have configure/build/install the binutils successfully. but my binutils
installed in a directory different from the cross-gcc,
below is my setup procedure:
cd build-binutils
../binutils-2.10.1/configure --target=m68k-coff
--prefix=/usr/local/swtools/binutils
make all install
set PATH=/usr/local/swtools/binutils/bin:$PATH ;
export PATH
cd ../build-gcc
../gcc-2.95.2/configure --target=m68k-coff --with-newlib
--enable-languages=c,c++ --prefix=/usr/local/swtools/gcc
make all
[error]
can I put the cross-binutils and cross-gcc in a different directory ? how
to solve the problem ?
thanks and regards
james/zhz
>Best regards,
>Jan
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list