Hi all,
The test suite was not passing the Ocaml bits when using gcc/g++ 4.2.3.
The following change suggested by Olivier Andrieu fixed the failing
test by telling ocamlc to use "gcc -lstdc++" instead of the g++
compiler.
Cheers,
Erik
Index: test/Makefile
==================================================================---
test/Makefile (revision 54250)
+++ test/Makefile (working copy)
@@ -102,7 +102,7 @@
@echo 'set llvmgxx "$(LLVMGCC) $(EXTRA_OPTIONS)"' >>
site.tmp
@echo 'set llvmgccmajvers "$(LLVMGCC_MAJVERS)"' >>
site.tmp
@echo 'set shlibext "$(SHLIBEXT)"' >> site.tmp
- @echo 'set ocamlc "$(OCAMLC) -cc $(CXX) -I $(LibDir)/ocaml"'
>> site.tmp
+ @echo 'set ocamlc "$(OCAMLC) -cc $(CC) -cclib -lstdc++ -I
$(LibDir)/ocaml"' >> site.tmp
@echo '## All variables above are generated by configure. Do Not Edit ##
' >>site.tmp
@test ! -f site.exp || \
sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
--
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"A task always takes longer than you expect, even when you take into
account Hofstadter's Law." -- Douglas Hofstadter