This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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 : Fw: building cross-compiler for aix4.3


the following item is ommited..
--with-local--prefix=$PREFIX/$TARGET/bin

The item of above is include rs6000-ibm-aix4.3-as, ar, ld....

Good luck to you..

----------  원본 메시지  ----------
발신자 : "Costinel Mitrea" <costin.mitrea@inbox.ro>
수신자 : 서버Gr 윤형수 주임연구원(docho@lgnsys.com, 82-02-705-3075)
날  짜 : 2005/02/22 7:03:19 AM
제  목 : Fw: building cross-compiler for aix4.3



 Hi,

 I'm trying to build a cross-compiler for aix4-3. Here is what I did:

 $ export HOST=i686-pc-linux-gnu
$ export TARGET=rs6000-ibm-aix4.3
$ export PREFIX=/usr/local
$ export i=$PREFIX/bin

$ cd binutils-2.15
$ ./configure --host=$HOST --target=$TARGET --prefix=$PREFIX
$ make & make install

 headers and libraries copied from aix to $PREFIX/$TARGET/include and
$PREFIX/$TARGET/lib respectively

$ cd ../gcc-3.4.1
$
./configure --host=$HOST --target=$TARGET --prefix=$PREFIX --enable-languages=c
  --with-headers=$PREFIX/$TARGET/include --with-libs=$PREFIX/$TARGET/lib --without-threads
$make

 and I have an error. Here are the last lines:

 /usr/src/packages/gcc-3.4.1/gcc/xgcc -B/usr/src/packages/gcc-3.4.1/gcc/ -B/usr/local/rs6000-ibm-aix4.3/bin/
  -B/usr/local/rs6000-ibm-aix4.3/lib/ -isystem
 /usr/local/rs6000-ibm-aix4.3/include -isystem
/usr/local/rs6000-ibm-aix4.3/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W
  -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
   -isystem
 ./include   -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I.
 -I -I. -I./ -I./../include   -mcpu=power -DL_divdi3 -c
./libgcc2.c -fexceptions -fnon-call-exceptions -o libgcc/power/_divdi3.o
/tmp/ccL8Ds3R.s: Assembler messages:
/tmp/ccL8Ds3R.s:661: Error: Unrecognized opcode: `mfcr'
make[2]: *** [libgcc/power/_divdi3.o] Error 1
make[2]: Leaving directory `/usr/src/packages/gcc-3.4.1/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/usr/src/packages/gcc-3.4.1/gcc'
make: *** [all-gcc] Error 2

 I tried also to configure using --with-gnu-as, but I had the same error.

 Any ideas ?

 Thanks,
Costin


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com






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