This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problems with gas in AIX 5.2


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]