Jaymin Kessler

-S command line option looking for the linker

Discussion created by Jaymin Kessler on Aug 8, 2007
Latest reply on Aug 20, 2007 by CrasyCat
I am trying to generate assembly for a cpp file, parse it, insert hooks, then assemble and link it into an elf. From the command line, -S looks like it should be the switch for outputting assembly for the input files. The only problem is that I am getting an error about not being able to find the linker.

I can fix the path so that the linker is found, but thats not the point. I am a little concerned that trying to produce the assembly, which should involve nothing but the compiler, would even look for the linker. I am hoping that -S doesnt correspond to the IDE's disassemble option, which requires a full build first and doesn't produce a file I can assemble.

I am working with the Gamecube/Wii compiler. Both platforms are PPC so I'm hoping someone has seen this before and the solution will apply

thanks in advance for any help.