Re: posix and win32 enviornment

2003-07-10 Thread Igor Pechtchanski
On Wed, 9 Jul 2003, Andrew DeFaria wrote: > Igor Pechtchanski wrote: > > On Mon, 7 Jul 2003, Andrew DeFaria wrote: > >> Shankar Unni wrote: > >>> Igor Pechtchanski wrote: > >>> > [...] you'll be using the MinGW libraries, and your program will > not understand POSIX paths (i.e., you'll h

Re: posix and win32 enviornment

2003-07-09 Thread Andrew DeFaria
Igor Pechtchanski wrote: On Mon, 7 Jul 2003, Andrew DeFaria wrote: Shankar Unni wrote: Igor Pechtchanski wrote: [...] you'll be using the MinGW libraries, and your program will not understand POSIX paths (i.e., you'll have to use Win32 ones). Well, to be totally, utterly nitpicky, I believe "/

Re: posix and win32 enviornment

2003-07-08 Thread Igor Pechtchanski
On Mon, 7 Jul 2003, Andrew DeFaria wrote: > Shankar Unni wrote: > > > Igor Pechtchanski wrote: > > > >> [...] you'll be using the MinGW libraries, and your program will not > >> understand POSIX paths (i.e., you'll have to use Win32 ones). > > > > Well, to be totally, utterly nitpicky, I believe

Re: posix and win32 enviornment

2003-07-08 Thread Randall R Schulz
Andrew, At 14:48 2003-07-07, Andrew DeFaria wrote: Shankar Unni wrote: Igor Pechtchanski wrote: [...] you'll be using the MinGW libraries, and your program will not understand POSIX paths (i.e., you'll have to use Win32 ones). Well, to be totally, utterly nitpicky, I believe "/WinNT/System32"

Re: posix and win32 enviornment

2003-07-08 Thread Andrew DeFaria
Shankar Unni wrote: Igor Pechtchanski wrote: [...] you'll be using the MinGW libraries, and your program will not understand POSIX paths (i.e., you'll have to use Win32 ones). Well, to be totally, utterly nitpicky, I believe "/WinNT/System32" is a valid POSIX filename which will be understood

Re: posix and win32 enviornment

2003-07-07 Thread Shankar Unni
Igor Pechtchanski wrote: [...] you'll be using the MinGW libraries, and your program will not understand POSIX paths (i.e., you'll have to use Win32 ones). Well, to be totally, utterly nitpicky, I believe "/WinNT/System32" is a valid POSIX filename which will be understood by Win32 programs as we

Re: posix and win32 enviornment

2003-07-03 Thread Ronald Landheer-Cieslak
int main( void ) { #ifdef __CYGWIN__ // Cygwin printf( "I understand POSIX paths!\n" ); #elif defined( _WIN32 ) // Any other win32 printf( "I don't understand much of anything..\n" ); #else // Something else - probably POSIXly correct.. printf( "I und

Re: posix and win32 enviornment

2003-07-02 Thread Igor Pechtchanski
On Wed, 2 Jul 2003, Ling F. Zhang wrote: > I am writting a C program... > is there a way for me to know if the program is being > executed in win32 or posix cygwin so that I can use > the appropriate filesystem when referring files? It's very simple. If you use the Cygwin gcc, by default it link