This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: CNI problem on MS Windows (GCC 3.4)
- From: "Amir Bukhari" <ufz6 at rz dot uni-karlsruhe dot de>
- To: <java at gcc dot gnu dot org>
- Date: Mon, 23 May 2005 10:36:06 +0200
- Subject: RE: CNI problem on MS Windows (GCC 3.4)
> -----Original Message-----
> From: Ranjit Mathew [mailto:rmathew@gmail.com]
> Sent: Monday, May 23, 2005 9:21 AM
> To: Amir Bukhari
> Cc: java@gcc.gnu.org
> Subject: Re: CNI problem on MS Windows (GCC 3.4)
>
> Amir Bukhari wrote:
> >
> >>Amir> I am try to learn CNI. I have just tried a very simple example:
> >>Amir> I compiled it like c++ test.cc -lgcj
> >>Amir> but I got a number of undefined reference like
>
> Use "gcj" to compile it instead of "g++" or "c++", like so:
>
> gcj test.cc
>
This work.
But why I should gcj to compile this. Did gcj support C++?
-Amir