delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/11/19/11:16:23

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Wed, 19 Nov 2003 11:16:00 -0500
Message-Id: <200311191616.hAJGG0FS001713@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <3fbb8c90$0$11887$9b4e6d93@newsread2.arcor-online.net>
(wolfgang DOT schlegel AT arcor DOT de)
Subject: Re: GCC Lib Search Path
References: <3fbb8c90$0$11887$9b4e6d93 AT newsread2 DOT arcor-online DOT net>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

>      gcc test.cpp -o test.exe libm.a

You should use -lm, not libm.a

- Raw text -


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