crossbuild cygwin-1.7.6-1 on linux x64

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Aug 26 19:37:00 GMT 2010


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


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-developers mailing list