public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* NFS mounted gcc on multiple OS versions
@ 1999-11-04 11:33 kevin_collins
  1999-11-09 10:58 ` Timothy J. Lee
  1999-11-30 23:28 ` kevin_collins
  0 siblings, 2 replies; 4+ messages in thread
From: kevin_collins @ 1999-11-04 11:33 UTC (permalink / raw)
  To: help-gcc

Hi all,

    I would appreciate any input on the following dilemma:

I have gcc installed under /usr/local on Solaris 2.5.1. and /usr/local
is exported to several other machines running 2.5.1, 2.6 and 2.7 (tho
not currently used). I am  in the process of upgrading our source
management software from PVCS 5.3 to PVCS 6.5. PVCS 6.5 does not run on
Solaris 2.5.1.

I am getting a large amount of 'parse error' messages when I try
building from a Solaris 2.7 system. I have determined that this problem
is due to the fact that gcc creates "fixed" versions of system include
files to resolve ANSI-C issues.

I would like to be able to just create the "fixed" include files for 2.6
and 2.7 and let gcc know about them, but I am not sure if it is possible
for gcc to deal with these files for multiple versions of the OS.

I can't install gcc into another location easily because all the
makefiles point to /usr/local/gcc/bin and we have a large codebase.

Anyone have a solution or any experience good, bad or indifferent
related to this scenario?

Thanks,

Kevin



Sent via Deja.com http://www.deja.com/
Before you buy.

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

* Re: NFS mounted gcc on multiple OS versions
  1999-11-04 11:33 NFS mounted gcc on multiple OS versions kevin_collins
@ 1999-11-09 10:58 ` Timothy J. Lee
  1999-11-30 23:28   ` Timothy J. Lee
  1999-11-30 23:28 ` kevin_collins
  1 sibling, 1 reply; 4+ messages in thread
From: Timothy J. Lee @ 1999-11-09 10:58 UTC (permalink / raw)
  To: help-gcc

kevin_collins@my-deja.com writes:
|I have gcc installed under /usr/local on Solaris 2.5.1. and /usr/local
|is exported to several other machines running 2.5.1, 2.6 and 2.7 (tho
|not currently used). I am  in the process of upgrading our source
|management software from PVCS 5.3 to PVCS 6.5. PVCS 6.5 does not run on
|Solaris 2.5.1.
|
|I am getting a large amount of 'parse error' messages when I try
|building from a Solaris 2.7 system. I have determined that this problem
|is due to the fact that gcc creates "fixed" versions of system include
|files to resolve ANSI-C issues.
|
|I would like to be able to just create the "fixed" include files for 2.6
|and 2.7 and let gcc know about them, but I am not sure if it is possible
|for gcc to deal with these files for multiple versions of the OS.

Would copying all of the 2.5.1 (stock, not gcc-fixed) include files and
libraries into /usr/local/sparc-sun-solaris2.5.1/{include,lib} do what
you want? That would have the effect of getting gcc to always use the
include files and libraries for 2.5.1 -- effectively making gcc a cross
compiler when run on a 2.6 or 7 system (host 2.6 or 7, target 2.5.1).
Binaries made by that gcc should theoretically run on 2.5.1 or any
newer Solaris on the same type of processor.

Longer term, you may want to separate the shared executable / library
directories (while giving the newer OSes access to the older OSes'
directories so that they can execute them in binary compatibility mode).

--
------------------------------------------------------------------------
Timothy J. Lee                                                   timlee@
Unsolicited bulk or commercial email is not welcome.             netcom.com
No warranty of any kind is provided with this message.

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

* Re: NFS mounted gcc on multiple OS versions
  1999-11-09 10:58 ` Timothy J. Lee
@ 1999-11-30 23:28   ` Timothy J. Lee
  0 siblings, 0 replies; 4+ messages in thread
From: Timothy J. Lee @ 1999-11-30 23:28 UTC (permalink / raw)
  To: help-gcc

kevin_collins@my-deja.com writes:
|I have gcc installed under /usr/local on Solaris 2.5.1. and /usr/local
|is exported to several other machines running 2.5.1, 2.6 and 2.7 (tho
|not currently used). I am  in the process of upgrading our source
|management software from PVCS 5.3 to PVCS 6.5. PVCS 6.5 does not run on
|Solaris 2.5.1.
|
|I am getting a large amount of 'parse error' messages when I try
|building from a Solaris 2.7 system. I have determined that this problem
|is due to the fact that gcc creates "fixed" versions of system include
|files to resolve ANSI-C issues.
|
|I would like to be able to just create the "fixed" include files for 2.6
|and 2.7 and let gcc know about them, but I am not sure if it is possible
|for gcc to deal with these files for multiple versions of the OS.

Would copying all of the 2.5.1 (stock, not gcc-fixed) include files and
libraries into /usr/local/sparc-sun-solaris2.5.1/{include,lib} do what
you want? That would have the effect of getting gcc to always use the
include files and libraries for 2.5.1 -- effectively making gcc a cross
compiler when run on a 2.6 or 7 system (host 2.6 or 7, target 2.5.1).
Binaries made by that gcc should theoretically run on 2.5.1 or any
newer Solaris on the same type of processor.

Longer term, you may want to separate the shared executable / library
directories (while giving the newer OSes access to the older OSes'
directories so that they can execute them in binary compatibility mode).

--
------------------------------------------------------------------------
Timothy J. Lee                                                   timlee@
Unsolicited bulk or commercial email is not welcome.             netcom.com
No warranty of any kind is provided with this message.

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

* NFS mounted gcc on multiple OS versions
  1999-11-04 11:33 NFS mounted gcc on multiple OS versions kevin_collins
  1999-11-09 10:58 ` Timothy J. Lee
@ 1999-11-30 23:28 ` kevin_collins
  1 sibling, 0 replies; 4+ messages in thread
From: kevin_collins @ 1999-11-30 23:28 UTC (permalink / raw)
  To: help-gcc

Hi all,

    I would appreciate any input on the following dilemma:

I have gcc installed under /usr/local on Solaris 2.5.1. and /usr/local
is exported to several other machines running 2.5.1, 2.6 and 2.7 (tho
not currently used). I am  in the process of upgrading our source
management software from PVCS 5.3 to PVCS 6.5. PVCS 6.5 does not run on
Solaris 2.5.1.

I am getting a large amount of 'parse error' messages when I try
building from a Solaris 2.7 system. I have determined that this problem
is due to the fact that gcc creates "fixed" versions of system include
files to resolve ANSI-C issues.

I would like to be able to just create the "fixed" include files for 2.6
and 2.7 and let gcc know about them, but I am not sure if it is possible
for gcc to deal with these files for multiple versions of the OS.

I can't install gcc into another location easily because all the
makefiles point to /usr/local/gcc/bin and we have a large codebase.

Anyone have a solution or any experience good, bad or indifferent
related to this scenario?

Thanks,

Kevin



Sent via Deja.com http://www.deja.com/
Before you buy.

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

end of thread, other threads:[~1999-11-30 23:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-04 11:33 NFS mounted gcc on multiple OS versions kevin_collins
1999-11-09 10:58 ` Timothy J. Lee
1999-11-30 23:28   ` Timothy J. Lee
1999-11-30 23:28 ` kevin_collins

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