Hi,

     I'm trying to cross-compile some packages (like fileutils) on my PC,
for a board/ARM, (in ELF version and glibc 2.1). I've got the packages from
Redhat 5.2. installed in /usr/src/redhat/SOURCES/ . I configure like this:
     % CC=arm-linux-gcc RANLIB=arm-linux-ranlib ./configure
--target=arm-linux --prefix=/usr/local/arm
then I type 'make all' and the arm-linux-gcc compiler begin to compile some
c files like that:
     arm -linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../intl -g -O2
-c filename.c  ( is there enough -I ? ;-) )
And it is able to compile somes c files ( getdate.c, posixtm.c, etc.., but
then crashes for userspec.c telling:
userspec.c:88: macro 'strdup' used without args
in the userspec.c file, line 88 there is: char *strdup ();

Can anybody help me ?

and after that, I'd like to copy the commands like ls, cp, mv...in my
ramdisk file wich will be load in my board (StrongARM). Am I right ?

Cheers
Arnaud


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to