I have turned up some things that prevent libgii and libggi from easily
cross-compiling. The "configure.in:158: warning: AC_TRY_RUN called
without default to allow cross compiling" error during autoconf of
libgii is one problem. Another nice feature would be to add in
AC_CANONICALIZE_HOST and some AC_CHECK_TOOL calls in configure.in of all
of the libraries - that way you wont have to set RANLIB, AR, AS and all
the other binutils necessary for cross-compiling.
Unfortunately I am out of time tonight and I won't be able to address
these changes until after July 25 - maybe much later. These features
would be nice to have, but I think they could go into a minor release
and not the 2.0.
What does everyone else think?
PS: I've got several systems that I can cross-compile for to perform
tests on - I just won't be able to do this soon.
On 18 Jul 2001 15:25:33 -0400, Brian S. Julin wrote:
>
> On 18 Jul 2001, Thayne Harbaugh wrote:
> > I used to cross-compile all the time. It seems that you need to set CC,
> > CXX, AR, AS, RANLIB, LD and BUILD_CC as well as addeding to your path
> > the directory where the binutils for cross-compiling can be found.
>
> Erm, if you have to set all that by hand, then what good is the
> --host configure option? ("not very" would be a believable
> answer, as I have only ever experienced the utmost frustration
> when it comes to using ./configure --anything).
>
> --
> Brian
--
Thayne Harbaugh