public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* Error in ANNOUNCE
@ 2000-01-06  2:18 Erik Hensema
  0 siblings, 0 replies; only message in thread
From: Erik Hensema @ 2000-01-06  2:18 UTC (permalink / raw)
  To: 'Pthreads-win32'

[-- Attachment #1: Type: text/plain, Size: 550 bytes --]

Hi,

The file ANNOUNCE still mentiones there's no makefile available for MSVC (in
"Building the library with MSVC"), while it actually is.

If I may suggest a new text:

A simple makefile for building the library with MSVC is available. The
Makefile by default links the library to MSVCRT.DLL. If your application
uses another C runtime library like LIBCMT.LIB, please edit the Makefile to
avoid conflicts between C-libraries.
EOT

Also, I made a diff to the makefile.

-- 
Erik Hensema
Work: erik.hensema@group2000.nl
Home: erik@hensema.xs4all.nl



[-- Attachment #2: makefile.diff --]
[-- Type: text/plain, Size: 721 bytes --]

6a7,11
> #
> # The variable CLIB holds the compiler switch used for linking to the C libray.
> # The default setting is to link to MSVCRT.DLL, but you will have to change
> # this if your application is using another library, like LIBCMT.LIB (obviously
> # you can't use LIBC.LIB, since it's not thread-safe), change this variable.
12a18,22
> # Choose the C-library, /MD for MSVCRT.DLL or /MT for LIBCMT.LIB. The switch
> # must be the same as you use for your application and all modules it uses!
> 
> CLIB=/MD
> 
46c56
< 	cl /LDd /Zi /MD $(OBJ) /Fepthread.dll pthread.def
---
> 	cl /LDd /Zi $(CLIB) $(OBJ) /Fepthread.dll pthread.def
49c59
< 	cl /W3 /MD /nologo /Yd /Zi /I. \
---
> 	cl /W3 $(CLIB) /nologo /Yd /Zi /I. \

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-06  2:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-06  2:18 Error in ANNOUNCE Erik Hensema

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).