Re: Default host other than local system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Re:
http://lists.gnu.org/archive/html/autoconf/2010-01/msg00039.html

I also want to use  autoconf for an embedded system code base and I want to
force my configure script to set the cross compile environment correctly.

I'm trying to get a team to adopt autotools for a rather large embedded
project, but I need to make sure the default execution of 'configure' does
the right thing without forcing the setting of 'CC' and --host and a few
other defaults.

I have set the following in my 'configure.ac':

<snip>
host=mips-elf
host_alias=mips-elf
ac_tool_prefix=mips-elf-
cross_compiling=yes
AC_PROG_CC
</snip>

This does work, but is this the best approach?

comments please...



RJW.
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux