Results 1 to 3 of 3
hi ,
i compiled a simple hello.c program using the cross compiler powerpc-440-linux-gnu-gcc " + the options " -mpowerpc -gdwarf-2" + file name "hello.c"
and there is no error while ...
- 03-09-2009 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 11
syntax error message while running
hi ,
i compiled a simple hello.c program using the cross compiler powerpc-440-linux-gnu-gcc " + the options " -mpowerpc -gdwarf-2" + file name "hello.c"
and there is no error while compiling.
After that i copied the exe file to powerpc linux and i tried to run that file. its giving " Syntax error: "(" unexpected " as error message.
if anybody knows how to solve this problem, please let me know.
- 03-09-2009 #2Just Joined!
- Join Date
- Feb 2009
- Posts
- 45
I assume the file “hello.c” harbours a simple «Hello World» program. Is that correct?
Originally Posted by vijuvince
Unless someone who possesses the special knowledge required here comes along and offers assistance, could you provide the audience with the output of the following 2 commands, which are to be executed on the powerpc machine?
Originally Posted by vijuvince
Code:$> strace hello; $> ltrace hello;
- 03-16-2009 #3Just Joined!
- Join Date
- Nov 2008
- Posts
- 11
those starce and ltrace command are not available in sequoia linux
so how to find out the error in exe file


Reply With Quote