This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Where to install CNI headers
- From: Tom Tromey <tromey at redhat dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: 22 Apr 2003 23:15:51 -0600
- Subject: Re: Where to install CNI headers
- References: <1050567298.3615.542.camel@escape>
- Reply-to: tromey at redhat dot com
>>>>> "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