delorie.com/archives/browse.cgi | search |
From: | Ulrich DOT Lauther AT mchp DOT siemens DOT de (Ulrich Lauther) |
Subject: | using VC++ libs with gnuwin g++ ? |
26 Jun 1997 03:38:31 -0700 : | |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <199706260956.LAA07138.cygnus.gnu-win32@cayley.mchp.siemens.de> |
Mime-Version: | 1.0 |
Original-To: | gnu-win32 AT cygnus DOT com |
X-Mailer: | ELM [version 2.4ME+ PL28s (25)] |
Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
I tried to link my gnuwin-generated .o files with static tcl/tk libs that I compiled with VC 5.0. I get lots of warnings [part of path deleted]/ld: /dos/tcltk/tk42n.lib(./Release/tkWindow.obj): warning: ignoring duplicate section `.text' and error messages: C:\Src\Tcl7.6\:563: undefined reference to `errno' /dos/tcltk/tcl76n.lib(./Debug/tclWinFCmd.obj): In function `TraverseWinTree': C:\Src\Tcl7.6\:496: undefined reference to `_imp__GetFileAttributesA AT 4' C:\Src\Tcl7.6\:521: undefined reference to `_imp__FindFirstFileA AT 8' C:\Src\Tcl7.6\:528: undefined reference to `_imp__GetLastError AT 0' C:\Src\Tcl7.6\:535: undefined reference to `_imp__FindClose AT 4' C:\Src\Tcl7.6\:573: undefined reference to `_imp__FindNextFileA AT 8' C:\Src\Tcl7.6\:577: undefined reference to `_imp__FindClose AT 4' Questions: are the duplicate .text section warnings harmful? To get rid of the undefined references, do I have to include some gnuwin32 libs, or should I use libs from VC++? Is what I am trying to do feasible at all? And a related question: Has somebody compiled static tcl/tk libs under gnuwin32? -ulrich ---------------------------------------------------------------------------- Ulrich Lauther ph: +49 89 636 48834 fx: ... 636 42284 Siemens ZT AN 1 Internet: Ulrich DOT Lauther AT mchp DOT siemens DOT de - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |