From: "E. Weddington" <ericw@evcohs.com>
To: Dave Korn <dk@artimi.com>
Cc: 'gcc' <gcc@gcc.gnu.org>
Subject: Re: How to stop GCC from searching for components in --prefix on Windows host?
Date: Wed, 22 Sep 2004 17:56:00 -0000 [thread overview]
Message-ID: <4151B5AD.6000005@evcohs.com> (raw)
In-Reply-To: <NUTMEG3HvoFOAmEaJsw00000027@NUTMEG.CAM.ARTIMI.COM>
Dave Korn wrote:
> The error is with your users, not gcc! Heh, well, it's fair enough to say
>that it's a limitation of gcc that it gets hard-coded install paths built
>into it.
>
>
>
Exactly. Having hard-coded install paths works fine for *nix systems,
but, ...well everybody knows the general consensus for MS's stuff....
>>There have been some problems where X on the build machine is on a
>>particular drive, and on the install machine X is on a drive with
>>removable media, then GCC sometimes craps out and doesn't properly
>>locate all the components. Is there some way to get GCC to *not* search
>>for components in the configured prefix, but preserve its
>>other search rules?
>>
>>
>
> How about supplying a dummy path to the --prefix argument when you build
>your releases, something that points to C:\ or whatever, something that's
>pretty much guaranteed to be there on every system you need to support but
>also pretty much guaranteed not to contain any executables that would get in
>the way?
>
>
I wish I could guarantee that every system is going to have a C:\. In
practice, most will, but sure as I say it, somebody's going to have a
system that won't have it.
I'm certainly not afraid to patch this distribution to take out the
search in --prefix for components as the current searching of PATH (or
whatever it does after searching --prefix) works just fine. My questions
would be: is this a sane thing to do (considering the problem)? Where
would one do this in the code? Is it relatively localized? and... would
this situation be considered a bug? should I fill out a bug report?
Thanks
Eric
next prev parent reply other threads:[~2004-09-22 17:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-22 16:59 E. Weddington
2004-09-22 17:48 ` Dave Korn
2004-09-22 17:56 ` E. Weddington [this message]
2004-09-22 18:34 ` Ian Lance Taylor
2004-09-22 18:37 ` E. Weddington
2004-09-22 18:37 ` Ian Lance Taylor
2004-09-22 18:46 ` E. Weddington
2004-09-22 20:46 ` Geoffrey Keating
2004-09-22 21:56 ` Mark Mitchell
2004-09-22 23:58 ` E. Weddington
2004-09-23 1:29 ` Mark Mitchell
2004-09-23 12:14 ` Dave Korn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4151B5AD.6000005@evcohs.com \
--to=ericw@evcohs.com \
--cc=dk@artimi.com \
--cc=gcc@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).