X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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: Subject: Using fork() and pthread() OR how to link against cygwin? From: =?UTF-8?Q?Ismael_Farf=C3=A1n?= To: cygwin AT cygwin DOT 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