This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I created crosstool for arm-9tdmi-linux-gnu. I compiled a simple program using arm-9tdmi-linux-gnu-gcc. (My target board has already Kernel-2.6.10 and a compiler for older versions of gcc & glibc)
I mount: mount -o nolock,rsize=1500,wsize=1500 -t nfs 161.85.96.148:/home/pramod/crosstool /mnt/test
Ive simply used ./a.out. But its giving " sh:./a.out not found " even when there is compiled a.out in /mnt/test.
when i use: crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/arm-9tdmi-linux-gnu/lib/ld-linux.so.2 ./a.out its giving " illegal instruction "
Then something's unhappy. Try building a static binary (so you don't need ld-linux.so.2 or libc.so.6) that just outputs "hello" to the console and see if that works. - Dan
-- What does Linux need to succeed on the desktop? See http://kegel.com/linux/comfort
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |