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

OCaml-4 : Win32 with Microsoft SDK port installation #5638

Closed
vicuna opened this issue Jun 8, 2012 · 1 comment
Closed

OCaml-4 : Win32 with Microsoft SDK port installation #5638

vicuna opened this issue Jun 8, 2012 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Jun 8, 2012

Original bug ID: 5638
Reporter: esther
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2015-12-11T18:04:53Z)
Resolution: fixed
Priority: normal
Severity: minor
Category: configure and build/install

Bug description

The target installoptopt in Makefile.nt fails with the following error message:

cp compilerlibs/ocamlcommon.cmxa compilerlibs/ocamlcommon.a
compilerlibs/ocamlbytecomp.cmxa compilerlibs/ocamlbytecomp.a
compilerlibs/ocamloptcomp.cmxa compilerlibs/ocamloptcomp.a
C:/ocamlms2/lib/compiler-libs
cp: cannot stat compilerlibs/ocamlcommon.a': No such file or directory cp: cannot stat compilerlibs/ocamlbytecomp.a': No such file or directory
cp: cannot stat compilerlibs/ocamloptcomp.a': No such file or directory Makefile.nt:246: recipe for target installoptopt' failed

In fact, for msvc, lib files have extension .lib and not .a

So the fix is to replace these .a extensions in the Makefile by .$(A)

@vicuna
Copy link
Author

vicuna commented Jun 8, 2012

Comment author: @alainfrisch

Well spotted!

Fixed in trunk (r12587) and 4.00 (r12588).

@vicuna vicuna closed this as completed Dec 11, 2015
@vicuna vicuna added the bug label Mar 20, 2019
dra27 pushed a commit to dra27/ocaml that referenced this issue Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants