| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4B1D7973.7010603@gmail.com> |
| Date: | Mon, 07 Dec 2009 21:53:55 +0000 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Help with errors while compiling |
| References: | <26683356 DOT post AT talk DOT nabble DOT com> <4B1D68ED DOT 8090501 AT gmail DOT com> <26684236 DOT post AT talk DOT nabble DOT com> |
| In-Reply-To: | <26684236.post@talk.nabble.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Afflictedd2 wrote:
> Well,
>
> Now that you say that. I will simplify my makefile, but then it doesn't know
> what pthread_create is.. or anything related to pthread.
> C:\Users\Viper\Documents\Cpp\Pthreads>"C:\Program Files\SlickEdit
> 2009\win\vsbuild" -signal 9009 -command make -f "Makefile" CFG=Debug
> VSLICKERRORPATH="C:\Users\Viper\Documents\Cpp\Pthreads"
Hey, no fair, you never mentioned all that before!
> mingw32-make: *** [Debug/Pthreads.o] Error 1
And you're not even using cygwin make. Clearly this "vsbuild" thing has no
idea how to drive Cygwin's gcc and it's getting all your paths and environment
variables mixed up.
> The Pthreads.cpp file is perfect, I've tried it in Linux..
And I've tried it in Cygwin:
> $ mkdir Debug
>
> admin AT ubik /tmp/pthread
> $ g++ -c -g -o "Debug/Pthreads.o" Pthreads.cpp
>
> admin AT ubik /tmp/pthread
> $ echo $?
> 0
>
> admin AT ubik /tmp/pthread
> $
... so it's all down to some problem in the IDE you're using. Which seems to
be expecting to work with visual studio. No wonder the poor thing's confused!
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |