autoconf
[Top][All Lists]
Advanced

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

Re: Autoconf will (not?) detect cross-tools unprefixed


From: Erik de Castro Lopo
Subject: Re: Autoconf will (not?) detect cross-tools unprefixed
Date: Wed, 3 Sep 2008 16:08:48 +1000

Ralf Wildenhues wrote:

> * Eric Blake wrote on Wed, Sep 03, 2008 at 07:12:07AM CEST:
> > 
> > Does anyone have a quick example of where using a non-prefixed
> > tool name leads to bugs?
> 
> ./configure --build=i686-pc-linux-gnu --host=i586-mingw32msvc
> 
> If configure finds i586-mingw32msvc-gcc, but only unprefixed ar and
> ranlib, things are going to break pretty quickly.  ;-)

Closer to the original problem, if you are doing a cross compile
build and there is no cross pkg-config but the native pkg-config
exists and finds the native version of the library, you will get
build errors at the linking stage.

These link stage errors can be difficult for people who are new
to cross compiling to debug and fix. They are also difficult for
people who do lots of cross compiling but are new to software
using the autotools.

Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
IDIOT, n.
  A member of a large and powerful tribe whose influence in human
  affairs has always been dominant and controlling. The Idiot's
  activity is not confined to any special field of thought or action,
  but "pervades and regulates the whole." He has the last word in
  everything; his decision is unappealable. He sets the fashions and
  opinion of taste, dictates the limitations of speech and
  circumscribes conduct with a dead-line.
            Ambrose Bierce




reply via email to

[Prev in Thread] Current Thread [Next in Thread]