- To: gcc-help@xxxxxxxxxxx
- Subject: Problem building cross-compiler for AIX 6.1
- From: John M Collins <jmc@xxxxxxxx>
- Date: Thu, 31 May 2012 20:28:46 +0100
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
Please CC me as I'm not subscribed thanks
I am trying to build a cross-compiler with gcc-4.7.0 from Ubuntu Linux
to AIX6.1
I have build the binutils (2.22) OK
I have copied the include files and /usr/lib contents from AIX6.1 to
/home/crossenv/powerpc-ibm-aix6.1/include and .../lib
I am running:
../gcc-4.7.0/configure --target=powerpc-ibm-aix6.1
--prefix=/home/crossenv --disable-nls --enable-languages=c,c++
make all-gcc
make install-gcc
make all-target-libgcc
However it gets as far as the following on the last step
/bin/bash ../../../../gcc-4.7.0/libgcc/../mkinstalldirs
../../.././gcc/pthread
/usr/bin/install -c -m 644 libgcc_eh.a ../../.././gcc/pthread/
chmod 644 ../../.././gcc/pthread/libgcc_eh.a
/home/crossenv/powerpc-ibm-aix6.1/bin/ranlib
../../.././gcc/pthread/libgcc_eh.a
/bin/bash ../../../../gcc-4.7.0/libgcc/../mkinstalldirs
../../.././gcc/pthread; /usr/bin/install -c -m 644 pthread/libgcc_s.a
../../.././gcc/pthread/
/usr/bin/install: cannot stat `pthread/libgcc_s.a': No such file or
directory
I don't need threads straightaway, can I bypass this just to get off the
ground?
Thanks for any help people can give.
--
John Collins
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]