On Jul 10, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:

>>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:
Alexandre> On Jul 9, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote:
>>> My real question is, why do I need to do this? If autoconf knows
>>> that it is cross compiling then it should know to set the HOST_CC
>>> (or BUILD_CC) to gcc or cc.

Alexandre> How about just AC_SH_UNSETting CC before running
Alexandre> config.guess?  Then, config.guess would do its thing with
Alexandre> `cc', that is supposed not to be a cross compiler.  In the
Alexandre> future, it may be extended to look for gcc if it can't find
Alexandre> cc.

> How about exporting CC_FOR_HOST and cross_compiling and refusing CC if
> it is the same of CC_FOR_HOST when cross_compiling?

I like this, in addition to unsetting CC.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to