On 8/22/07, Mike Frysinger <[EMAIL PROTECTED]> wrote:
> On Wednesday 22 August 2007, James Ausmus wrote:
> > (As first seen on the gentoo-user mailing list, as I wasn't being
> > intelligent at the moment...)
> >
> > I am using the xmerge script as defined in
> > http://www.gentoo.org/proj/en/base/embedded/cross-development.xml, all
> > I get are either:
> >
> > /usr/libexec/gcc/arm-unknown-linux-gnueabi/ld: crt1.o: No such file:
> > No such file or directory
>
> keep it simple, leave configure scripts out of it
>
> start with a basic compile/link:
> $ echo 'int main(){}' > test.c
> $ arm-unknown-linux-gnueabi-gcc test.c

Thanks for the response. :)

Works fine, creates the a.out file, and file identifies it as:

a.out: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux
2.6.14, dynamically linked (uses shared libs), not stripped

Here are the versions involved:

cross-arm-unknown-linux-gnueabi/binutils-2.17-r1
cross-arm-unknown-linux-gnueabi/gcc-4.1.2
cross-arm-unknown-linux-gnueabi/glibc-2.5-r4
cross-arm-unknown-linux-gnueabi/linux-headers-2.6.22-r2

Host is a AMD 64, 64bit kernel/userland (x86_64-pc-linux-gnu-gcc).


-James
-- 
[EMAIL PROTECTED] mailing list

Reply via email to