* What all should I take care while compiling and running?
@ 2005-11-08 5:14 Pramod P K
0 siblings, 0 replies; only message in thread
From: Pramod P K @ 2005-11-08 5:14 UTC (permalink / raw)
To: gcc-help
Hi,
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 "
I can find crosstool/gcc-3.4.3-glibc-2.3.4/arm-9tdmi-linux-gnu/arm-9tdmi-linux-gnu/lib/ld-linux.so.2
Do u doubt crosstol build itself gone wrong? But i tested
arm-9tdmi-linux-gnu-objdump; works properly.
What all should I take care while compiling a program and running a
program in the TARGET?
Plz reply with all the possibilities where the thing gone wrong.
Thanx n regards,
--
----------------------------------------------------------------
PRAMOD P. K., <pra.engr@gmail.com>
CDMA: 91- 9242195490.
----------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-08 5:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-08 5:14 What all should I take care while compiling and running? Pramod P K
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).