Hello, everyone.
I'm on cygwin. autoconf 2.59. aclocal 1.9.6.
The problem is that 'configure' script incorrectly finds the host C
compiler (gcc) when the cross compiler (or32-elf-gcc) should be found.
The content of 'configure.ac' is:
AC_PREREQ(2.59)
AC_INIT(foo, 1,0)
set -x -v
AC_CANONICAL_S
Tzu-Chien Chiu wrote:
> The problem is that 'configure' script incorrectly finds the host C
> compiler (gcc) when the cross compiler (or32-elf-gcc) should be found.
> ...
>
> $ ./configure --target=or32-elf
> checking build system type... i686-pc-cygwin
> checking host system type... i686-pc-cygwin
Thank you. It works now.
But I am confused. Are the definitions of build, host and target (to
configure script) different in the cases:
(1) building the cross-compiler
(2) building a software with a cross-compiler
In (1), target is used to specify where the built program will run.
But in (2), ho
"Tzu-Chien Chiu" <[EMAIL PROTECTED]> writes:
> Thank you. It works now.
>
> But I am confused. Are the definitions of build, host and target (to
> configure script) different in the cases:
> (1) building the cross-compiler
> (2) building a software with a cross-compiler
>
> In (1), target is used
Below are comments from a sysadmin as to why config.guess is
failing for me. Below that is the original problem statement,
and below that is the config.guess script. Is config.guess "wrong?"
From:jeffj
Hi John,
This has to do with the difference from the output from the pgi and gcc
prepro
Tzu-Chien Chiu wrote:
> But I am confused.
Yep. It can be a bit difficult to get your head around it :-)
> Are the definitions of build, host and target (to
> configure script) different in the cases:
> (1) building the cross-compiler
> (2) building a software with a cross-compiler
Nope. They