From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11563 invoked by alias); 30 Jun 2004 08:12:44 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 11548 invoked from network); 30 Jun 2004 08:12:42 -0000 Received: from unknown (HELO mproxy.gmail.com) (216.239.56.252) by sourceware.org with SMTP; 30 Jun 2004 08:12:42 -0000 Received: by mproxy.gmail.com with SMTP id u33so356914cwc for ; Wed, 30 Jun 2004 01:12:40 -0700 (PDT) Received: by 10.38.165.74 with SMTP id n74mr16487rne; Wed, 30 Jun 2004 01:12:40 -0700 (PDT) Message-ID: <2f225d010406300112163ecb8@mail.gmail.com> Date: Wed, 30 Jun 2004 08:12:00 -0000 From: Anuj Goyal To: pthreads-win32@sources.redhat.com Subject: Re: change for Digital Mars Compiler In-Reply-To: <2f225d01040613003229fdd370@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <2f225d01040613003229fdd370@mail.gmail.com> X-SW-Source: 2004/txt/msg00078.txt.bz2 Ross, I have made a few other changes that should allow digital mars to build the win32-pthread library (at least with C cleanup, the C++ and SEH ones will come later) /* config.h */ 83 #ifdef __DMC__ 84 #define HAVE_SIGNAL_H 85 #define HAVE_C_INLINE 86 #endif This rest of the stuff is from grep, let me know if you have trouble merging it. It's not the cleanest code, but the changes are pretty basic. create.c:171:#if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) pthread_exit.c:91:#if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) pthread_join.c:121:#if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) ptw32_threadDestroy.c:75:#if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) ptw32_threadStart.c:125:#if ! defined (__MINGW32__) || (defined (__MSVCRT__) && ! (__DMC__)) ptw32_threadStart.c:361:#if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) ptw32_threadStart.c:371:#if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) ptw32_throw.c:89:#if ! defined (__MINGW32__) || defined (__MSVCRT__) || (__DMC__) could you put these two in a dmc.bat file? At some point, I will make a proper mak file, but these work for now. /* RELEASE */ dmc -D_WIN32_WINNT -D_MT -DHAVE_CONFIG_H -I.;c:\dm\include -o+all -WD pthread.c user32.lib+kernel32.lib+wsock32.lib -L/impl -L/NODEBUG -L/SU:WINDOWS /* DEBUG */ dmc -g -D_WIN32_WINNT -D_MT -DHAVE_CONFIG_H -I.;c:\dm\include -o+all -WD pthread.c user32.lib+kernel32.lib+wsock32.lib -L/impl -L/SU:WINDOWS