There is a problem with the way autoconf tries to detect
if a compiler is in fact a cross compiler. Currently,
autoconf will write out the following program:
#ifdef __cplusplus
extern "C" void exit (int);
#endif
int main(){return(0);}
If this program compiles that autoconf sets the
ac_cv_prog_cx
Hello!
> If the program can not be run, autoconf assumes that the compiler is a
> cross compiler. This approach has a some serious problems. If the
> program can be compiled and linked but it does not run because of some
> problem with the runtime linker, then autoconf will think that the
> compi
On Mon, 24 Apr 2000, Pavel Roskin wrote:
> Hello!
>
> > If the program can not be run, autoconf assumes that the compiler is a
> > cross compiler. This approach has a some serious problems. If the
> > program can be compiled and linked but it does not run because of some
> > problem with the run