public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Change prefix to re-install
@ 1999-05-21  5:57 Christopher R. Jones
  1999-05-22 14:20 ` Jeffrey A Law
  1999-05-31 21:36 ` Christopher R. Jones
  0 siblings, 2 replies; 4+ messages in thread
From: Christopher R. Jones @ 1999-05-21  5:57 UTC (permalink / raw)
  To: egcs

I compiled and installed egcs-1.1.2 on a Pentium Pro, Solaris 7.  I did not
use the default prefix as gcc was already installed in /usr/local .  Now is
looks like a lot of work to get the system to use egcs instead of gcc. What
is easier, changing prefix in the Makefile and using make install or
creating all the symbolic links?  

I used --prefix=/usr/local/egcs

My concern is getting the system to use the include files and libraries
created by egcs.


Christopher R. Jones, P.Eng.
14 Oneida Avenue
Toronto, Ontario M5J 2E3
Tel. 416 203-7465
Fax. 416 203-3044
Email cj@interlog.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change prefix to re-install
  1999-05-21  5:57 Change prefix to re-install Christopher R. Jones
@ 1999-05-22 14:20 ` Jeffrey A Law
  1999-05-31 21:36   ` Jeffrey A Law
  1999-05-31 21:36 ` Christopher R. Jones
  1 sibling, 1 reply; 4+ messages in thread
From: Jeffrey A Law @ 1999-05-22 14:20 UTC (permalink / raw)
  To: Christopher R. Jones; +Cc: egcs

  In message < 3.0.32.19990521085848.00991320@mail.interlog.com >you write:
  > I compiled and installed egcs-1.1.2 on a Pentium Pro, Solaris 7.  I did not
  > use the default prefix as gcc was already installed in /usr/local .  Now is
  > looks like a lot of work to get the system to use egcs instead of gcc. What
  > is easier, changing prefix in the Makefile and using make install or
  > creating all the symbolic links?  
  > 
  > I used --prefix=/usr/local/egcs
  > 
  > My concern is getting the system to use the include files and libraries
  > created by egcs.
If you change the prefix you will need to rebuild -- just reinstalling will
not work.

I've done it both ways.  Using --prefix=/usr is more convienent over time
(since it overwrites the old crufty compiler).  But you should only do this
if you are comfortable completely replacing your system compiler.

Else you should use --prefix to install egcs into its own location.  You
can then make a symlink in /usr/bin to the various binaries like gcc, g++,
g77, etc etc.  This will work fine too.


jeff

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change prefix to re-install
  1999-05-22 14:20 ` Jeffrey A Law
@ 1999-05-31 21:36   ` Jeffrey A Law
  0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey A Law @ 1999-05-31 21:36 UTC (permalink / raw)
  To: Christopher R. Jones; +Cc: egcs

  In message < 3.0.32.19990521085848.00991320@mail.interlog.com >you write:
  > I compiled and installed egcs-1.1.2 on a Pentium Pro, Solaris 7.  I did not
  > use the default prefix as gcc was already installed in /usr/local .  Now is
  > looks like a lot of work to get the system to use egcs instead of gcc. What
  > is easier, changing prefix in the Makefile and using make install or
  > creating all the symbolic links?  
  > 
  > I used --prefix=/usr/local/egcs
  > 
  > My concern is getting the system to use the include files and libraries
  > created by egcs.
If you change the prefix you will need to rebuild -- just reinstalling will
not work.

I've done it both ways.  Using --prefix=/usr is more convienent over time
(since it overwrites the old crufty compiler).  But you should only do this
if you are comfortable completely replacing your system compiler.

Else you should use --prefix to install egcs into its own location.  You
can then make a symlink in /usr/bin to the various binaries like gcc, g++,
g77, etc etc.  This will work fine too.


jeff

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Change prefix to re-install
  1999-05-21  5:57 Change prefix to re-install Christopher R. Jones
  1999-05-22 14:20 ` Jeffrey A Law
@ 1999-05-31 21:36 ` Christopher R. Jones
  1 sibling, 0 replies; 4+ messages in thread
From: Christopher R. Jones @ 1999-05-31 21:36 UTC (permalink / raw)
  To: egcs

I compiled and installed egcs-1.1.2 on a Pentium Pro, Solaris 7.  I did not
use the default prefix as gcc was already installed in /usr/local .  Now is
looks like a lot of work to get the system to use egcs instead of gcc. What
is easier, changing prefix in the Makefile and using make install or
creating all the symbolic links?  

I used --prefix=/usr/local/egcs

My concern is getting the system to use the include files and libraries
created by egcs.


Christopher R. Jones, P.Eng.
14 Oneida Avenue
Toronto, Ontario M5J 2E3
Tel. 416 203-7465
Fax. 416 203-3044
Email cj@interlog.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-05-31 21:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-05-21  5:57 Change prefix to re-install Christopher R. Jones
1999-05-22 14:20 ` Jeffrey A Law
1999-05-31 21:36   ` Jeffrey A Law
1999-05-31 21:36 ` Christopher R. Jones

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).