Is -V still supported/sane/useful?

N8TM@aol.com N8TM@aol.com
Fri Feb 4 09:23:00 GMT 2000


>I know that the -V option can be
> passed to the driver to override the default version.  >But what about all
> the stuff that's outside of >..../gcc-lib/PLATFORM/VERSION?  If he installs
> the newer version on top of the older one, will >critical stuff from 2.8.1
> be zapped? 

On my installations, the PLATFORM name has changed from the original gcc installations to gcc-2.95.2 and 2.96. e.g. from i386-linux-gnu to i686-pc-linux-gnu or from i586-cygwin32 to i586-pc-cygwin32. There are directories such as ..../oldPLATFORM/include and ..../oldPLATFORM/lib which are retained, so I suppose in principle I would need to configure packages according to oldPLATFORM as well as specifying -V in order to use those versions.  I have set up symlinks so that the old version directory appears under .../gcc-lib/PLATFORM  In practice, I haven't had to configure this way, in a limited number of cases.  Evidently, I am picking up the new includes and libraries when I invoke the old compiler without taking such precautions.  Maybe the cross-compilation documentation is relevant to some of these issues.

Tim
tprince@computer.org


More information about the Gcc mailing list