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: 135 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Quand on compile un toplevel avec l'option -I pour qu'il trouve un certain
package, il faut l'option -I également pour l'exécuter, alors qu'elle
devrait, à mon avis, ne pas être nécessaire, tant que ça reste dans le même
répertoire. Est-ce voulu ?
Dans un même registre, si on compile un toplevel avec le package dynlink,
il se met subitement à ignorer l'option -I. Ceci me semble être clairement
un bug.
The text was updated successfully, but these errors were encountered:
ocamlmktop -I: no way to do otherwise. (Can't "remember" -I options in a custom
toplevel.)
dynlink and toplevel: cause duplication of internal modules, in particular
Config.load_path. No way to get it right with the current flat module
namespace.
Original bug ID: 135
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
~ $ ocamlmktop -I /usr/local/findlib/site-lib/pcre -o mytop pcre.cma
~ $ ./mytop
Objective Caml version 3.00
Pcre.exec;;
Unbound value Pcre.exec
~ $ ./mytop -I /usr/local/findlib/site-lib/pcre
Objective Caml version 3.00
Pcre.exec;;
?flags:Pcre.rflag list ->
?rex:Pcre.regexp -> ?pat:string -> ?pos:int -> string ->
Pcre.substrings
=
Quand on compile un toplevel avec l'option -I pour qu'il trouve un certain
package, il faut l'option -I également pour l'exécuter, alors qu'elle
devrait, à mon avis, ne pas être nécessaire, tant que ça reste dans le même
répertoire. Est-ce voulu ?
~ $ ocamlmktop -I /usr/local/findlib/site-lib/pcre -o mytop pcre.cma
dynlink.cma
~ $ ./mytop -I /usr/local/findlib/site-lib/pcre
Objective Caml version 3.00
Pcre.exec;;
Unbound value Pcre.exec
~ $ ./mytop
Objective Caml version 3.00
#directory "/usr/local/findlib/site-lib/pcre";;
Pcre.exec;;
?flags:Pcre.rflag list ->
?rex:Pcre.regexp -> ?pat:string -> ?pos:int -> string ->
Pcre.substrings
=
Dans un même registre, si on compile un toplevel avec le package dynlink,
il se met subitement à ignorer l'option -I. Ceci me semble être clairement
un bug.
The text was updated successfully, but these errors were encountered: