From: Matthieu Dubuget <matthieu.dubuget@gmail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] OCaml compilation
Date: Fri, 28 May 2010 14:43:54 +0200 [thread overview]
Message-ID: <4BFFBA8A.4030804@gmail.com> (raw)
In-Reply-To: <4BFF9589.6030308@gmail.com>
>> 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:
../../../typing
../../../utils
../../../parsing
../support
../lib
../labltk
../../../otherlibs/systhreads
../../../otherlibs/str
../../../otherlibs/win32unix
../../../stdlib
/lib/mingw
/lib
/lib/w32api
/usr/lib/gcc/i686-pc-mingw32/3.4.4
** Default libraries:
crt2.o
-lmingw32
-lgcc
-lmoldname
-lmingwex
-lmsvcrt
-luser32
-lkernel32
-ladvapi32
-lshell32
+ 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:
_Tcl_AppendResult
_Tcl_CreateChannelHandler
_Tcl_CreateCommand
_Tcl_CreateInterp
_Tcl_CreateTimerHandler
_Tcl_DStringAppend
_Tcl_DStringFree
_Tcl_DStringInit
_Tcl_DeleteChannelHandler
_Tcl_DeleteTimerHandler
_Tcl_DoOneEvent
_Tcl_Eval
_Tcl_EvalFile
_Tcl_ExternalToUtfDString
_Tcl_Finalize
_Tcl_FindExecutable
_Tcl_Free
_Tcl_GetCommandInfo
_Tcl_GetInt
_Tcl_GetVar
_Tcl_Init
_Tcl_MakeFileChannel
_Tcl_MakeTcpClientChannel
_Tcl_Merge
_Tcl_ResetResult
_Tcl_SetResult
_Tcl_SetVar
_Tcl_SplitList
_Tcl_TraceVar
_Tcl_UntraceVar
_Tcl_UntraceVar2
_Tcl_UtfToExternalDString
_Tk_GeometryRequest
_Tk_Init
_Tk_MainLoop
_Tk_MainWindow
+ 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
next prev parent reply other threads:[~2010-05-28 12:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-27 20:38 Matthieu Dubuget
2010-05-28 7:01 ` [Caml-list] " David Allsopp
2010-05-28 10:04 ` Matthieu Dubuget
[not found] ` <4BFF7AB7.6080003@gmail.com>
[not found] ` <1275036886.4305.5.camel@Nokia-N900-02-8>
2010-05-28 10:06 ` Matthieu Dubuget
2010-05-28 12:43 ` Matthieu Dubuget [this message]
2010-06-08 9:24 ` Matthieu Dubuget
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BFFBA8A.4030804@gmail.com \
--to=matthieu.dubuget@gmail.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).