You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1262 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Francois Thomasset wrote:
Here:
gcc -Wl,-E -o montop -I/usr/local/lib/ocaml-3.04 /tmp/camlprim0.c
-L/usr/local/lib/ocaml-3.04 -lnums -lcamlrun -lresolv -lm -ldl -lcurses
This may be a local installation mistake. Our engineer is going to
recompile
ocamlmktop.
I don't think this will help. There seems to be a bug in Ocaml's
configure
script which adds -Wl,-E to the linker flags. However, the Solaris linker
(at least under 2.6 and 2.7) does not accept the -E flag.
gcc -Wl,-E -o montop -I/usr/local/lib/ocaml-3.04 /tmp/camlprim0.c
-L/usr/local/lib/ocaml-3.04 -lnums -lcamlrun -lresolv -lm -ldl -lcurses
This may be a local installation mistake. Our engineer is going to
recompile
ocamlmktop.
I don't think this will help. There seems to be a bug in Ocaml's
configure script which adds -Wl,-E to the linker flags. However, the
Solaris linker (at least under 2.6 and 2.7) does not accept the -E
flag.
Yes, Solaris' ld uses -R, but the GNU linker uses -E. Of course, both
go under the same name "ld". Someone deserves to be shot.
At any rate, the OCaml configure script tries very hard to figure out
the "gender" of the linker, but funny things can happen if e.g. users
changes the order of directories in their PATH...
This may be a local installation mistake.
It was.
Our engineer is going to recompile ocamlmktop.
I did (ocamlmktop is a script, I recompiled everything, in fact).
I don't think this will help.
It did.
There seems to be a bug in Ocaml's configure script which adds
-Wl,-E to the linker flags.
Well, perhaps the other day, but not today :-)
At any rate, the OCaml configure script tries very hard to figure
Yes.
out the "gender" of the linker, but funny things can happen if
e.g. users changes the order of directories in their PATH...
I never do that, of course :-) -- probably something much more
perverse.
Original bug ID: 1262
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Francois Thomasset wrote:
I don't think this will help. There seems to be a bug in Ocaml's
configure
script which adds -Wl,-E to the linker flags. However, the Solaris linker
(at least under 2.6 and 2.7) does not accept the -E flag.
Wolfgang
--
Wolfgang Lux Phone: +49-251-83-38263
Institut fuer Wirtschaftinformatik FAX: +49-251-83-38259
Universitaet Muenster Email: wlux@uni-muenster.de
The text was updated successfully, but these errors were encountered: