OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Fatty on September 30, 2005, 10:26:41 am
-
Hi all.
I'm using RC11 with XFCE4 + GCC/header from the RC11 feed.
When I compile really simple/single file program (like the hello world stuff) with 'gcc -o test test.c', the program can be compiled to executable but nothing happen when run. Any suggestion?
[Solved] sorry for such stupid question. Tried all possible solution but missed out the most obvious one... no path pointed to my /home and it requires ./test to run
-
ehe, not so stupid ;-)
I think it happens to a lot of people (I've done exactly the same) because:
* the current dir is not in the path (while it is the case under DOS/Windows)
but more vicious is the fact that
* 'test' is a valid command that does not output anything.
and thus you end up running 50 times /usr/bin /test instead of your program, trying to change the output doing all sort of things without even getting an error...