This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

gcc-2.95.2 Linux-> AIX Cross Compiler



I'm attempting to build a gcc-2.95.2 cross-compiler.

host=i686-pc-linux-gnu,  target=powerpc-ibm-aix4.3.2.0

I downloaded and built binutils-2.9.1 first.  To do so, I ran the
following commands:

../binutils-2.9.1/configure --target=powerpc-ibm-aix4.3.2.0
make
make install

I then built gcc-2.95.2 as follows:

../gcc-2.95.2/configure --enable-languages=c --enable-haifa
--with-headers=/usr/local/powerpc-ibm-aix4.3.2.0/include
--with-libs=/usr/local/powerpc-ibm-aix4.3.2.0/lib
--target=powerpc-ibm-aix4.3.2.0
make
make install

Everything compiled, linked, and installed in
/usr/local/powerpc-ibm-aix4.3.2.0.

I copied over all headers and minimum required libraries from an AIX box
(first step).  When I try to compile, I discovered that the binutils
don't recognize the .a file format of the AIX libraries.

These are the exact same steps that I used a week ago to successfully
create a SPARC/Solaris cross-compiler and it works great!  What am I
missing?

Many thanks.

--

Microsoft gives you Windows but Unix gives you the whole house!




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