X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0	tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <30468379.post@talk.nabble.com>
Date: Wed, 15 Dec 2010 14:03:57 -0800 (PST)
From: gviewer <marlonmin@gmail.com>
To: cygwin@cygwin.com
Subject: Re: mingw-targeted cross-compiler question
In-Reply-To: <AANLkTimGmtaoUvEBCgNXQR7Sg6zbBrMdt5TM9hchVOc3@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
References: <30467239.post@talk.nabble.com> <AANLkTi==cVmy4Z=Ya26Et=xVNE4NRDr9ouEHXcBuE24x@mail.gmail.com> <30467813.post@talk.nabble.com> <AANLkTi=uDYKEfWTY+C2pg7=Boy8tmosi+JmBfyq=nSRJ@mail.gmail.com> <30467974.post@talk.nabble.com> <AANLkTimGmtaoUvEBCgNXQR7Sg6zbBrMdt5TM9hchVOc3@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


Yes, That problem got solved. But now I got a new problem:
"fatal error, jni.h, no such file or directory"

The jni.h is included in a .h c file.

What's going on?=20



NightStrike wrote:
>=20
> On Wed, Dec 15, 2010 at 4:10 PM, gviewer <marlonmin@gmail.com> wrote:
>>
>> Thanks for explanation. =C2=A0I checked the Make file, and here it is:
>>
>> CFLAGS =3D -O3 -Wimplicit
>> ...
>> gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols
>> ${BRILL_INCLUDES} -I ${JAVA_HOME}/include/ -I ${JAVA_HOME}/include/win32
>> -shared -o lib/BTagger.dll ${BRILL_JAVA_BASE}/*.c ${BRILL_SRC}
>>
>> This is a Java wrapper around a C/C++ library. Can you help have a look
>> and
>> see if there is an easy change to the "gcc -mno-cygwin ..." part? I am
>> using
>> Windows 7 64-bit machine.
>> Thanks.
>=20
> Well, like I said.. install the cross compiler package and edit that
> line to say what you need it to say.
>=20
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>=20
>=20
>=20

--=20
View this message in context: http://old.nabble.com/mingw-targeted-cross-co=
mpiler-question-tp30467239p30468379.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

