This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem building tcl/tk 8.0.3 using egcs-1.1.2/msvcrt40


--- Paul Thiessen <paul@grserv.med.jhmi.edu> wrote:
> Hi. I'm using Mumit Khan's mingw32/egcs-1.1.2 with his msvcrt40-runtime
> stuff installed. I'm trying to build tcl 8.0.3, with source patches again
> provided by Mr. Khan, which compiles fine w/o the msvcrt40 update. I have
> a couple of questions:
> 
> 1) What's the advantage of using msvcrt? Should I bother with Q #2, or
> is it not worth it?
> 
> 2) When I do the compile (using the provided Makefile.gnu), dllwrap gives
> me errors of the sort:
> 
> ./tclEnv.o(.text+0x365):tclEnv.c: undefined reference to
> `__imp__environ_dll'
> ./tclWinTime.o(.text+0x21):tclWinTime.c: undefined reference to
> `__imp__timezone_dll'
> ./tclWinTime.o(.text+0x4ad):tclWinTime.c: undefined reference to
> `__imp__daylight_dll'
> 


Make sure that the __MSVCRT__ macro is defined when compiling.  This should be
on if the right specs file is being used.

===
"Earnie Boyd" <mailto:earnie_boyd@yahoo.com>
CYGWIN RELATED HELP:
 DOCUMENTATION: <http://sourceware.cygnus.com/cygwin/docs.html>
       DLLHELP: <http://www.xraylith.wisc.edu/~khan/software/gnu-win32/>
ARCHIVE SEARCH: <http://www.delorie.com/archives/> OR
                <http://www.eGroups.com/list/gnu-win32/>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com