On Sat, 2006-09-09 at 15:48 +1000, Jonathan Kelly wrote:
> Hi,
>
> ok, this is a bit weird. I can't get it to build at all now.
>
> I have gone back to a standard cygwin install and the configure falls
> over as attached (I have snipped out the uninteresting bits about
> determining base types).
Err .. it looks fine to me.
> I have built an mingw build of ocaml-3.09.2, hoping that it might fix
> the ocaml "-y" error. Starting again with that to see ...
argg .. woops.. that's a known bug too, that never got fixed.
Edit the file config/ocaml_config.py: mine looks like this:
---------------------------------------
NATIVE_CODE_COMPILER=1
OCAMLB='ocamlc.opt -w yzex -warn-error FDPSU '
OCAMLB_DESCRIPTION='The Objective Caml compiler'
OCAMLC='ocamlopt.opt -w yzex -warn-error FDPSU '
OCAMLCC='ocamlopt.opt '
OCAMLCP='ocamlcp '
OCAMLC_DESCRIPTION='The Objective Caml native-code compiler'
OCAMLDOC='ocamldoc.opt '
OCAMLLEX='ocamllex.opt '
OCAMLYACC='ocamlyacc '
OCAML_INCLUDE_DIRECTORY='/usr/local/lib/ocaml'
OCAML_VERSION='version 3.09.3+rc1'
---------------------------------------------
You need to remove the 'y' from the lines:
OCAMLB='ocamlc.opt -w yzex -warn-error FDPSU '
OCAMLC='ocamlopt.opt -w yzex -warn-error FDPSU '
This is a new warning option not supported on older Ocamls.
I suspect z or x is also unsupported. In fact, you can just scrub
all the error handling if you want: delete the
-w yzex -warn-error FDPSU
entirely (leave one space after the compiler name!)
After doing this do NOT run configure again!
I think Cygwin is only running 3.08 Ocaml.
Someone should update it .. 3.0.10 is about to be released :)
--
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language