Cross compilation query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have just been investigating building a cross compiler (which as a
test I am building on i686-pc-linux-gnu and targeting
powerpc-ibm-aix5.2.0.0)

I'm using the current svn, which is fine when built natively.

I configured with:
../src/combined/configure --prefix=/home/edwardss/cross
--target=powerpc-ibm-aix5.2.0.0
--with-sysroot=/home/edwardss/cross/sysroot/powerpc-ibm-aix5.2.0.0
--enable-languages=c,fortran --with-mpfr=/usr/local --disable-multilib

And everything has built okay.

The gcc cross-compiler works fine.

When I try and use the gfortran cross-compiler I get:

collect2: init function found in
object /home/edwardss/cross/lib/gcc/powerpc-ibm-aix5.2.0.0/4.3.0/../../../../powerpc-ibm-aix5.2.0.0/lib/libgcc_s.a

Does anyone have any suggestions on what may be going wrong here?

I suspect there is something horribly wrong about my
sysroot as this is the first time I have attempted this sort of
procedure, but I'm not really too sure where to start searching!

Steve E
-- 
----------------------------------------------------------
Yow! of the hour:
It is easier to change the specification to fit the program
than vice versa.
----------------------------------------------------------

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux