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: GCJ and $PREFIX/include


On Mon, 4 May 2003, Anthony Green wrote:
>> The issue is that one may want to have gcc 3.1, 3.2.3, and 3.3-snapshot
>> installed all at the same time.  With the positioning of the Java bits,
>> they stomp on top of each other.
> It's not just that.  Cross compilers (rightly) don't look in
> $PREFIX/include, so you can't properly build CNI code with a cross g++.
> We discussed this recently (see this thread:
> http://gcc.gnu.org/ml/java/2003-04/msg00243.html ), and were wondering
> if it would be OK to put the headers in $PREFIX/include/c++/VERSION.

This looks like a solution to the problem you are seeing for cross-
compiles _and_ it solves David's problem as well, _and_ it is cheap
in that we won't have to tweak include path. ;-)

I like it, and am definitely looking forward to the patch you mentioned!

Benjamin, do you have any objections?

Gerald
-- 
Gerald "Jerry"   pfeifer@dbai.tuwien.ac.at   http://www.pfeifer.com/gerald/


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