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

2008-05-31 Thread Brian Dessent
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:\Users\usmsci\My > Documents\shapefiles\shapelib128_bin_win -L\c:\Users\usmsci\My > Documents\shapefiles\shapelib128_bin_win myFile.cpp -o > libShapeData.dll c:\Users

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

2008-05-31 Thread Tim Prince
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\shapel

Permission Denied

2008-05-31 Thread Jaspreet Singh
hi guys, here's THE thing i installed cygwin with tar, make and perl as Administrator. then i created virtual user "root" in /etc/passwd copy of Administrator user in Windows uid 0 and there was already "root" group in /etc/group gid 0. Now the problem is that when i logon as administartor (as

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

2008-05-31 Thread Dave Korn
Tim Prince wrote on 30 May 2008 23:48: > C S wrote: >> gcj -D__int64="long long" -shared -I C:\Apps\Java\jdk1.6.0_05\include >> the error i get is: gcj: cannot specify -D without --main > might be handled better on the gcc-help list. I'm not expert enough to > explain why --main may be requi

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

2008-05-31 Thread C S
thanks for the tip Brian. i thought that i had tried to -mno-cygwin option before but maybe i did not. i have a script file set up now with that command option: $g++ -mno-cygwin -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:\U

Snapshot - 2008-05-30

2008-05-31 Thread ERIC HO
I tried out snapshot 2008-05-30 and I got the following messages when getting into cygwin: bash: /usr/bin/tr: No such file or directory bash: /usr/bin/sed: No such file or directory bash: /usr/bin/tty: No such file or directory If I use RXVT, I got another pop up screen with the message: Huh? No

Re: rsh from linux to windows2003 server

2008-05-31 Thread Igor Peshansky
First off, . Not only will you get access to more expertise than any one person can provide, but your query and the answers to it will be archived on the web for everyone to see. On Fri, 30 May 2008, Xiao Qing Liu wrote: > Sir: > I meet a issue: > > rsh 4

Re: Snapshot - 2008-05-30

2008-05-31 Thread Christopher Faylor
On Sat, May 31, 2008 at 01:26:35PM -0600, ERIC HO wrote: >I tried out snapshot 2008-05-30 and I got the following messages when getting >into cygwin: >bash: /usr/bin/tr: No such file or directory >bash: /usr/bin/sed: No such file or directory >bash: /usr/bin/tty: No such file or directory > >If I

Re: Snapshot - 2008-05-30

2008-05-31 Thread ERIC HO
I did not know that the latest snapshot is for 1.7.x series of cygwin. Anyway, I created /etc/fstab and I don't have the 3 messages on finding things like /usr/bin. I also don't have a pop-up window on no /etc/fstab file. But after I get into rxvt and entering the following commands: pwd cd