This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Building cross GCC problem part2


Hi everyone,
first of all I'd like to thank all the persons who replied to my last
post. It was very hepful. So I did copy the headers and libs from
solaris and use the following command:

[root@wumpscut build-gcc]# ../gcc-2.95.2/configure --target=$target
--prefix=$prefix --with-libs=/cross/sparc-sun-solaris2/lib
--with-headers=/cross/sparc-sun-solaris2/include -v

where target= sparc-sun-solaris2 and prefix=/ccompiler. Unfortunately I
get this error (Iwas down on my knees):

make[2]: Entering directory
`/usr/srccross/build-gcc/sparc-sun-solaris2.6/libiberty'
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: Leaving directory
`/usr/srccross/build-gcc/sparc-sun-solaris2.6/libiberty'
make[1]: *** [../libiberty/libiberty.a] Error 2
make[1]: Leaving directory
`/usr/srccross/build-gcc/sparc-sun-solaris2.6/libstdc++'
make: *** [all-target-libstdc++] Error 2

What's the matter with all this, is it really possible to build a
croos-gcc? May I also configure binutils with the following options:
--with-libs=/cross/sparc-sun-solaris2/lib
--with-headers=/cross/sparc-sun-solaris2/include  ?

Regards.

Pierre-Yves http://electroindus.free.fr




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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