GCJ and $PREFIX/include revisited

Gabriel Dos Reis gdr@integrable-solutions.net
Thu Dec 18 20:12:00 GMT 2003


Tom Tromey <tromey@redhat.com> writes:

| >>>>> "Gerald" == Gerald Pfeifer <gerald@pfeifer.com> writes:
| 
| Gerald> The c++ headers are now nicely versioned, in c++/3.4/, but the java
| Gerald> headers still are put directly into $PREFIX.  How about doing something
| Gerald> like java/3.4 or gcj/3.4 in parallel to c++?
| 
| Gerald> And do we really need ffi.h and jvmpi.h there?
| 
| While talking with a couple folks about this on irc, I realized I
| don't understand why we don't change the layout a bit to get versioned
| headers for everything all at once.
| 
| I.e., instead of $(includedir)/c++/$(version), $(includedir)/gcj/$(version),
| etc, why not make $(includedir)/$(version)/ as the base, and then
| install headers directly under that?

you probably want $(includedir)/GCC-$(version)/
                                ^^^^

The reason we did not do that in the first place, is mostly
historical: The need for versioned headers was pressing in V3 land,
but at the time no other library seemed to be in the same position as
V3, so we did feel the urge to go on colonizing other library
install machinery :-) 

-- Gaby



More information about the Java mailing list