>
> On 18 Dec 2009, at 0:03, Ben Abbott wrote:
> >>
> >> Unfortunately, Mac OSX's Fink package manager presently has gcc44
> >> as a build dependency for many of Octave's dependencies.
> >>
> >> So I'll opt for looking into what compiler flags might help.
> >>
> >> Once I've succeeded or failed, I'll report back.
> >>
> >> Ben
> >
> > I've struck out here. Unfortunately, my expertise in solving such
> > problems is quite lame.
>
> As Matthias has posted elsewhere, the revised OSX port of 1.3 now
> uses cocoa rather than carbon so may work better for you.
> Manolo and I are chasing down a bug that looks like it might be
> peculiar to my implementation, so I think the port is otherwise OK,
> so far as we know...
>
> However, as a rider, I have heard quite few reports of people getting
> into difficulties using non-Apple compilers to build GUI / system
> code for their macs. It seems there are quite a lot of Apple specific
> tweaks to gcc that Apple have never upstreamed, so if you use a
> "pure" gcc, it may not work as intended on OSX.
>
I appreciate the heads-up regarding using non-Apple compilers.
I thought I'd give it a shot any way with gcc 4.4.2. The Mac OSX version has a
different architecture syntax that what is expected by configure. So I thought
I could just add it as an option ...
--with-archflags="-march=i386"
.. but that didn't work. However, when I edited the configure script and
changed "-arch i386" to "-march=i386" the configure script completed as
expected.
As you fore-told I had trouble with gcc 4.4.2. "make" ended with ...
=== making src ===
Compiling Fl.cxx...
g++-4: language objective-c++ not recognized
g++-4: language objective-c++ not recognized
g++-4: Fl.cxx: linker input file unused because linking not done
Compiling Fl_Adjuster.cxx...
Compiling Fl_Bitmap.cxx...
In file included from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:29,
from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32,
from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125,
from
/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
from ../FL/mac.H:38,
from ../FL/x.H:41,
from Fl_Bitmap.cxx:35:
/sw/lib/gcc4.4/lib/gcc/i686-apple-darwin10/4.4.2/include/xmmintrin.h:32:3:
error: #error "SSE instruction set not enabled"
In file included from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43,
from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20,
from
/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
from ../FL/mac.H:38,
from ../FL/x.H:41,
from Fl_Bitmap.cxx:35:
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h:147:
error: format string argument not a string type
In file included from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32,
from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125,
from
/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
from ../FL/mac.H:38,
from ../FL/x.H:41,
from Fl_Bitmap.cxx:35:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:216:
error: â__m128â does not name a type
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:217:
error: â__m128iâ does not name a type
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:218:
error: â__m128dâ does not name a type
make[1]: *** [Fl_Bitmap.o] Error 1
make: *** [all] Error 1
Looks like I'm stuck. I need a gcc which includes gfortran and I need fltk to
build Octave ... hmmm, perhaps the only solution is to enable x11 (disable
quartz) with fltk-1.1.9?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk