Hi, If you unpack a clean 2.3.6 distribution, cd into the top directory and apply the enclosed patch via
patch -p0 < mingw.patch touch aclocal.m4 config.h.in configure It should fix the problems. You may get a warning about automake-1.9 not being available when you "configure and make", but you can ignore that. Regards, Freddie -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cesar Rabak Sent: 27 September 2007 03:49 To: [email protected] Subject: [Help-smalltalk] Re: Compiling gst with mingw32 > Message: 3 > Date: Wed, 26 Sep 2007 06:29:45 +0200 > From: Paolo Bonzini <[EMAIL PROTECTED]> > Subject: [Help-smalltalk] Re: Compiling gst with mingw32 > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Cesar Rabak wrote: > > After some years used to run GNU smalltalk in Linux boxes, I've come > > to a job where workstations and the products are Microsoft Windows. > > > > So I'm trying to produce an installable package for Windows. > > 2.3.6 should work; 2.95d will before becoming 3.0 but not yet, as you > found out. > I downloaded 2.3.6 extracted and fired configure. Same results... > > I would surmise that configure machinery would find a way around (in > > fact it would have to find ways around mkstemp, ftruncate, strsep, > > etc.), or no? > > Yes, in lib-src there are ports for many of these functions. This is the mystery: up to the error in compiling interp.c, the lib-src already have the port of functions compiled! The issue appears to be that no header file is generated by configure to have prototypes for those functions. So when prims.def is included, gcc barfs at "implicit declaration of function ..." and non existent macros like "ENOTSOCK" generate errors stopping the build process. Regards, -- Cesar Rabak _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
mingw.patch
Description: mingw.patch
_______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
