Hello Joao Miguel,
Post by Joao Miguel Ferreirawhere can I find a list of the currentlly supported --host=myHost
options for cross compilation... (linux, hp, sun, cygwin, etc)
AFAIK there is no such list, however as soon as you use
AC_CANONICAL_HOST in configure.ac *and* you use automake, automake
will install config.sub and config.guess. The role of config.sub is
to validate and canonicalize a given --host whereas the role of
config.guess is to guess a canonical system name.
# Find the canonical name of mingw32
$ ./config.sub mingw32
i386-pc-mingw32
# Find the canonical name of my system
$ ./config.guess
i386-apple-darwin8.10.1
By looking at the switch-case done by these scripts, you can figure
out the various hosts recognized by --host.
By the way, I have a question to the list, AC_CANONICAL_HOST implies
AC_CANONICAL_BUILD, maybe this should be mentionned in the
documentation? Also, is it normal that I absolutely need to use
automake in order to use AC_CANONICAL_*? Actually, as soon as you
use AC_CANONICAL_*, configure will require install-sh, which is
installed by automake. Thus you have to use AM_INIT_AUTOMAKE and at
least add an empty Makefile.am and use AC_CONFIG_FILES([Makefile]).
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory