From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8287 invoked by alias); 6 Dec 2002 11:35:24 -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 8277 invoked from network); 6 Dec 2002 11:35:21 -0000 Received: from unknown (HELO four-d.de) (129.247.190.4) by sources.redhat.com with SMTP; 6 Dec 2002 11:35:21 -0000 Received: (from mail@localhost) by four-d.de (8.9.3/8.9.3) id MAA07421; Fri, 6 Dec 2002 12:35:19 +0100 X-Authentication-Warning: atacama.four-d.de: mail set sender to using -f Received: from algeria.intern.net(192.168.2.71) by atacama.four-d.de via smap (V2.1+anti-relay+anti-spam) id xma007410; Fri, 6 Dec 02 12:35:13 +0100 Date: Fri, 06 Dec 2002 03:35:00 -0000 From: Thomas Pfaff To: npf@databackbone.dk cc: pthreads-win32@sources.redhat.com Subject: Re: gcc version and __declspec In-Reply-To: Message-ID: X-X-Sender: pfaff@antarctica.intern.net MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002/txt/msg00119.txt.bz2 According to your path i assume that you are using the djgpp gcc. This compiler does not built WIN32 executables but 32 bit DPMI applications. To use pthreads-win32 with gcc get the mingw package from http://www.mingw.org. Thomas On Fri, 6 Dec 2002 npf@databackbone.dk wrote: > I have browsed the mailing list archives for info - ahem..but > > I'm new to the whole GNU thing - been working with M$ VC6+ - so bear > with > me :) > > Well, I get the following compiler error : > > H:\AIX\GNU\DJGPP>gxx -c -Wall include\cdb\component.cpp > > In file included from include/threads/pthreads/pthread.h:244, > from include/cdb/component.h:52, > from include/cdb/component.cpp:543: > include/threads/pthreads/sched.h:70:3: #error Please upgrade your GNU > compiler to one that supports __declspec. > > I use gcc version 3.2.1 (the latest) - so I'm a little confused.. > > should some dll's be installed as well for pthread? > ------------------------------------------------------------------------ > ------------- > > Niels Peter Frandsen > M.Sc.Physics, Ba.Sc.Comp > Senior Developer @ > ------------------------------------------------------------------------ > ------------- > > Data Backbone Software A/S > npf@databackbone.com > http://www.databackbone.com > /** Linking Software Together */ > >