How to cross-build

From: VBDis (vbdis_at_aol.com)
Date: 09/28/03


Date: 28 Sep 2003 12:22:44 GMT

Some time ago I have downloaded a package that allows to cross-build for MinGW
on Linux. Now I have to extend the MinGW system, with support for some missing
features. How can I add these extensions also to the cross-build package?

In a wider scope, what has to go into a cross-build environment at all?

This is possibly not the appropriate group for such questions, so I appreciate
any hints about further information on this subject. The compiler itself is not
a special problem to me, I have a book about porting gcc to different target
platforms. Unfortunately that book only covers the gcc related topics, but not
the framework that is required to make an cross-compiler work on a cross-build
system.

I would also like to at least cross-configure packages for another compiler.
For simplicity I'd take the existing cross-build package for MinGW, and replace
the header files (and libraries?) by those of that other compiler. Then I could
copy the configured package to the target system, for the actual build. Is this
possible? What exactly has to be done, in order to allow at least for a
cross-configure?

Thanks for all informations
  DoDi



Relevant Pages

  • Re: CFO: Why ./configure?
    ... Support for MinGW or Cygwin would be fine. ... installed the cross-build package for MinGW. ... The last "configuration" is BCB, ...
    (comp.os.linux.development.apps)
  • Re: GNAT GPL 2009 for Mac OS X (Snow Leopard)
    ... find it athttp://sourceforge.net/projects/gnuada/files/ (navigateto ... but it's a cross-build so may take some getting my ... it wouldn't process the simplest exception properly. ... the failure to handle exceptions with the 64-bit compiler is ...
    (comp.lang.ada)