> The problem turns out to be rather simple. If I use Apple variant of > gcc that is bundled with Xcode, then I have no trouble with FLTK. > > Unfortunately, I need a fortram compiler and had planned to use the > gfortran from gcc-4.4 which is conveniently packaged by both the > MacPorts of Fink package managers. > > My solution was to use a gcc-4.2 gfortran patched to work with > Apple's variant of gcc 4.2. It is available at the link below. > > http://r.research.att.com/tools/ > > Using Apple's gcc 4.2 with the patched gfortran solved my problem.
Methinks there should be an update to the docs/faqs to record this. The question is, where? The FLTK-1.3.x docs have: Introduction to FLTK: with sections on building FLTK as a whole on: Unix and MacOS/X; Microsoft Windows; and OS/2. FLTK Basics: with a section of building an FLTK app with standard compilers on Unix/Windows using GNU tools, using Makefiles, and using Microsoft Visual C++. Operating System Issues: with sections on Unix/X11, Windows/Win32, and MacOS internals but not compilers. And, IIRC, there are assorted files, most likely out of date, that describe building apps using various IDEs to build FLTK apps. Something else to add to the TODO list :-) Happy New Year! Duncan _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

