We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Apologies in advance, I'm not certain if this a problem with B0 or something else.
In this repo (https://github.com/saagraa/ocaml_linking_example) I have a few makefiles and a B0.ml file:
Makefile.b0
Makefile
Makefile.2
-cclib
-ccopt
I've got two systems: System A:
ocamlopt -config-var native_c_libraries => -lm -ldl
System B
ocaml -config-var native_c_libraries => -lm
On System A (older gcc/ld):
make
main
make -f Makefile.2
make -f Makefile.b0
b0
On System B (newer gcc/ld):
I'm guessing this is caused by some change from gcc 9.4 -> 12.2 and ld 2.34 -> 2.39. Nothing in the ld news file stands out to me though.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Apologies in advance, I'm not certain if this a problem with B0 or something else.
In this repo (https://github.com/saagraa/ocaml_linking_example) I have a few makefiles and a B0.ml file:
Makefile.b0
is in attempt to copy what B0 doesMakefile
andMakefile.2
swap the order of the-cclib
parameters. They exclusively use-cclib
, whereas the b0 one uses-ccopt
-cclib
and-ccopt
didn't impact the results inMakefile.b0
.I've got two systems:
System A:
ocamlopt -config-var native_c_libraries => -lm -ldl
)System B
ocaml -config-var native_c_libraries => -lm
)On System A (older gcc/ld):
make
works and linksmain
make -f Makefile.2
results in an ld errormake -f Makefile.b0
results in an ld errorb0
results in an ld errorOn System B (newer gcc/ld):
make
works and linksmain
make -f Makefile.2
works and linksmain
make -f Makefile.b0
works and linksmain
b0
works and linksmain
I'm guessing this is caused by some change from gcc 9.4 -> 12.2 and ld 2.34 -> 2.39. Nothing in the ld news file stands out to me though.
The text was updated successfully, but these errors were encountered: