This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Packaging OSELAS.Toolchain: How to set DESTDIR properly


Greetings!

I would like to build the current OSELAS.Toolchain-2011.11.1 with 
ptxdist-2011.11.0 as recommended, and package it for further distribution 
as an Arch Linux package. Building and installing normally as documented 
is not a problem, but I fail to fully grasp what settings are necessary to 
install the files to an arbitrarily prefixed location, ie. 
/tmp/makepkg/pkg/opt instead of /opt, without messing up GCC's sysroot, 
search-dirs and friends.

Exporting PTX_AUTOBUILD_DESTDIR=/tmp/makepkg/pkg before running ptxdist go 
seemed to install the toolchain where I wanted, but unfortunately also 
added my prefix to the compiled in defaults of GCC. Is there a 
configuration option to do what I want? Something similar to "make 
DESTDIR=/prefix" that is correctly used throughout the whole toolchain 
build and install process automagically?

If not, I'd be thankful for pointers to what would need to be patched to 
make this happen. I really want a cleanly buildable package of this 
toolchain. ;)

Thank you for your consideration,
Dennis Herbrich

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]