Re: Cross-compiling and the gen* native build tools

2014-02-04 Thread David Holmes
On 4/02/2014 7:35 PM, Magnus Ihse Bursie wrote: On 2014-02-04 07:46, David Holmes wrote: I don't quite follow. What would you hard-code where? At present either the build platform is the target platform in which case you compile and run the appropriate generator; otherwise you have to have a h

Re: Cross-compiling and the gen* native build tools

2014-02-04 Thread Magnus Ihse Bursie
On 2014-02-04 07:46, David Holmes wrote: I don't quite follow. What would you hard-code where? At present either the build platform is the target platform in which case you compile and run the appropriate generator; otherwise you have to have a hard-wired version of what the generator would

Re: Cross-compiling and the gen* native build tools

2014-02-04 Thread Magnus Ihse Bursie
On 2014-02-04 05:17, Martin Buchholz wrote: A strategy that often works is to just use the preprocessor output instead of compiling and running the resulting program. autoconf has support for this. http://www.gnu.org/software/autoconf/manual/autoconf.html#Running-the-Preprocessor For just

Re: Cross-compiling and the gen* native build tools

2014-02-03 Thread David Holmes
Hi Magnus, On 4/02/2014 12:13 AM, Magnus Ihse Bursie wrote: I just noticed this when replying to a mail to Volker, but I think this is worth a thread on it's own. There are three very similar build helpers that are compiler with BUILD_CC, i.e. the compiler for the build (not target) platform. T

Cross-compiling and the gen* native build tools

2014-02-03 Thread Magnus Ihse Bursie
I just noticed this when replying to a mail to Volker, but I think this is worth a thread on it's own. There are three very similar build helpers that are compiler with BUILD_CC, i.e. the compiler for the build (not target) platform. They are: jdk/src/solaris/native/sun/nio/fs/genUnixConstant