On 16.08.2011 02:21, Consul wrote: > On 8/15/2011 2:56 PM, Matthias Melcher wrote: >> >> After a ton of huge commits and restores, I would like to give a short >> status report on Fluid3: >>
... > A couple of notes on a Windows build, if you don't mind: > 1. When you create a window, the properties window will appear on the > top left corner of the desktop without the title bar, > making the window unmovable. Confirmed, although in my experience on Win7 the title bar is only outside (above) the desktop area, but the window is resizable. Resizing it makes it "jump" into the desktop area, where you can move it. (Not intended as a workaround, but just my observations). > 2. If compiled with gcc version 4.5.0 with the default configure, any > executable would not run, complaining about missing gcc or g++ > runtime dlls. This is easily fixed with > > LDFLAGS='-static-libgcc -static-libstdc++' ./configure > > but is annoying nevertheless. That's true (and applies to FLTK 1.3 as well) ... > I propose the following patch to remedy this (not tested with gcc3 or > any other compiler). > > diff --git a/configure.in b/configure.in > index fcfc787..25e5130 100644 > --- a/configure.in > +++ b/configure.in > @@ -820,7 +820,7 @@ case $uname_GUI in > AC_DEFINE(U32,unsigned) > CFLAGS="-mwindows -DWIN32 -DUSE_OPENGL32 $CFLAGS" > CXXFLAGS="-mwindows -DWIN32 -DUSE_OPENGL32 $CXXFLAGS" > - LDFLAGS="-mwindows $LDFLAGS" > + LDFLAGS="-static-libgcc -static-libstdc++ -mwindows $LDFLAGS" > DSOFLAGS="-mwindows $DSOFLAGS" > LIBS="$LIBS -lole32 -luuid -lcomctl32" > if test "x$with_optim" = x; then Unfortunately this wouldn't work with older compilers (gcc pre-4.5 and other compilers as well), so that the correct fix would probably be a feature test together with a configure option, since "-static-libstdc++" would break exception handling across DLLs, which was one of the reasons the GCC people switched to linking libgcc and libstdc++ dynamically. But thanks for the patch anyway, we should address this problem soon. Albrecht _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
