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


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

what parameters to newlib_1.8.0 ???


Hi,

After so many hours, i finally build my own ppc-motorola-eabi cross
development tool chain, now i'd like to have some knowledge about
parameters to configure newlib_1.8.0

I'm running Linux with gas-05xxxx egcs-1.0.1 as cross-compiler for
target=ppc-motorola-eabi...Well done it works.

cd newlib_1.8.0
./configure 	--target=ppc-motorola-eabi
		--with-headers=/usr/local/...ppc-motorola-eabi/include/
		--with-gnu-as
		--with-gnu-ld
		--with-newlib
		--norecursion

make

and then got an error after more than one hour compiling time...

checking build system type... i486-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for gcc... (cached) ppc-motorola-eabi-gcc
checking whether we are using GNU C... (cached) yes
checking whether ppc-motorola-eabi-gcc accepts -g... (cached) yes
checking for ranlib... (cached) ppc-motorola-eabi-ranlib
creating ./config.status
creating Makefile
make[1]: Entering directory
`/root/newlib-1.8.0/ppc-motorola-eabi/libgloss'
make[2]: Entering directory
`/root/newlib-1.8.0/ppc-motorola-eabi/libgloss/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/root/newlib-1.8.0/ppc-motorola-eabi/libgloss/doc'
make[2]: Entering directory
`/root/newlib-1.8.0/ppc-motorola-eabi/libgloss/rs6000'
ppc-motorola-eabi-gcc -O2 -g  -I. -I./.. `if [ -d ./../../newlib ]; then
echo -I./../../newlib/targ-include -I./../../newlib/libc/include; fi`
-mrelocatable-lib -mno-eabi -I. -I./.. -g -O2 -c sim-crt0.S
make[2]: *** No rule to make target `unlink.o', needed by `libsim.a'. 
Stop.
make[2]: Leaving directory
`/root/newlib-1.8.0/ppc-motorola-eabi/libgloss/rs6000'
make[1]: *** [stmp-bsp] Error 2
make[1]: Leaving directory
`/root/newlib-1.8.0/ppc-motorola-eabi/libgloss'
make: *** [all-target-libgloss] Error 2
Exit 2

so ? did i make a mistake somewhere (surely) ?
Then i'd like to know how why it has built so many directories for so
many calls types
since i only need to link the lib on Linux for eabi system (PPCBUG) ???

Thanks for your advices.

Francois.

-- 
-------------------------------------------------------------
THIEBOLT Francois \ You think your computer run too slow ?
UPS Toulouse III  \ - Check nobody's asked for tea !
thiebolt@irit.fr  \ "The Hitchikers Guide to the Galaxy" D.Adams
-------------------------------------------------------------