Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
OCaml compilation
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-05-28 (12:44)
From: Matthieu Dubuget <matthieu.dubuget@g...>
Subject: Re: [Caml-list] OCaml compilation

>> Certainly looks correct, I agree. One thought - have you remembered 
>> to put C:\Tcl\bin in your PATH on the machines which are failing?
>> Is flexlink definitely the same version on each machine? Two other 
>> possibilities:
>> 1. Try entering the command that's failing manually with -verbose and 
>> then do the same with the flexlink command displayed, adding -v -v to 
>> see exactly what flexlink is doing.

I called the original command with -verbose -cclib -v -cclib -v

If anybody can conclude anything from this? I will try the same command 
with a working system, trying to spot differences…

+ flexlink -chain mingw -exe -o "ocamlbrowser.exe"   "-L../../../stdlib" 
"-L../../../otherlibs/win32unix" "-L../../../otherlibs/str" 
"-L../../../otherlibs/systhreads" "-L../labltk" "-L../lib" 
"-L../support" "-L../../../parsing" "-L../../../utils" 
"-L../../../typing" ".\camlprim986116.c" "-llabltk" "-lthreads" "-lstr" 
"-lunix" "-lws2_32" "winmain.o" "-v" "-v" "-lcamlrun"  -lws2_32 -link 
-Wl,--subsystem,windows C:/tcl/bin/tk85.dll C:/tcl/bin/tcl85.dll -lws2_32
** Use cygpath: true
** Search path:
** Default libraries:
+ gcc -mno-cygwin -c -o ".\dyndll255a54.o" -I"../../../typing" 
-I"../../../utils" -I"../../../parsing" -I"../support" -I"../lib" 
-I"../labltk" -I"../../../otherlibs/systhreads" 
-I"../../../otherlibs/str" -I"../../../otherlibs/win32unix" 
-I"../../../stdlib" .\camlprim986116.c
** Cannot resolve symbols for descriptor object:
+ objdump -p C:/tcl/bin/tk85.dll > .\dyndll5dd309.dmp
+ objdump -p C:/tcl/bin/tcl85.dll > .\dyndll4644ba.dmp
** open: C:/cygwin/lib/mingw/crt2.o
** open: C:/cygwin/lib/mingw/libmingw32.a
** open: C:/cygwin/lib/gcc/i686-pc-mingw32/3.4.4/libgcc.a
** open: C:/cygwin/lib/mingw/libmoldname.a
** open: C:/cygwin/lib/mingw/libmingwex.a
** open: C:/cygwin/lib/mingw/libmsvcrt.a
** open: C:/cygwin/lib/w32api/libuser32.a
** open: C:/cygwin/lib/w32api/libkernel32.a
** open: C:/cygwin/lib/w32api/libadvapi32.a
** open: C:/cygwin/lib/w32api/libshell32.a
File "_none_", line 1, characters 0-1:
Error: Error while building custom runtime system