[RFA] Remove -V

Geoff Keating geoffk@geoffk.org
Mon May 13 15:03:00 GMT 2002


> From: Jonathan Lennox <lennox@cs.columbia.edu>
> Date: Mon, 13 May 2002 17:32:03 -0400

> Alexandre Oliva wrote: 
> > Here's an idea for a trivial implementation: install the various
> > compilation drivers not only as say gcc and $(target)-gcc, but also as
> > gcc-$(version) and $(target)-gcc-$(version).
> 
> What about installed headers and libraries that don't go in versioned
> directories?  $(PREFIX)/include/g++-v3/*, $(PREFIX)/lib/libgcc_s.so, etc?

The headers should probably be named separately, possibly
$(PREFIX)/include/g++-v3-$(VERSION).

> I'd argue that header files should probably move under
> $(PREFIX)/gcc-lib/$(TARGET)/$(VERSION)/, but doing that for shared libraries
> is a lot more troublesome.

Shared libraries have their own version numbers, so they can stay
where they are.  (For instance, the latest libgcc_s.so should work
with earlier GCC versions.)

-- 
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>



More information about the Gcc-patches mailing list