[MLton-user] Re: [MLton] MLton: A few questions

emil artin emil.artin at web.de
Thu Apr 2 03:01:18 PST 2009


> what do you think you stand to gain from compiling with xlc instead of GCC?
I'm not in a position to argue about it from technical point of view. 
That was for me just a matter of choice and feasibility.
In the past I had serious problems with gcc on AIX getting 
segmentation fautlt on diverse occasions. On the other hand, 
I believe (that is just my feeling:-)) that the "native" compiler 
of a vendor offers you a better support.

> Emil, I'm also keen to hear if you got MLton compiled OK on AIX?

I guess that I have already posted the following answer to you or to the list(!):
#######################################################################
After modifying bin/mlton-script and executing "gmake all-no-docs CPPFLAGS=-I/home/emil/local/include"
I get now (or to put it more precisely as before) the following errors:
-----------------------------------------------------------------------
....
Type checking ckit-lib library.
Type checking cml library.
Type checking mlrisc-lib library.
Type checking mlnlffi-lib library.
Type checking mlyacc-lib library.
Type checking smlnj-lib library.
gmake -C "mllex"
gmake[2]: Entering directory `/tmp/mlton-svn-20090329/mllex'
Compiling mllex
"mlton" -target self mllex.mlb
ld: 0711-224 WARNING: Duplicate symbol: .fesetround
ld: 0711-224 WARNING: Duplicate symbol: .fegetround
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: .gdtoa__strtof
ld: 0711-317 ERROR: Undefined symbol: .gdtoa__gdtoa
ld: 0711-317 ERROR: Undefined symbol: .gdtoa__strtord
ld: 0711-317 ERROR: Undefined symbol: .gdtoa__strtorf
collect2: ld returned 8 exit status
call to system failed with exit status 1:
gcc -o mllex /tmp/filefaIyWT.o /tmp/fileZmQ1qQ.o /tmp/filetqgDpx.o /tmp/file5BK6di.o /tmp/filesgBvKj.o /tmp/fileM1RWOo.o -L/tmp/mlton-svn-20090329/build/lib/self -lmlton -lgdtoa -L/home/emil/local/lib -lm -lgmp -maix64
gmake[2]: *** [mllex] Error 1
gmake[2]: Leaving directory `/tmp/mlton-svn-20090329/mllex'
gmake[1]: *** [tools] Error 2
gmake[1]: Leaving directory `/tmp/mlton-svn-20090329'
gmake: *** [all-no-docs] Error 2
-----------------------------------------------------------------------
Any idea?
Did you proceed to compile mlton in the same way as I did it now?

Thank you for your feedback!

Regards
E.A.
#######################################################################

Thank you very much!
Regards,
E.A. 
________________________________________________________________________
Neu bei WEB.DE: Kostenlose maxdome Movie-FLAT!
https://register.maxdome.de/xml/order/LpWebDe?ac=OM.MD.MD008K15726T7073a




More information about the MLton-user mailing list