Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build OPAM for mingw #709

Closed
dweil opened this issue Jul 30, 2013 · 1 comment
Closed

build OPAM for mingw #709

dweil opened this issue Jul 30, 2013 · 1 comment
Milestone

Comments

@dweil
Copy link

dweil commented Jul 30, 2013

I tried to build OPAM for mingw from cygwin (with the cross compiler) :

export CC=i686-w64-mingw32-gcc
./configure
make

and got

make -C ocp-build
make[1]: Entering directory `/cygdrive/d/home/ocaml_src/opam/ocp-build'
awk '{ print "external "$1": unit -> unit = \"" $1 "\"" }' primitives > primitives.ml
ocamlc -o ocp-build.run -custom -make-runtime win32_c.c primitives.ml unix.cma  -cclib -lunix
** Fatal error: Error while reading D:/cygwin/usr/i686-w64-mingw32/sys-root/mingw/lib/libmoldname.a: End_of_file
File "primitives.ml", line 1:
Error: Error while building custom runtime system
Makefile:4: recipe for target `ocp-build' failed
make[1]: *** [ocp-build] Error 2
make[1]: Leaving directory `/cygdrive/d/home/ocaml_src/opam/ocp-build'
Makefile:43: recipe for target `ocp-build/ocp-build' failed
make: *** [ocp-build/ocp-build] Error 2

Will OPAM be supported for mingw ?

@samoht
Copy link
Member

samoht commented Jul 30, 2013

Closing as duplicate of #246. The windows support is an ongoing work, it won't be ready for the 1.1 release.

@samoht samoht closed this as completed Jul 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants