This is the mail archive of the crossgcc@sourceware.org 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: [ct-ng] mingw32 sysroot


Hmm... This got stuck in my Outbox while on vacation. Better late than never though.

On Wed, 2010-08-11 at 17:52 -0400, Arnaud Lacombe wrote: 
> Hi,
> 
> On Wed, Aug 11, 2010 at 11:46 AM, Esben Haabendal
> <eha@doredevelopment.dk> wrote:
> > Hi
> >
> > I am using the attached patch to be able to use crosstool-ng 1.8.0
> > to build mingw32 cross compiler (gcc 4.5.1) with sysroot enabled.
> >
> are you ? AFAIK, my gcc-4.5.1 patch was not in 1.8.0. The other case
> is that you made the change yourself, in which case it's no longer
> 1.8.0 ;-)

Hehe, good point.

It is 1.8.0, with the official (2) fixes, your (AFAIR) gcc-4.5.1 patch,
and a the needed host libstdc++ patches for canadian cross.

Bot other than that, it is pretty much 1.8.0 ;-)

> > The change in gcc.sh is rather ugly, I must admit, but it was so much
> > simpler to fix it here than in gcc, and saves me the trouble of having
> > to fixup all gcc versions. I believe the mingw/include behavior is
> > pretty much stable across gcc versions.
> >
> What was the original error ?

GCC fails to find stdio.h as it looks in ${CT_SYSROOT_DIR}/mingw/include
instead of ${CT_SYSROOT_DIR}/usr/include

/Esben




--
For unsubscribe information see http://sourceware.org/lists.html#faq


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