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

make opt.opt of 3.04 tries to use stdlib of 3.02 #3109

Closed
vicuna opened this issue Dec 30, 2001 · 2 comments
Closed

make opt.opt of 3.04 tries to use stdlib of 3.02 #3109

vicuna opened this issue Dec 30, 2001 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Dec 30, 2001

Original bug ID: 762
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Mattias Waldau
Version: 3.02 installed, compiling 3.04
OS: WindowsXP + latest cygwin
Submission from: h175n2fls34o849.telia.com (217.208.235.175)

I tried to compile ocaml 3.04. './configure' and 'make world' works fine,
however when I made 'make opt.opt' I got the following:

Note that in the bottom 'c:/usr/local/lib/ocaml/stdlib.cmxa' is referred, which
is
ocaml 3.02. (I have not made 'make install' yet)

/mattias

make[1]: Leaving directory `/data/ocaml/downloaded/ocaml-3.04/asmrun'
boot/ocamlrun ./ocamlopt -I stdlib -ccopt "" -o ocamlc.opt
utils/misc.cmx utils/tbl.cmx utils/config.cmx utils/clflags.cmx
utils/terminfo.cmx utils/ccomp.cmx utils/warnings.cmx parsing/linenum.cmx
parsing/location.cmx parsing/longident.cmx parsing/syntaxerr.cmx
parsing/parser.cmx parsing/lexer.cmx parsing/parse.cmx parsing/printast.cmx
typing/ident.cmx typing/path.cmx typing/primitive.cmx typing/types.cmx
typing/btype.cmx typing/subst.cmx typing/predef.cmx typing/datarepr.cmx
typing/env.cmx typing/typedtree.cmx typing/ctype.cmx typing/printtyp.cmx
typing/includeclass.cmx typing/mtype.cmx typing/includecore.cmx
typing/includemod.cmx typing/parmatch.cmx typing/typetexp.cmx
typing/typecore.cmx typing/typedecl.cmx typing/typeclass.cmx typing/typemod.cmx
bytecomp/lambda.cmx bytecomp/printlambda.cmx bytecomp/typeopt.cmx
bytecomp/switch.cmx bytecomp/matching.cmx bytecomp/translobj.cmx
bytecomp/translcore.cmx bytecomp/translclass.cmx bytecomp/translmod.cmx
bytecomp/simplif.cmx bytecomp/runtimedef.cmx bytecomp/meta.cmx
bytecomp/instruct.cmx bytecomp/bytegen.cmx bytecomp/printinstr.cmx
bytecomp/opcodes.cmx bytecomp/emitcode.cmx bytecomp/bytesections.cmx
bytecomp/dll.cmx bytecomp/symtable.cmx bytecomp/bytelibrarian.cmx
bytecomp/bytelink.cmx driver/errors.cmx driver/compile.cmx driver/main_args.cmx
driver/main.cmx
asmrun/meta.o asmrun/dynlink.o -cclib ""
The file c:/usr/local/lib/ocaml/stdlib.cmxa is not a compilation unit
description
make: *** [ocamlc.opt] Error 2

@vicuna
Copy link
Author

vicuna commented Jan 4, 2002

Comment author: administrator

I withdraw a bug report #762 about compilation of 'make opt.opt'.
However, the withdrawal was to soon.

When compiling 3.04/cygwin, it refers to the installed cma-files.
I had to rename /usr/local/lib/ocaml to make 'make opt.opt' work.

This of course only happens when you have an old ocaml installed.

/mattias.waldau@abc.se

@vicuna
Copy link
Author

vicuna commented Mar 6, 2002

Comment author: administrator

Haven't yet reproduced and understood the problem.
Should go away in 3.05 because we now have -nostdlib.

@vicuna vicuna closed this as completed Jun 11, 2002
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant