On Thu, May 08, 2003 at 01:32:49AM +0900, Michal 'hramrach' Suchanek wrote:
> On Wed, May 07, 2003 at 03:09:33AM +0900, Lyle Johnson wrote:
> > Paul J. Sanchez wrote:
> > 
> > >Has anybody gotten FreeRIDE running on a Mac OS X system?  What does
> > >it take?
> > 
> > See:
> > 
> > http://rwiki.jin.gr.jp/cgi-bin/rw-cgi.rb?cmd=view;name=FreeRIDE+on+X11+for+Mac+OS+X
> 
> I saw and I'm stuck with the first thing: fox 1.0.40
> It builds just fine with
> CPPFLAGS=-I/sw/include LDFLAGS=-L/sw/lib ../configure --with-opengl=opengl --enable-cups ; make ; make check
> 
> but once I try to run a test from the tests/ directory I get:
> bash-2.05b$ ./button
> dyld: button Undefined symbols:
> __ZTVN10__cxxabiv117__class_type_infoE
> __ZTVN10__cxxabiv120__si_class_type_infoE
> ___gxx_personality_v0
> Trace/BPT trap
> 
> That's probably why my earlier attempts to run FreeRIDE failed.
> 
And it is because fox links with $CC.
Not only $CC is compiler, not linker. It is even a compiler for a different
language (C, not C++). It is next to linking with javac ;-)

So, for gcc3 (Apple Computer, Inc. GCC version 1175, based on gcc version
3.1 20020420 (prerelease)) I have:

CC=g++ CXX=g++ CPPFLAGS=-I/sw/include LDFLAGS="-L/sw/lib" ../configure --with-opengl=opengl --enable-cups

-- 
Michal Suchanek
hramrach / centrum.cz