Hi!
I am trying to create a very small application in Mandrake Linux 8.1,
compiling isn't the problem at this moment, I can't start the
application :-(
This is the source:
#include <stdio.h>
int main(void)
{
printf("Hello world!\n");
return 0;
}
then I do: gcc main.c -omain
This works correct, there is a file created called main (displayed in
green).
But when I start it, I get: bash: main: command not found
A chmod 777 main isn't also working. Do I have (ELF???) library
problems?
I noticed that I also can't start any shell script. It works only if I
start it directly with the "sh" command.
Thanks in advance,
Greets,
Drosera!
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com