Join GitHub today
-pack option does not work properly #4124
Original bug ID: 4124
(This is for cygwin with ocaml 3.09.3)
I have a large project that I am trying to wrap inside a package. I use the
If I look at the tmp/camlpackagexxx.s file I see lines like this:
The labels should be _camlLibKettle__Config_base, _camlLibKettle__Pretty, etc (should be translated in the new scope). This eventually results in undefined symbols when linking.
I have tried to reproduce the problem in a simple project, and I could not (I get the correct behavior there).
Any ideas how to make progress debugging this?
Comment author: @xavierleroy
Improved handling of .cmx during ocamlopt -pack. The .cmx given on the command line are now honored even if they cannot be found in the search path.