X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Wolfgang Schlegel" Newsgroups: comp.os.msdos.djgpp References: <3fbb8c90$0$11887$9b4e6d93 AT newsread2 DOT arcor-online DOT net> <00c501c3aeec$60fcf010$5929120b AT T21jSANCHEZ2> Subject: Re: GCC Lib Search Path Date: Thu, 20 Nov 2003 02:32:54 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Lines: 18 Message-ID: <3fbc19a3$0$11889$9b4e6d93@newsread2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 20 Nov 2003 02:32:20 MET NNTP-Posting-Host: 212.144.6.66 X-Trace: DXC=08m16cO[fI2GKQ1;SL\gZ1Q5U85hF6f;4jW\KbG]kaM8]kI_X=5Kea6ngHX`j=f`38RG4U09^PIi1W_K3PYPd1h:H schrieb im Newsbeitrag news:00c501c3aeec$60fcf010$5929120b AT T21jSANCHEZ2... > > Because you need invoke with option -l ('ell', not 1) in the > following form: > > gcc test.cpp -o test.exe -lm > > i.e, you omit the 'lib' prefix, and the part '.a' of the name of > library.