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: 1892 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
J'ai installé un peu en vrac Cygwin et MinGW pour essayer de compiler
OCaml sur une machine Windows. Au moment de construire stdlib.cmxa,
j'ai une erreur:
C'est le ar de MinGW. Si je mets /bin avant /cygdrive/c/MinGW dans le
PATH, pour utiliser le ar de Cygwin, ça a l'air de marcher.
Si j'enleve suffisament de .cmx sur la ligne de commande ci-dessus, ca
passe aussi avec le ar de MinGW. Ca doit etre un problème avec les
response files.
Est-ce que c'est un problème connu?
Pour info:
$ /cygdrive/c/MinGW/bin/ar --version
GNU ar 2.13.90 20030111
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
$ /bin/ar --version
GNU ar 2.13.90 20030308
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
Sinon, le README.win32 ne dit meme pas qu'il faut avoir MinGW installé;
c'est un oubli?
-- Alain
The text was updated successfully, but these errors were encountered:
J'ai installé un peu en vrac Cygwin et MinGW pour essayer de compiler
OCaml sur une machine Windows. Au moment de construire stdlib.cmxa,
j'ai une erreur:
ar: @c:\tmp\camlresp90eda2: Invalid argument
C'est le ar de MinGW. Si je mets /bin avant /cygdrive/c/MinGW dans le
PATH, pour utiliser le ar de Cygwin, ça a l'air de marcher.
Oui, c'est un problème connu des outils de compilation fournis dans la
distrib MinGW.
L'astuce est de ne pas installer MinGW du tout: la distrib Cygwin
contient toutes les libs MinGW et le flag -mno-cygwin de gcc lui dit
de compiler avec ces libs.
Sinon, le README.win32 ne dit meme pas qu'il faut avoir MinGW installé;
c'est un oubli?
Au contraire! Il devrait même dire plus clairement qu'il ne faut PAS
avoir MinGW installé.
Original bug ID: 1892
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
J'ai installé un peu en vrac Cygwin et MinGW pour essayer de compiler
OCaml sur une machine Windows. Au moment de construire stdlib.cmxa,
j'ai une erreur:
../boot/ocamlrun ../ocamlopt -a -o stdlib.cmxa pervasives.cmx array.cmx
list.cmx
char.cmx string.cmx sys.cmx hashtbl.cmx sort.cmx marshal.cmx obj.cmx
int32.cmx
int64.cmx nativeint.cmx lexing.cmx parsing.cmx set.cmx map.cmx stack.cmx
queue.c
mx stream.cmx buffer.cmx printf.cmx format.cmx scanf.cmx arg.cmx
printexc.cmx gc
.cmx digest.cmx random.cmx camlinternalOO.cmx oo.cmx genlex.cmx
callback.cmx wea
k.cmx lazy.cmx filename.cmx complex.cmx arrayLabels.cmx listLabels.cmx
stringLab
els.cmx moreLabels.cmx stdLabels.cmx
ar: @c:\tmp\camlresp90eda2: Invalid argument
Error while creating the library stdlib.a
make[1]: *** [stdlib.cmxa] Error 2
C'est le ar de MinGW. Si je mets /bin avant /cygdrive/c/MinGW dans le
PATH, pour utiliser le ar de Cygwin, ça a l'air de marcher.
Si j'enleve suffisament de .cmx sur la ligne de commande ci-dessus, ca
passe aussi avec le ar de MinGW. Ca doit etre un problème avec les
response files.
Est-ce que c'est un problème connu?
Pour info:
$ /cygdrive/c/MinGW/bin/ar --version
GNU ar 2.13.90 20030111
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
$ /bin/ar --version
GNU ar 2.13.90 20030308
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
Sinon, le README.win32 ne dit meme pas qu'il faut avoir MinGW installé;
c'est un oubli?
-- Alain
The text was updated successfully, but these errors were encountered: