[MLton] MacOS linking broken?
    skaller 
    skaller at users.sourceforge.net
       
    Thu Dec  7 09:17:39 PST 2006
    
    
  
On Wed, 2006-12-06 at 23:30 -0600, John Reppy wrote:
Dumb idea .. there's a space after a \ character?
Would look right but interpreted as a space newline,
instead of eliding the newline.
> It appears that linking MLton programs with Mac OS X frameworks is  
> broken in the
> latest SVN revision (it was working in r4796).  When I try to compile  
> a program
> that compiled before, I get errors like the following:
> 
> /usr/bin/ld: Undefined symbols:
> _glBegin
> _glClear
> _glClearColor
> OLD:
>        gcc -o triangle /tmp/fileeUELQt.o /tmp/filegsk2yH.o \
>            /Users/jhr/Work/hacking/sml3d/glut/glut-glue.o \
>            -L/Users/jhr/Work/mlton/mlton.OLD/build/lib/self -lmlton - 
> L/sw/lib \
>            -lgmp -lgdtoa -lm -framework GLUT -framework OpenGL - 
> framework \
>            Foundation
> 
> NEW:
>        gcc -o triangle /tmp/fileZ7FdMM.o /tmp/fileL3aAgK.o \
>            /Users/jhr/Work/hacking/sml3d/glut/glut-glue.o \
>            -L/Users/jhr/Work/mlton/mlton/build/lib/self -lmlton -L/sw/ 
> lib \
>            -lgdtoa -lm -lgmp \
>            -framework GLUT -framework OpenGL -framework Foundation
> 
> 	- John
> 
> 
> _______________________________________________
> MLton mailing list
> MLton at mlton.org
> http://mlton.org/mailman/listinfo/mlton
-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net
    
    
More information about the MLton
mailing list