On 16.08.2011, at 02:21, Consul wrote: > A couple of notes on a Windows build, if you don't mind:
Please, go ahead. This is great help. > 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. Yes, I saw that when I finally tested on MS Windows. I was very surprised and I wonder if 1.3 does that, too. Or if it is specific to FLTK compiled with one IDE? > 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. Again, is this also the case in 1.3? I have not really changed any Makefiles (I think), and definitely not configure.in. > 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 Thank. I will see what I can do. _______________________________________________ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev