This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: problems with gas in AIX 5.2
- From: Nick Clifton <nickc at redhat dot com>
- To: Mauricio Alvarez <alvarez at ac dot upc dot edu>
- Cc: binutils at sourceware dot org
- Date: Mon, 15 May 2006 11:14:24 +0100
- Subject: Re: problems with gas in AIX 5.2
- References: <4464BD35.2030006@ac.upc.edu>
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