autoconf trouble

Enrico Weigelt weigelt at metux.de
Sat Sep 10 06:28:14 PDT 2005


* Jürg Billeter <j at bitron.ch> wrote:

<snip>
> I'm not a toolchain expert but if AFAIK you've correctly built a gnu
> toolchain with enabled sysroot support, the pathes should get adjusted
> automatically and package installation works fine with DESTDIR.

No. This only affects the built-in pathes (ie. (/usr|)/lib, /usr/include
and various toolchain-internal pathes, for ldstub, fpu-emulation, etc).

Pathes passed by command line are obviously not rewritten. 

This wouldn't either work, since it would break references into the 
sourcetree and several user-supplied pathes. How should the toolchain
know, which pathes to rewrite and which not ?

> I don't use this to build X.org (use chroot for that) but bootstrapping
> a base linux system works fine when gcc and binutils have been built
> with the --with-sysroot parameter.

The toolchain packages (gcc, binutils, etc) can easily be (cross-)
compilied, since they don't add absolute search pathes. 
BTW has the --with-sysroot parameter a special meaning to the 
toolchain packages - it builts to *use* some sysroot (aka this is 
the prefix for built-in pathes) and has nothing to do with whether
to built those packages *in* some sysroot.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service
  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact at metux.de
---------------------------------------------------------------------
  Realtime Forex/Stock Exchange trading powered by postgresSQL :))
                                            http://www.fxignal.net/
---------------------------------------------------------------------


More information about the xorg-modular mailing list