Re: Cross-compiling on Debian systems?
On Thu, Nov 18, 1999 at 08:52:47AM -0500, Ben Collins wrote:
Now I need a xcompiler i386 -> sparc.
> > Looks like you're using the native binutils instead of cross binutils.
> Installing binutils-multiarch and compiling a native gas handles this.
How I use a cross GAS?
I don't know how tell ./configure to use my sparc-linux-as instead of
/usr/bin/as
--with-gnu-as doesn't work (what's its meaning?).
./configure can't understand sparc-linux-as is right assembler.
I made cross GAS from binutils (as & gasp) (./configure --target=sparc-linux)
and put files in /usr/local/bin/sparc-linux-*
Installed binutils-multiarch too.
"dpkg-cross -i libc6 libc6-dev", too
All OK.
But making gcc-sparc-linux-2.8.1 (changed all m68k references to sparc in
debian/ && dpkg-buildpackage -uc -us), it gives the same 'as' error:
./xgcc -B./ -DCROSS_COMPILE -DIN_GCC -O2 -I./include -I. -I. -I./config -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions -c ./crtstuff.c
-DCRT_BEGIN -o crtbegin.o
as: option '-s' is ambiguous
Thanks,
Cosimo.
--
K.Alfa <kame.primo at innocent.com> - Debian User
GnuPGid 0xC9F7DB89/1024 - Bologna soccia (mondo maiale) [GemBoy]
Key fingerprint = EE38 2537 FA41 D481 4998 EB24 905A 999F C9F7 DB89
Undergraduate Student of Computer Science at Bologna Univerity [Italy]
Reply to: