From: Richard P. <ri...@in...> - 2001-01-07 03:44:20
|
On Sat, 06 Jan 2001, Mo DeJong wrote: > > On Sat, 6 Jan 2001, Richard Pennington wrote: > > > Hi, > > > > I've been using mingw in a cross compilation environment for quite > > a while. > > > > I use it to build Tcl/Tk for Windows, among other things. I was using > > Tcl/Tk 8.2.3 and decided to upgrade to 8.4a2 today. > > > > I ran into a problem with _beginthreadex and _endthreadex from > > MSVCRT being undefined. I had built mingw from gcc 2.95.2 sources > > and didn't specify CRTDLL vs. MSVCRT. I assume CRTDLL is the default? > > > > What do I need to do to rebuild so I can use MSVCRT? > > > > Thanks in advance, > > > > Rich > > Yes. You will also need to get the msvcrt includes and libs. > Try the attached cross compiler build script for mingw+msvcrt, > it works for me (your mileage may vary). > > Mo DeJong > Red Hat Inc Thanks Mo, That did the trick. Now I just have to decide if 8.4a2 is really slower or if it just seems that way because it is late and I've been banging on this port since early this morning. ;-) The *nix 8.4a2 seems pretty snappy, though. -Rich ---------------------------------------- Content-Type: TEXT/PLAIN; name="build_cross_mingw32.sh" Content-Transfer-Encoding: BASE64 Content-Description: ---------------------------------------- -- Richard Pennington Introl Corporation, Milwaukee, WI USA Email: ri...@in... Tel: +414-273-6100 Fax: 414-273-6106 Cross development tools for the 68HC05, 68HC08, 6809, 68HC11, 68HC12, 68HC16, and 68XXX: http://www.introl.com ftp://ftp.introl.com |