This is the mail archive of the
crossgcc@sourceware.org
mailing list for the crossgcc project.
See the CrossGCC FAQ for lots
more information.
crti.o and crtn.o missing when building mips+uclibc cross compiler
- From: maillist <maillist-ctng at barfooze dot de>
- To: crossgcc at sourceware dot org
- Cc: bryanhundven at gmail dot com
- Date: Sat, 09 Jul 2011 00:40:11 +0200
- Subject: crti.o and crtn.o missing when building mips+uclibc cross compiler
i tried in several different configurations (with or without mmu, little
/ big endian...)
but i always get missing crti.o and crtn.o when using the built mips
cross compiler.
i then built those 2 files manually, using
mips-unknown-linux-uclibc-cc -nostdlib -static -c
/tmp/ct-test/.build/mips-unknown-linux-uclibc/build/build-libc/libc/sysdeps/linux/mips/crtn.S
mips-unknown-linux-uclibc-cc -nostdlib -static -c
/tmp/ct-test/.build/mips-unknown-linux-uclibc/build/build-libc/libc/sysdeps/linux/mips/crti.S
after that a binary was succesfully built. however it does not work on
the target sys (illegal instruction), but maybe that's just me
misconfiguring some ABI thing.
build-log and uclibc config: (filename: uclibc.config)
https://github.com/downloads/rofl0r/cluts/log.tar.bz2
ct-ng config:
http://pastie.org/2181153
best regards.
--
For unsubscribe information see http://sourceware.org/lists.html#faq