X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; q=dns; s=default; b=DiXY9z+9AwQhycbSC7VujwJmg02ze
	Q7G0BqEEZyto9q5Uif21qgDnKDDrEt9t/zxSgthEhm9Y3F1IhmtoFgRBwlXEnC1X
	hAjU6Hqs4pnqRbzPmbZA5jYcXXM9pWw4pyogrl37+crJdWt29R7zovocHiJMoZr9
	WV05PSVcRg3o6o=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; s=default; bh=YYhXVag6YxxuAlysBN/r4fck4Yk=; b=mHw
	rxvYJ4cIbhcCrmiJvWL3bQjinD2qMIR7H2oBnyEVo/zwyyF8x6hhyMu86UO4ym7K
	CFJmPYo2qHgHoKfV4atvGHhCZ80qS/sUNyf29g7YXsjPHHblPIwi8vb5HO6chEne
	g5N1PPNbLCN99rCf1rZXQMqDxEczehM/Rg85r96Q=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f182.google.com
MIME-Version: 1.0
X-Received: by 10.180.91.194 with SMTP id cg2mr6093329wib.12.1405092420336; Fri, 11 Jul 2014 08:27:00 -0700 (PDT)
Date: Fri, 11 Jul 2014 10:27:00 -0500
Message-ID: <CANXECd454H4Nh8QtQf-2gG=s8dcmayhLxmcckKUb+0HyX+hMzg@mail.gmail.com>
Subject: Using fork() and pthread() OR how to link against cygwin?
From: =?UTF-8?Q?Ismael_Farf=C3=A1n?= <sulfurfff@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

Hello list

I've been searching allover the internet for "fork gcc cygwin linker"
and stuff like that without much look :(

In my test I use pthreads, fork, waitpid, random and other POSIX
stuff, so the linker returns "LNK2019 unresolved external symbol..."

What do I have to pass the compiler to get those functions?

We use the ictl (intel) compiler, but gcc hasn't worked either.

Regards
Farfan



-- 
Do not let me induce you to satisfy my curiosity, from an expectation,
that I shall gratify yours. What I may judge proper to conceal, does
not concern myself alone.

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

