Re: Cygwin - linker errors - __assert, __itob and __ftol

2008-06-03 Thread C S
-mingw32 and it returned 3.4.4 so that seems right. any clues or suggestions?? thanks all in advance! On Sat, May 31, 2008 at 6:26 AM, Brian Dessent [EMAIL PROTECTED] wrote: C S wrote: gcc -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

Re: Cygwin - linker errors - __assert, __itob and __ftol

2008-06-03 Thread C S
Dave K! On Tue, Jun 3, 2008 at 8:33 AM, Dave Korn [EMAIL PROTECTED] wrote: C S wrote on 03 June 2008 14:25: Brian, i figured out that not only do i need to compile against the no-cygwin flag but also link to it as well. so i tried to add the -Wl option like this: g++ -mno-cygwin

Re: Cygwin - linker errors - __assert, __itob and __ftol

2008-06-03 Thread C S
Dave - sorry i forgot to ask was there anything that i could try to get rid of those few undefined reference errors? thanks!! On Tue, Jun 3, 2008 at 8:49 AM, C S [EMAIL PROTECTED] wrote: my whole command line script is: g++ -mno-cygwin -D__int64=long long -Wl,-mno-cygwin -shared -I C:\Apps

Re: Cygwin - linker errors - __assert, __itob and __ftol

2008-05-31 Thread C S
to __imp___itob(auto_import) is there possibly another option that i need to add to the command line? thanks again for the help...!! chad On Sat, May 31, 2008 at 6:26 AM, Brian Dessent [EMAIL PROTECTED] wrote: C S wrote: gcc -D__int64=long long -shared -I\C:\Apps\Java\jdk1.6.0_05\include -I\C:\Apps

Cygwin - linker errors - __assert, __itob and __ftol

2008-05-30 Thread C S
hi all - i am trying to compile a C++ native library using the shapelibrary. the one for linux is built but in cygwin i seem to be having some linker error problems and i have to assume it has to do with something regarding MSVC. i am including Java because i am using JNI to talk back and forth to

Re: Cygwin - linker errors - __assert, __itob and __ftol

2008-05-30 Thread C S
of other related stuff. On Fri, May 30, 2008 at 5:23 AM, Tim Prince [EMAIL PROTECTED] wrote: C S wrote: hi all - i am trying to compile a C++ native library using the shapelibrary. the one for linux is built but in cygwin i seem to be having some linker error problems and i have to assume it has

Re: Cygwin - linker errors - __assert, __itob and __ftol

2008-05-30 Thread C S
it working in linux and mac. thanks again!! On Fri, May 30, 2008 at 5:23 AM, Tim Prince [EMAIL PROTECTED] wrote: C S wrote: hi all - i am trying to compile a C++ native library using the shapelibrary. the one for linux is built but in cygwin i seem to be having some linker error problems and i have