This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: [MinGW] Set NATIVE_SYSTEM_HEADER_DIR relative to configured prefix


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


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