This is the mail archive of the crossgcc@sourceware.cygnus.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]

crosscompiling SysVinit


Hello,

has anybody tried to crosscompile SysVinit and succeeded?

I always get an error message, that crt1.o cannot be opened. The file exists
in the correct directory. I also tried the -B option and the GCC_EXEC_PREFIX
environment variable, but always failed!

Any help is appreciated.

Best regards,
Thomas Eisenzopf.


eisenzopft@pca355:~/appl/sysvinit-2.76/src > make all
powerpc-linux-gcc -c -Wall -O2 -D_GNU_SOURCE
-I/usr/local/powerpc-linux/lib/gcc-lib/powerpc-linux/2.95.2/include
-I/usr/local/powerpc-linux/include init.c
init.c: In function `console_open':
init.c:457: warning: `fd' might be used uninitialized in this function
powerpc-linux-gcc -c -Wall -O2 -D_GNU_SOURCE
-I/usr/local/powerpc-linux/lib/gcc-lib/powerpc-linux/2.95.2/include
-I/usr/local/powerpc-linux/include -DINIT_MAIN utmp.c -o init_utmp.o
powerpc-linux-gcc -s  -o init init.o init_utmp.o
/usr/local/powerpc-linux/powerpc-linux/bin/ld: cannot open crt1.o: Datei
oder Verzeichnis nicht gefunden
collect2: ld returned 1 exit status
make: *** [init] Error 1
eisenzopft@pca355:~/appl/sysvinit-2.76/src >       

------
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]