[MinGW] Set NATIVE_SYSTEM_HEADER_DIR relative to configured prefix

Daniel Jacobowitz drow@false.org
Tue Dec 19 00:25:00 GMT 2006


On Mon, Dec 18, 2006 at 07:19:14PM -0500, Bob Rossi wrote:
> Just so I understand correctly. In general, does DESTDIR only setup a
> staging area, and then when the code is untar'd somewhere else, it
> should be untared to wherever the --prefix dir was?
> 
> With that in mind, you are suggesting that gcc does some extra magic so
> that you can run it from anywhere, --prefix dir or from DESTDIR install?
> 
> I'd like to know for the future if in general all programs should be
> able to run from DESTDIR, or if gcc took extra steps to make this work.

DESTDIR is not special; it's just a trick for package building.  A
program can run from DESTDIR iff it supports relocated execution.
Many do, many don't.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gcc-patches mailing list