Skip to contentSkip to conversation

Cross-compiling sysvinit

DISCUSSION Reni Pachernegg 1 participant 2 messages Jan 18, 2000

lore
Share & tools
lore
#0 lore raw

Finally building the cross-compiler and the glibc succeded. Thanks to all the people from this mailing list who helped.

Actually I am trying to cross-compile sysvinit without succes. The linker /powerpc-linux/ld tells me :

cannot opten crt1.o: File or Directory not found

I found crt1.o in my cross-compiled glibc in /lib and passed the directory with the -L option to the Linker. Additionally I added this directory to PATH. --> No changes

Ann suggestions?

Regards
Rene

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Fixed it already. Thought I already tried everything. The prob was that I set a link to the libs in the comiler/$target/lib dir. The linker doesnt seem to like that. But copying the libs fixed it.

Regards
René

Quoted 9 lines · René Pachernegg

Finally building the cross-compiler and the glibc succeded. Thanks to all the people from this mailing list who helped.

Actually I am trying to cross-compile sysvinit without succes. The linker /powerpc-linux/ld tells me :

cannot opten crt1.o: File or Directory not found

Quoted 8 lines

I found crt1.o in my cross-compiled glibc in /lib and passed the directory with the -L option to the Linker. Additionally I added this directory to PATH. --> No changes

Ann suggestions?

Regards
Rene

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/