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

Re: [Caml-list] ocamlmktop: 3.04 differs from 3.00 #3460

Closed
vicuna opened this issue Jul 25, 2002 · 3 comments
Closed

Re: [Caml-list] ocamlmktop: 3.04 differs from 3.00 #3460

vicuna opened this issue Jul 25, 2002 · 3 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jul 25, 2002

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.

Wolfgang

--
Wolfgang Lux Phone: +49-251-83-38263
Institut fuer Wirtschaftinformatik FAX: +49-251-83-38259
Universitaet Muenster Email: wlux@uni-muenster.de

@vicuna
Copy link
Author

vicuna commented Jul 25, 2002

Comment author: administrator

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.

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...

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Jul 25, 2002

Comment author: administrator

The configure script does the right thing.

@vicuna vicuna closed this as completed Jul 25, 2002
@vicuna
Copy link
Author

vicuna commented Jul 25, 2002

Comment author: administrator

Date: Thu, 25 Jul 2002 17:53:40 +0200 (MET DST)
From: wlux@uni-muenster.de

Francois Thomasset wrote:

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 :-)

Date: Thu, 25 Jul 2002 18:00:18 +0200 (MET DST)
From: xavier.leroy@inria.fr

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.

Sorry for the wasted time,
Bruno.

@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