On 10 May 2011, at 16:38, Greg Ercolano wrote:

>       I was noticing yesterday fltk (1.3.x) builds the "fltk" subproject
>       in DLL hell mode, ie. with the compiler flag /MD (DLL runtime libs)
>       instead of /MT (static runtime libs).
> 
>       I'm wondering if:
> 
>               a) the /MD flag is a good default, given the DLL hell
>                  it seems to incur on unsuspecting programmers;
>                  perhaps /MT instead?
> 
>               b) Is there an easy way to change this for the entire lib
>                  if an app programmer needs to?

What were the defaults in fltk-1.1? Have we changed?

I don't know enough about the MS tools to really have anything useful to 
contribute, though...


>       Also, do we already have docs on the subject of building executables
>       intended for release? It seems we should maybe have something for
>       app programmers on how to build FLTK under win and linux so that their
>       apps avoid DLL/SO hell. (Seems not so much an issue under OSX)
> 
>       If not I could probably start such a thing, as I've had a few people
>       ask me this over the years via email.


This sort of stuff ought to be in the README.MSWindows.txt file I think?

There's a fair bit of stuff in there that looks similar, thought I do not know 
how up to date it is. Seems to be about October 2010. There's some stuff in 
there about VS2008 and VS2010, but no specific discussion of the whole /MD /MT 
stuff or etc.


_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to