delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/11/19/20:45:34

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Wolfgang Schlegel" <wolfgang DOT schlegel AT arcor DOT de>
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<N3TgV]Gb9Gc??DOY80n8
X-Complaints-To: abuse AT arcor-online DOT net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

    Thank you, problem solved, learned something new.

    regards,

    Wolfgang

"J. L." <jlsgarrido AT yahoo DOT com> 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.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019