This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: Where to install CNI headers


>>>>> "Anthony" == Anthony Green <green at redhat dot 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


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