Re: Tangent on a Tcl advantage
From: Erik Leunissen (look_at_the.footer.invalid)
Date: 12/13/04
- Next message: Helmut Giese: "Re: Tangent on a Tcl advantage"
- Previous message: Arjen Markus: "Re: Is strcat in disgrace by Tcl sources?"
- In reply to: Helmut Giese: "Re: Tangent on a Tcl advantage"
- Next in thread: Helmut Giese: "Re: Tangent on a Tcl advantage"
- Reply: Helmut Giese: "Re: Tangent on a Tcl advantage"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 13 Dec 2004 11:41:52 +0100
Helmut Giese wrote:
> ...
> Well, it is. However, the format of lib files is vendor specific.
> If you prefer using the GCC compiler, try building tclstub84.lib with
> it and then linking should work.
> ...
Helmut,
This is interesting. It also confuses me a bit. I'd really like to
understand your solution. Did you mean that the following works:
- build tclstub84.lib, using GCC
- compile "MyTclExtension" using GCC into "MyTclExtension.obj"
- build the shared lib "MyTclExtension.dll", linking
"MyTclExtension.obj" against the GCC built tclstub84.lib, using GCC
- load "MyTclExtension.dll" (GCC built) into a tclsh.exe (MSVC built)
The reason I ask is that the above implies:
- that one *cannot* link libs or object files built with different compilers
- that one *can* load into an app a shared lib that has been built with
another compiler than the one with which the app was built.
This appears contradictory to me at first glance, but might be due to my
limited understanding of details regarding linking and loading (or I
just misunderstood what you meant).
Thanks in advance for your help,
Erik Leunissen
-- leunissen@ nl | Merge the left part of these two lines into one, e. hccnet. | respecting a character's position in a line.
- Next message: Helmut Giese: "Re: Tangent on a Tcl advantage"
- Previous message: Arjen Markus: "Re: Is strcat in disgrace by Tcl sources?"
- In reply to: Helmut Giese: "Re: Tangent on a Tcl advantage"
- Next in thread: Helmut Giese: "Re: Tangent on a Tcl advantage"
- Reply: Helmut Giese: "Re: Tangent on a Tcl advantage"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|