This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Properly setting the pkcconfig directory (was: Moving thepkgconfig directory from lib/ to libdata/?)


On Fri, 27 Oct 2005, Tom Tromey wrote:
>> our configure/build system really should be clever enough to 
>> automatically set pkgdatadir to the correct value in the first
>> place: $(prefix)/libdata/pkgconfig on FreeBSD, and $(libdir)/pkgconfig 
>> elsewhere.
> Are there other places where we try to auto-detect install directory
> names?  I don't know of any.

Strictly speaking $PREFIX/lib/gcc/$TARGET/ could qualify ;-), but in
the sense you probably have in mind, I'm not aware of any example.

> It would be simple to add something like --with-pkgdatadir to
> configure.  It sounds like you are talking about a build for a distro;
> requiring a configure option for that doesn't sound like a big deal
> (as presumably you already need --prefix=/usr among other things).

In principle it affects everyone build GCC on FreeBSD (and perhaps
other BSDs), but indeed the use case I'm having is the FreeBSD Ports
Collection which is basically a distro build.

Having such a configure option definitely would help!

Thanks,
Gerald


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]