| To: | <linux-mips@linux-mips.org> |
|---|---|
| Subject: | Why the program complied by mips-linux-g++ cann't run on the target machine |
| From: | "Li Shishan" <lishishan@utstar.com> |
| Date: | Sat, 4 Sep 2004 13:06:39 +0800 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| Thread-index: | AcSSPPYnv/+Wr/hoSVWlrfJDHvGxVg== |
| Thread-topic: | Why the program complied by mips-linux-g++ cann't run on the target machine |
|
Hi, all: I use the mips-linux-g++ complie a program. and I excuted it on the target machine , but cann't, what's wrong?
For example: For PC, I use g++ -c -o ccgame.o ccgame.cpp g++ -o ccgame ./ccgame.o execute it will give: Hello, world! For the target board, I use mips-linux-g++ -c -o ccgame.o ccgame.cpp mips-linux-g++ -o ccgame ./ccgame.o excute it will give " /bin/sh: ./ccgame: not found". Is there something wrong? the mips-linux-gcc work is well!!! looking forward for anybody send me the question answer,very thanks!!! your sincerely liss 2004.09.04 13:06
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [patch] MIPS/gcc: Revert removal of DImode shifts for 32-bit targets, Richard Henderson |
|---|---|
| Next by Date: | Re: [patch] MIPS/gcc: Revert removal of DImode shifts for 32-bit targets, Richard Sandiford |
| Previous by Thread: | USB Mass-storage and Au1500, Michael Stickel |
| Next by Thread: | Re: Why the program complied by mips-linux-g++ cann't run on the target machine, Geert Uytterhoeven |
| Indexes: | [Date] [Thread] [Top] [All Lists] |