* change for Digital Mars Compiler
@ 2004-06-13 7:32 Anuj Goyal
2004-06-30 8:12 ` Anuj Goyal
0 siblings, 1 reply; 2+ messages in thread
From: Anuj Goyal @ 2004-06-13 7:32 UTC (permalink / raw)
To: pthreads-win32
Has anyone thought about using the Digital Mars Compiler to compile
pthread-win32?
I have taken the first steps....
can someone please make this change to pthread.h?
160c160
< #if defined(_MSC_VER) && _MSC_VER < 1300 || defined(__DMC__)
---
> #if defined(_MSC_VER) && _MSC_VER < 1300
This is my first time contributing to an open source project so I
don't know which mailing list to use.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: change for Digital Mars Compiler
2004-06-13 7:32 change for Digital Mars Compiler Anuj Goyal
@ 2004-06-30 8:12 ` Anuj Goyal
0 siblings, 0 replies; 2+ messages in thread
From: Anuj Goyal @ 2004-06-30 8:12 UTC (permalink / raw)
To: pthreads-win32
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-30 8:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-13 7:32 change for Digital Mars Compiler Anuj Goyal
2004-06-30 8:12 ` Anuj Goyal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).