From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28485 invoked by alias); 6 Dec 2002 12:56:46 -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 28186 invoked from network); 6 Dec 2002 12:56:44 -0000 Received: from unknown (HELO www.databackbone.dk) (130.227.63.226) by sources.redhat.com with SMTP; 6 Dec 2002 12:56:44 -0000 Subject: Re: gcc version and __declspec To: Thomas Pfaff Cc: pthreads-win32@sources.redhat.com Message-ID: From: npf@databackbone.dk Date: Fri, 06 Dec 2002 04:56:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-SW-Source: 2002/txt/msg00120.txt.bz2 Thanks - I downloaded, installed and copied our source files - and it ate it :) ------------------------------------------------------------------------------------- Niels Peter Frandsen Thomas Pfaff Sent by: To: npf@databackbone.dk pthreads-win32-owner@sources. cc: pthreads-win32@sources.redhat.com redhat.com Subject: Re: gcc version and __declspec 06-12-2002 12:35 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 */ > >