Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Tue, 2 May 2000 17:18:29 +0200 (MET DST) From: Bobak Csaba X-Sender: h531649 AT sirius To: cygwin AT sourceware DOT cygnus DOT com Subject: Newbie: libProblem.a Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi all! After searching the archives I have to ask this: How do I compile my prg of two libs and an executable if one of the libs calls functions from the other one? Simplified case: a.c: ... int foo_a(int x) { return x+1; } ... b.c: ... extern foo_a(int); ... int foo_b(int y) { return foo_a(y-1); } ... main.c: ... extern foo_b(int); ... cout<