caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Problem during Godi bootstrap_stage2 (Windows mingw)
@ 2009-03-19  7:02 Alan Schmitt
  2009-03-19  7:47 ` [Caml-list] " Alain Frisch
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Schmitt @ 2009-03-19  7:02 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 3338 bytes --]

Hello,

I sent the following to the godi list, but as it occurs during the  
compilation of OCaml itself, someone might know what is going on here...


I had to reinstall my environment to develop OCaml applications under  
Windows (using mingw), and I'm having some problem during  
bootstrap_stage2. Here are the last few lines before the problem occurs:

cp ../byterun/meta.c meta.c
gcc -mno-cygwin -I../byterun -DNATIVE_CODE -DTARGET_i386 -DSYS_mingw - 
O -mms-bitfields -Wall -Wno-unused -c meta.c
cp ../byterun/dynlink.c dynlink.c
gcc -mno-cygwin -I../byterun -DNATIVE_CODE -DTARGET_i386 -DSYS_mingw - 
O -mms-bitfields -Wall -Wno-unused -c dynlink.c
make[8]: Leaving directory `/home/Administrateur/godi/build/godi/godi- 
ocaml/work/ocaml/asmrun'
boot/ocamlrun ./ocamlopt -I stdlib  -o ocamlc.opt utils/misc.cmx utils/ 
tbl.cmx utils/config.cmx utils/clflags.cmx utils/terminfo.cmx utils/ 
ccomp.cmx utils/warnings.cmx utils/consistbl.cmx parsing/linenum.cmx  
parsing/location.cmx parsing/longident.cmx parsing/syntaxerr.cmx  
parsing/parser.cmx parsing/lexer.cmx parsing/parse.cmx parsing/ 
printast.cmx typing/unused_var.cmx typing/ident.cmx typing/path.cmx  
typing/primitive.cmx typing/types.cmx typing/btype.cmx typing/ 
oprint.cmx typing/subst.cmx typing/predef.cmx typing/datarepr.cmx  
typing/env.cmx typing/typedtree.cmx typing/ctype.cmx typing/ 
printtyp.cmx typing/includeclass.cmx typing/mtype.cmx typing/ 
includecore.cmx typing/includemod.cmx typing/parmatch.cmx typing/ 
typetexp.cmx typing/stypes.cmx typing/typecore.cmx typing/typedecl.cmx  
typing/typeclass.cmx typing/typemod.cmx bytecomp/lambda.cmx bytecomp/ 
printlambda.cmx bytecomp/typeopt.cmx bytecomp/switch.cmx bytecomp/ 
matching.cmx bytecomp/translobj.cmxbytecomp/translcore.cmx bytecomp/ 
translclass.cmx bytecomp/translmod.cmx bytecomp/simplif.cmx bytecomp/ 
runtimedef.cmx bytecomp/meta.cmx bytecomp/instruct.cmx bytecomp/ 
bytegen.cmx bytecomp/printinstr.cmx bytecomp/opcodes.cmx bytecomp/ 
emitcode.cmx bytecomp/bytesections.cmx bytecomp/dll.cmx bytecomp/ 
symtable.cmx bytecomp/bytelink.cmx bytecomp/bytelibrarian.cmx bytecomp/ 
bytepackager.cmx driver/pparse.cmx driver/errors.cmx driver/ 
compile.cmx driver/main_args.cmx driver/main.cmx asmrun/meta.o asmrun/ 
dynlink.o
'gcc' n'est pas reconnu en tant que commande interne ou externe, un  
programme exécutable ou un fichier de commandes.
Error during linking
make[7]: *** [ocamlc.opt] Error 2
make[7]: Leaving directory `/home/Administrateur/godi/build/godi/godi- 
ocaml/work/ocaml'
Error: Exec error: File /home/Administrateur/godi/build/godi/godi- 
ocaml/./../../mk/bsd.pkg.mk, line 1039: Command returned with non-zero  
exit code
Error: Exec error: File /home/Administrateur/godi/build/godi/godi- 
ocaml/./../../mk/bsd.pkg.mk, line 1378: Command returned with non-zero  
exit code
Error: Command fails with code 1: godi_console
Failure!

It tells me that "gcc" is not recognized, but it's been used till then  
to build everything! (And it's not gcc that is called, but ocamlrun...)

I am using a cygwin shell to build this, running under windows, and I  
did a
.../bootstrap -prefix /home/Administrateur/godi -w32port mingw
as first bootstrap stage.

Is there something obvious I'm missing?

Thanks a lot,

Alan Schmitt

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-19 16:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-19  7:02 Problem during Godi bootstrap_stage2 (Windows mingw) Alan Schmitt
2009-03-19  7:47 ` [Caml-list] " Alain Frisch
2009-03-19 14:30   ` Dave Benjamin
2009-03-19 15:52     ` Joel Reymont
2009-03-19 16:28   ` Alan Schmitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).