problems with gas in AIX 5.2

Nick Clifton nickc@redhat.com
Mon May 15 22:38:00 GMT 2006


Hi Mauricio,

> Now I am doing something like this:
> to compile a selected file with gcc-4.0.2 to assembly
> to assemble the result file to object file with gas-2.16.1

Why not use gcc-4.0.2 to assemble the file as well ?  ie why use a 
different assembler from the one that forms part of the gcc-4.0.2 
toolchain ?

> link the resultant object file and other objects with gcc-4.0.2

ie:

powerpc-ibm-aix5.2.0.0-gcc-4.0.2 [...] -S -o ffmpeg.s ffmpeg.c
powerpc-ibm-aix5.2.0.0-gcc-4.0.2 -mppc -o ffmpeg.o ffmpeg.s
powerpc-ibm-aix5.2.0.0-gcc-4.0.2 [...] -o ffmpeg_g ffmpeg.o

Cheers
   Nick




More information about the Binutils mailing list