crossbuild cygwin-1.7.6-1 on linux x64

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Thu Aug 26 21:10:00 GMT 2010


On Thu, Aug 26, 2010 at 09:37:39PM +0200, Corinna Vinschen wrote:
>On Aug 26 12:25, Charles Wilson wrote:
>> Corinna said:
>> >Here's how I created the cross toolchain.  It's *very* certainly NOT the
>> >official way of doing it, bootstrapping from scratch and all that, but
>> >it works for slackers like me:
>> 
>> Hmm. Thanks.
>> [...]
>> Didn't you also need to modify libstdc++v3/crossconfig.m4?  Without
>> that, I get an error that it doesn't "know about this host/target
>> combination".
>
>Hmm, I'm not quite sure.  I recall that I asked Dave in PM about a
>problem with libstdc++v3, but AFAICS the final set of configure options
>fixed that.  I *think* it was the --with-newlib option.  Here's the
>complete set:
>
>  --prefix=/opt/redhat/cross-cygwin \
>  --target=i686-pc-cygwin \
>  --disable-bootstrap --enable-version-specific-runtime-libs \
>  --enable-static --enable-shared --enable-shared-libgcc \
>  --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 \
>  --disable-sjlj-exceptions --enable-languages=c,c++ --disable-symvers \
>  --enable-threads=posix --with-arch=i686 --with-tune=generic \
>  --with-newlib

I sent Dave some patches which fixed the libstdc++ building a while
ago but, IIRC, they were pretty straightforward.  They probably have
bitrotted by now.

cgf



More information about the Cygwin-developers mailing list