This is the mail archive of the gcc-bugs@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]

Re: minor install nit


Mike Stump wrote:

> There was a bug in program-{prefix,suffix} that I fixed and submitted
> a patch for.  I don't see it in egcs yet, you will have to ask law why
> not.  I suspect this patch will cure the problem you had, let us know
> if it does.  You can get it via the web archive of egcs-patches.
Ta,

> You must use a unique --prefix, if you want to install multiple
> compilers.  Ignore people that say otherwise is my advice.

> For shortcut names like this, you can ln -s
> /home/staff/nathan/solaris/local/egcs-980701/bin/g++ to
> /home/staff/nathan/solaris/local/bin/egcs++.  In this case, prefix
> would be /home/staff/nathan/solaris/local/egcs-980701.

Ah, I'd misunderstood how --program-prefix worked. I'd assumed it worked
like
	<exec-prefix>/<program-prefix><program>
I.e. wedged between the exec prefix and the program name.

If I now understand correctly, --program-prefix overrides --exec-prefix.
This behaviour is at odds with what the autoconf info tells me,
	`--program-prefix=PREFIX'
	     prepend PREFIX to the names;


nathan
-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
      You can up the bandwidth, but you can't up the speed of light      
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk


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