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]

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




-------- Original Message --------
Subject: Re: Question on building cross-compiler i686-pc-cygwin32 to
powerpc-vtx-aix
Date: Fri, 09 Nov 2001 13:11:06 +0000
From: emma forrester <emma.forrester@thales-tts.com>
To: kai.ruottu@luukku.com
References: <20073286.1005308134137.JavaMail.hip-pop@porkkana>
<3BEBD01F.51BE5F02@luukku.com>



Kai Ruottu wrote:
> 
> 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'm sorry but I know very little about the target I have just
inherited the task of making the cross compiler from a colleague.
This is the target I have been instructed to use and also why I have
none of the system headers of libs for it. 

However Following another response to my post I rebuilt newlib and
removed the --without-headers flag and that solved the errors.

> > 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

------
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]