On Fri, Oct 21, 2005 at 01:08:34PM -0200, Rodrigo Kumpera wrote:
> Dan,
> 
> To generate a binary that doesn't depend on cygwin shared lib, for
> that I use the following combination of flags "-mno-cygwin 
> -Wl,--add-stdcall-alias", the first one is pretty obvious, the second
> is result of google'ing for a working solution, as I could not make it
> work without this flag.

Is there something that speaks against using autotools for all that?

I've written autotools setups that work with gcc, MSVC, etc, across
CygWin, OS X, various Unix variants, GNU/Linux, etc, and found the
underlying tools to have evolved nicely for that in the last few years,
offer some pretty neat features (cross-compiling for windows from
GNU/Linux for example), and most importantly, take care of the whole
platform specific linker flag zoo accross all sorts of operating system
and toolchain combinations.

cheers,
dalibor topic

Reply via email to