Re: CygWin + gcc to build Windows application written in C.

2005-12-22 Thread Gerrit P. Haase
Christopher Faylor wrote: On Thu, Dec 15, 2005 at 05:45:40AM -0800, Tim Prince wrote: Piero Silvestri wrote: Thanks Brian, now -mwindows is clear to me, and the strange linker problem has gone, but I have one more question on -mno-cygwin option. When I installed the latest release of Cygwin

Re: CygWin + gcc to build Windows application written in C.

2005-12-15 Thread Christopher Faylor
On Thu, Dec 15, 2005 at 05:45:40AM -0800, Tim Prince wrote: >Piero Silvestri wrote: >>Brain wrote: >>>-mno-cygwin essentially turns gcc into the gcc provided by mingw.org. >>>Read the docs/wiki/faq/etc at that site for more information. Note >>>that when you use gcc -mno-cygwin your search paths w

Re: CygWin + gcc to build Windows application written in C.

2005-12-15 Thread Tim Prince
Tim Prince wrote: Going further on, more recent gfortran and libstdc++ versions employ __builtin_pow, and that is failing for my installation. I suppose I'll have to search for a work-around. They tell me __builtin_pow should have been taken care of in 'make bootstrap.' I'll have another g

Re: CygWin + gcc to build Windows application written in C.

2005-12-15 Thread Tim Prince
Piero Silvestri wrote: Brain wrote: -mno-cygwin essentially turns gcc into the gcc provided by mingw.org. Read the docs/wiki/faq/etc at that site for more information. Note that when you use gcc -mno-cygwin your search paths will be modified so that no Cygwin libraries/headers will be found, i

Re: CygWin + gcc to build Windows application written in C.

2005-12-15 Thread Brian Dessent
Piero Silvestri wrote: > But then I downloaded the gcc 4.0.2 sources, which I compiled in Cygwin with > the old gcc provided, so now I have a second version of gcc currently > working. The problem is that this version has some problem with > the -mno-cygwin option; if I use it when compiling I get

Re: CygWin + gcc to build Windows application written in C.

2005-12-15 Thread Piero Silvestri
Brain wrote: -mno-cygwin essentially turns gcc into the gcc provided by mingw.org. Read the docs/wiki/faq/etc at that site for more information. Note that when you use gcc -mno-cygwin your search paths will be modified so that no Cygwin libraries/headers will be found, instead the mingw ones wi

Re: CygWin + gcc to build Windows application written in C.

2005-12-14 Thread Brian Dessent
Piero Silvestri wrote: > - I'm looking for some documentation about -mno-cygwin and -mwindows > options, which I can't find neither in the gcc on-line manual, nor in the > gcc man pages, nor in the CygWin manual. Where they come from? Using the > first makes the compiler complain about a missing c

Re: CygWin + gcc to build Windows application written in C.

2005-12-14 Thread René Berber
Piero Silvestri wrote: [snip] > and some other Unix-like OS, so I decided to go for Qt, a multiplatform > library that seems good for my needs. This choice forced me to change my > compiler, so I decided to use gcc. You are aware that Qt for Windows installs (optional) the MingW environment (gcc/g

CygWin + gcc to build Windows application written in C.

2005-12-14 Thread Piero Silvestri
Hi all, I'm a software developer and I'm working on an application entirely written in C, that's been built with Watcom compiler until now, and whose only target was Windows (NT/2000/XP). I need to port it to Linux and some other Unix-like OS, so I decided to go for Qt, a multiplatform library