* Re: would a gcc by any other name still smell?
@ 1997-11-25 7:28 Kate Hedstrom
1997-11-25 23:34 ` Manfred.Hollstein
0 siblings, 1 reply; 11+ messages in thread
From: Kate Hedstrom @ 1997-11-25 7:28 UTC (permalink / raw)
To: egcs, rittle; +Cc: tim
> > Doing it is just as easy as having two FSF gcc versions around. On
> > our machines here, I have 2.7.2 as the default gcc, and if I want
> > egcs, I use 'gcc -V egcs-2.90.17'. works like a charm.
>
> Unfortunately, this solution does not work so great. The standard C++
> libraries are located at the exact same location on the file system
> for both compiler versions by default.
My problem is more with the C++ include files. If you leave the 2.7.2
ones lying around in /usr/local/lib/g++-include, they are found before
the egcs ones in /usr/local/include/g++. I have had to delete the old
ones or use a different --prefix for one of the versions. Any other
solutions?
Kate
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: would a gcc by any other name still smell?
1997-11-25 7:28 would a gcc by any other name still smell? Kate Hedstrom
@ 1997-11-25 23:34 ` Manfred.Hollstein
0 siblings, 0 replies; 11+ messages in thread
From: Manfred.Hollstein @ 1997-11-25 23:34 UTC (permalink / raw)
To: kate; +Cc: egcs, rittle, tim
On Tue, 25 November 1997, 08:59:18, kate@ahab.rutgers.edu wrote:
> > Doing it is just as easy as having two FSF gcc versions around. On
> > our machines here, I have 2.7.2 as the default gcc, and if I want
> > egcs, I use 'gcc -V egcs-2.90.17'. works like a charm.
>
> Unfortunately, this solution does not work so great. The standard C++
> libraries are located at the exact same location on the file system
> for both compiler versions by default.
My problem is more with the C++ include files. If you leave the 2.7.2
ones lying around in /usr/local/lib/g++-include, they are found before
the egcs ones in /usr/local/include/g++. I have had to delete the old
ones or use a different --prefix for one of the versions. Any other
solutions?
Yes, see < http://www.cygnus.com/ml/egcs-bugs/1997-Oct/0197.html >.
--
Manfred Hollstein Alcatel, Dept. US/EC4
< mailto:Manfred.Hollstein@ks.sel.alcatel.de > Lorenzstrasse 10
70435 Stuttgart
Public PGP key on request Germany
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: would a gcc by any other name still smell?
1997-11-24 0:32 ` Per Bothner
@ 1997-11-24 23:19 ` Martin von Loewis
0 siblings, 0 replies; 11+ messages in thread
From: Martin von Loewis @ 1997-11-24 23:19 UTC (permalink / raw)
To: bothner; +Cc: egcs
> [I won't go into details, but the answer involves configuring with
> different values of --prefix, plus appropriate use of symlinks and PATH.
> Using the program-transform feature may also be useful, but
> I don't know the details of that.]
In particular, I think --program-suffix=3 might work well, although
I did not test that (it should give you gcc3).
Regards,
Martin
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: would a gcc by any other name still smell?
1997-11-24 10:12 ` Tim Hollebeek
@ 1997-11-24 23:03 ` Loren J. Rittle
0 siblings, 0 replies; 11+ messages in thread
From: Loren J. Rittle @ 1997-11-24 23:03 UTC (permalink / raw)
To: egcs; +Cc: tim
In article < 199711241802.NAA06983@franck.Princeton.EDU >,
Tim Hollebeek <tim@wagner.princeton.edu> writes:
> Doing it is just as easy as having two FSF gcc versions around. On
> our machines here, I have 2.7.2 as the default gcc, and if I want
> egcs, I use 'gcc -V egcs-2.90.17'. works like a charm.
Unfortunately, this solution does not work so great. The standard C++
libraries are located at the exact same location on the file system
for both compiler versions by default.
My next e-mail contains a useful patch to this problem going forward.
Regards,
Loren
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: would a gcc by any other name still smell?
1997-11-23 15:15 Robert Lipe
1997-11-24 0:32 ` Per Bothner
1997-11-24 0:32 ` Jeffrey A Law
@ 1997-11-24 10:12 ` Tim Hollebeek
1997-11-24 23:03 ` Loren J. Rittle
2 siblings, 1 reply; 11+ messages in thread
From: Tim Hollebeek @ 1997-11-24 10:12 UTC (permalink / raw)
To: Robert Lipe; +Cc: egcs
Robert Lipe writes ...
>
> (or something like that. :-)
>
> If you type 'make install' on egcs, you get a c compiler that
> calls itself 'gcc'.
>
> If we do this, we're damned because it's not the FSF release and
> it would make it difficult to have both EGCS and GCC installed at
> the same time.
Doing it is just as easy as having two FSF gcc versions around. On
our machines here, I have 2.7.2 as the default gcc, and if I want
egcs, I use 'gcc -V egcs-2.90.17'. works like a charm.
---------------------------------------------------------------------------
Tim Hollebeek | "Everything above is a true
email: tim@wfn-shop.princeton.edu | statement, for sufficiently
URL: http://wfn-shop.princeton.edu/~tim | false values of true."
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: would a gcc by any other name still smell?
1997-11-24 0:32 ` Jeffrey A Law
@ 1997-11-24 10:12 ` Joe Buck
1997-11-24 10:11 ` Jeffrey A Law
1997-11-24 10:12 ` Robert Lipe
0 siblings, 2 replies; 11+ messages in thread
From: Joe Buck @ 1997-11-24 10:12 UTC (permalink / raw)
To: law; +Cc: robertl, egcs
> > If we do this, we're damned because it's not the FSF release and
> > it would make it difficult to have both EGCS and GCC installed at
> > the same time.
Use different paths for the two compilers. e.g. configure the egcs
compiler as --prefix=/usr/local/egcs , and then if you like, say
ln -s /usr/local/egcs/bin/gcc /usr/local/bin/egcs-gcc
> You can install them both, the version #s are different (on purpose) and
> select them via -V switches -- similarl to using gcc -V 2.6.3 or gcc -V 2.7.2
> to select gcc-2.6.3 or gcc-2.7.2.
Beware -- the -V switch isn't going to work if you're also trying to
switch between two different versions of the C++ library.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: would a gcc by any other name still smell?
1997-11-24 10:12 ` Joe Buck
1997-11-24 10:11 ` Jeffrey A Law
@ 1997-11-24 10:12 ` Robert Lipe
1 sibling, 0 replies; 11+ messages in thread
From: Robert Lipe @ 1997-11-24 10:12 UTC (permalink / raw)
To: egcs
> > > If we do this, we're damned because it's not the FSF release and
> > > it would make it difficult to have both EGCS and GCC installed at
> > > the same time.
There have been multiple responses to this that are all technically
correct and obvious to many on this list, but not the unwashed masses.
> Use different paths for the two compilers. e.g. configure the egcs
> compiler as --prefix=/usr/local/egcs , and then if you like, say
The point is that it's "difficult" becuase it requires a non-zero
amount of user intervention and violate the "principle of least
suprise" when typing 'configure ; make all install' clobbers the
user's installed other compiler. (Or a make all install of that
other one clobbers parts of egcs.)
I don't see a particularly appealing solution at this point, but I
think we should at least mention it somewhere so when the user screws
their system, we can point to a file and say "Told you so". :-)
RJL
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: would a gcc by any other name still smell?
1997-11-24 10:12 ` Joe Buck
@ 1997-11-24 10:11 ` Jeffrey A Law
1997-11-24 10:12 ` Robert Lipe
1 sibling, 0 replies; 11+ messages in thread
From: Jeffrey A Law @ 1997-11-24 10:11 UTC (permalink / raw)
To: Joe Buck; +Cc: robertl, egcs
In message < 199711241739.JAA20497@atrus.synopsys.com >you write:
>
> > > If we do this, we're damned because it's not the FSF release and
> > > it would make it difficult to have both EGCS and GCC installed at
> > > the same time.
>
> Use different paths for the two compilers. e.g. configure the egcs
> compiler as --prefix=/usr/local/egcs , and then if you like, say
>
> ln -s /usr/local/egcs/bin/gcc /usr/local/bin/egcs-gcc
Yup. Another approach. Probably better because of the C++ library issues
that I forgot about.
I'll see what kind of verbage I can come up with for this one :-)
jeff
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: would a gcc by any other name still smell?
1997-11-23 15:15 Robert Lipe
@ 1997-11-24 0:32 ` Per Bothner
1997-11-24 23:19 ` Martin von Loewis
1997-11-24 0:32 ` Jeffrey A Law
1997-11-24 10:12 ` Tim Hollebeek
2 siblings, 1 reply; 11+ messages in thread
From: Per Bothner @ 1997-11-24 0:32 UTC (permalink / raw)
To: egcs
Robert Lipe <robertl@dgii.com> wrote:
> If we do this, we're damned because it's not the FSF release and
> it would make it difficult to have both EGCS and GCC installed at
> the same time.
Perhaps this should be listed as an FAQ:
Q: How do I install two different versions of Gcc (such as an experimental
version as well as a stable version)?
[I won't go into details, but the answer involves configuring with
different values of --prefix, plus appropriate use of symlinks and PATH.
Using the program-transform feature may also be useful, but
I don't know the details of that.]
--Per Bothner
Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: would a gcc by any other name still smell?
1997-11-23 15:15 Robert Lipe
1997-11-24 0:32 ` Per Bothner
@ 1997-11-24 0:32 ` Jeffrey A Law
1997-11-24 10:12 ` Joe Buck
1997-11-24 10:12 ` Tim Hollebeek
2 siblings, 1 reply; 11+ messages in thread
From: Jeffrey A Law @ 1997-11-24 0:32 UTC (permalink / raw)
To: Robert Lipe; +Cc: egcs
In message < 19971123152653.61402@dgii.com >you write:
> If you type 'make install' on egcs, you get a c compiler that
> calls itself 'gcc'.
Correct.
> If we do this, we're damned because it's not the FSF release and
> it would make it difficult to have both EGCS and GCC installed at
> the same time.
Kinda. That's life. We discussed changing the install name, but it doesn't
seem to be the right thing to do at this time. Depending on where all the
pieces fall this can be revisited in the future.
> Has a plan been forumalated? Are we going to force users to either
> choose or the other or use a funky build process for one or the other?
You can install them both, the version #s are different (on purpose) and
select them via -V switches -- similarl to using gcc -V 2.6.3 or gcc -V 2.7.2
to select gcc-2.6.3 or gcc-2.7.2.
jeff
^ permalink raw reply [flat|nested] 11+ messages in thread
* would a gcc by any other name still smell?
@ 1997-11-23 15:15 Robert Lipe
1997-11-24 0:32 ` Per Bothner
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Robert Lipe @ 1997-11-23 15:15 UTC (permalink / raw)
To: egcs
(or something like that. :-)
If you type 'make install' on egcs, you get a c compiler that
calls itself 'gcc'.
If we do this, we're damned because it's not the FSF release and
it would make it difficult to have both EGCS and GCC installed at
the same time.
If we don't do this, we're damned becuase so many pacages expect
the "good" compiler to be named 'gcc' and favor it over anything
else it finds.
Has a plan been forumalated? Are we going to force users to either
choose or the other or use a funky build process for one or the other?
RJL
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~1997-11-25 23:34 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-25 7:28 would a gcc by any other name still smell? Kate Hedstrom
1997-11-25 23:34 ` Manfred.Hollstein
-- strict thread matches above, loose matches on Subject: below --
1997-11-23 15:15 Robert Lipe
1997-11-24 0:32 ` Per Bothner
1997-11-24 23:19 ` Martin von Loewis
1997-11-24 0:32 ` Jeffrey A Law
1997-11-24 10:12 ` Joe Buck
1997-11-24 10:11 ` Jeffrey A Law
1997-11-24 10:12 ` Robert Lipe
1997-11-24 10:12 ` Tim Hollebeek
1997-11-24 23:03 ` Loren J. Rittle
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).