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

ocamlopt: Error during linking #8409

Closed
vicuna opened this issue Dec 10, 2003 · 1 comment
Closed

ocamlopt: Error during linking #8409

vicuna opened this issue Dec 10, 2003 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Dec 10, 2003

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

Bug description

Full_Name: Marcon Giulio
Version: OCaml 3.0.7
OS: win32-mingw
Submission from: matteo.dsi.unive.it (157.138.20.36)

It seems that ocamlopt under MinGW has some problems with long command lines.

running this command:

ocamlopt -o 2h2p.exe -I . -I src unix.cmxa graphics.cmxa src/arghandle.cmx
src/edgeDetector.cmx src/edge.cmx src/error.cmx src/math.cmx
src/progressNotifier.cmx src/symmetricMatrix.cmx src/utils.cmx src/edgel.cmx
src/image.cmx src/meanFieldAnnealing.cmx src/ps.cmx src/gfx.cmx
src/interactionCoefficients.cmx src/netpbm.cmx src/main.cmx

produces this error:

gcc: @c:\tmp\camlresp??????: Invalid argument
Error during linking

with the -pack option there's a similar error:

ld: cannot open @c:\tmp\camlresp??????: Invalid argument
Error during partial linking

@vicuna
Copy link
Author

vicuna commented Feb 14, 2004

Comment author: administrator

This is a problem with the standalone MinGW/MSys tools, which do not understand
@responsefile command-line arguments. No such problem with the Cygwin version
of MinGW, which are recommended by the installation instructions.

@vicuna vicuna closed this as completed Feb 14, 2004
@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