GCC Cross Compiling help
Posted: Thu Mar 09, 2006 8:25 pm
Hello all, I seem to be having problems with my GCC cross compiler.
I compiled binutils and gcc just fine and I can know use $target-gcc to compile files. The issue comes with linking, is there a need to compile "ld" again for the host OS or something?
When I tried to link object files I get the following errors:
"PE operations on a non PE file"
When I try to just create an EXE via -o parameter in C I get unreferenced alloca and main.
I'm not an avid Linux user so most of this is new to me.
Any help is appreciated, thanks.
I compiled binutils and gcc just fine and I can know use $target-gcc to compile files. The issue comes with linking, is there a need to compile "ld" again for the host OS or something?
When I tried to link object files I get the following errors:
"PE operations on a non PE file"
When I try to just create an EXE via -o parameter in C I get unreferenced alloca and main.
I'm not an avid Linux user so most of this is new to me.
Any help is appreciated, thanks.