Where to install CNI headers

Tom Tromey tromey@redhat.com
Wed Apr 23 05:31:00 GMT 2003


>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:

Anthony> CNI headers are always installed in $(DESTDIR)$(includedir).  This is
Anthony> wrong because cross compilers never (and shouldn't) search this
Anthony> directory.  

Anthony> When building a cross, I suggest we install the headers in
Anthony> $(DESTDIR)$(target_alias)/include for the simple reasons that
Anthony> 1) g++ crosses already search there, and
Anthony> 2) at least one of the headers really is target dependent.

I didn't want to let this drop, but I don't have the cycles to do the
research on it.

I did manage to realize it doesn't matter to me where the headers
actually end up, provided g++ finds them without any special options.
That's the important bit, I think.

Where does libstdc++ install things for a cross?
Precedents make decisions easier...

Tom



More information about the Java mailing list