delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
X-YMail-OSG: | lPvtz2YVM1kPKQh_eKO9QFpHTkdK7ooTB7OZudKiKNlVsrDi7gE.twWyGrevQWfx8_FkY0j7RcmlM0hHdAxxtfd5tQ.kF49opbct23RuM.wNBiJA6qjepn1W_JgLGOh61iE- |
X-Yahoo-Newman-Property: | ymail-3 |
Message-ID: | <4840840D.1050002@sbcglobal.net> |
Date: | Sat, 31 May 2008 07:47:41 +0900 |
From: | Tim Prince <TimothyPrince AT sbcglobal DOT net> |
Reply-To: | tprince AT computer DOT org |
User-Agent: | Thunderbird 2.0.0.12 (X11/20080226) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Cygwin - linker errors - __assert, __itob and __ftol |
References: | <4ae9b89d0805301549i5ee30654l5f6335544ea38780 AT mail DOT gmail DOT com> <483FD5BB DOT 3090902 AT sbcglobal DOT net> <4ae9b89d0805302227h1960c883p3674ec363a9f2d46 AT mail DOT gmail DOT com> |
In-Reply-To: | <4ae9b89d0805302227h1960c883p3674ec363a9f2d46@mail.gmail.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
C S wrote: > i did not know about gcj. i guess i missed that somehow? thanks for the tip. > > my command line right now is: > > gcj -D__int64="long long" -shared -I C:\Apps\Java\jdk1.6.0_05\include > -I C:\Apps\Java\jdk1.6.0_05\include\win32 -I C:\Users\usmsci\My > Documents\shapefiles\shapelib-1.2.10\shapelib-1.2.10 -I > C:\Users\usmsci\My Documents\shapefiles\shapelib128_bin_win -L > c:\Users\usmsci\My Documents\shapefiles\shapelib128_bin_win > fileName.cpp -o libShapeData.dll c:\Users\usmsci\My > Documents\shapefiles\shapelib128_bin_win\shpopen.o c:\Users\usmsci\My > Documents\shapefiles\shapelib128_bin_win\dbfopen.o > > the error i get is: gcj: cannot specify -D without --main what do i > need to do to remedy this? thanks!!! This cygwin list may not accept discussions about gcj specifics which might be handled better on the gcc-help list. I'm not expert enough to explain why --main may be required when making a .dll, but I guess it wants to know the entry function. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |