X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3C682E5A.C88B0DA4@phekda.freeserve.co.uk> Date: Mon, 11 Feb 2002 20:49:30 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Gcc -l References: <20020211160140 DOT 36997 DOT qmail AT web20810 DOT mail DOT yahoo DOT com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Reply-To: djgpp AT delorie DOT com cesar tejeda wrote: > > --- jade escribió: > This line > > gcc -l libsocket.a connect.c > > gives me this message > > c:/djgpp/bin/ld.exe cannot find -llibsocket.a > > Why? > > > > > and if you try gcc -lsocket.a connect.c? That won't work, because the linker will look for libsocket.a.a. You probably want this: gcc -lsocket connect.c Regards, -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]