Re: static building with mingw ?
From: Ulrich Lauther (lauther_at_mchp.siemens.de)
Date: 05/03/04
- Next message: francois: "Re: newbie question"
- Previous message: Arjen Markus: "Re: Sensitivity training? [Was: Re: TIP #189: Tcl Modules"
- In reply to: mjkarki_at_cs.Helsinki.FI: "Re: static building with mingw ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 3 May 2004 08:19:42 +0000 (UTC)
mjkarki@cs.Helsinki.FI wrote:
: Ulrich Lauther <lauther@mchp.siemens.de> wrote:
: > I am trying to build a tcl/tk-8.4.6 application using mingw.
: >
: ...
: >
: > What did I do wrong?
: Good question. I don't know. I've been wrestling with similar problem
: lately. I've compiled myself Tcl84 and Tk84 with MinGW and MSYS and
: tried to compile some of my Tcl extensions with MinGW. I tried all
: kinds of different compiler/linker options and always received similar
: error messages than you have. Finally I found out that with gcc it is
: possible to do linking without other dev. libraries. This command-line
: works for me and seems to solve all linking problems:
: gcc -I C:\Tcl\include -shared -s -o test.dll test.c C:\Tcl\bin\tcl84.dll
: Notice the usage of the DLL at the end of the command.
well, thanks for your response, but linking with the dll was no problem for
me (though the resulting executable crashes :-( ).
But the problem appears, when I try to use the static libs.
-- -lauther [nosave] ---------------------------------------------------------------------------- Ulrich Lauther ph: +49 89 636 48834 fx: ... 636 42284 Siemens CT SE 6 Internet: Ulrich.Lauther@siemens.com
- Next message: francois: "Re: newbie question"
- Previous message: Arjen Markus: "Re: Sensitivity training? [Was: Re: TIP #189: Tcl Modules"
- In reply to: mjkarki_at_cs.Helsinki.FI: "Re: static building with mingw ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|