public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Packaging OSELAS.Toolchain: How to set DESTDIR properly
@ 2012-06-14 16:26 Dennis.Herbrich
  2012-06-18 21:46 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Dennis.Herbrich @ 2012-06-14 16:26 UTC (permalink / raw)
  To: crossgcc

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-19  7:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-14 16:26 Packaging OSELAS.Toolchain: How to set DESTDIR properly Dennis.Herbrich
2012-06-18 21:46 ` Yann E. MORIN
2012-06-19  7:16   ` Dennis.Herbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).