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/