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]

Re: Question on building cross-compiler i686-pc-cygwin32 to powerpc-vtx-aix


emma forrester wrote:
> 
> Hi there
> 
> I'm trying to build a cross compiler for:
> host system type... i686-pc-cygwin32
> target system type... powerpc-vtx-aix

 AIX what? There are different AIX-templates

	rs6000-ibm-aix3.[01]*)
	rs6000-ibm-aix3.2.[456789]* | powerpc-ibm-aix3.2.[456789]*)
	rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
	rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
	rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
	rs6000-ibm-aix*)

supported in the gcc-2.95.x and yours seems to not fit into any of
these...

> I have built binutils-2.9.1 and newlib-1.8.2 successfully for this
> target.

 Newlib ?  Please tell us more about your target... Is it some very
special target, not at all compatible with the IBM AIX'es?  Doesn't
it have any system headers and libs of its own?  Or why you try the
newlib as the C-library for the target?

> I am trying to build it using the lines:
> configure --prefix=/usr/local --target=powerpc-vtx-aix --with-newlib
> --with-gnu-as --with-gun-ld --without-headers
> 
> make CFLAGS="-O" LANGUAGES="c" all install
> 
> Please can anyone give me any pointers as to where I'm going wrong
> or what I'm missing.

 The normal method is to use the libs and headers from the target
system, not newlib or glibc. Only the embedded systems use newlib
as their C-library (ok, there are some minimalistic ports for some
systems like SVR3.2/i386...)

Cheers, Kai

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


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