first iceadtea cross-compile patch: disable sanity checks
theBohemian at gmx.net
Sat Mar 28 09:30:43 PDT 2009
Matthew Flaschen schrieb:
> I definitely think it should be optional, as you suggest in a comment.
> Otherwise, you're making things more difficult for someone building the
> code for the first time (or building on a new system).
Please let me know if it is OK that way.
There is one thing I would like to have but I don't know how to do it.
Autoconf already checks whether one is cross-compiling:
configure:3182: checking whether we are cross compiling
configure:3184: result: yes
In which variable is this result stored and when can I retrieve the
value for sure?
I want to implement the following algorithm in configure.ac:
disable sanity checks by default
else if (--disable-sanity-checks was given)
disable sanity checks
do sanity check
I only have the last part so far but the proposed automatism would be
useful, since some of the sanity checks really can't be done when
cross-compiling. Well, except if your host can run the target's binaries.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090328/3ec4d10c/signature.asc
More information about the distro-pkg-dev