Article View: gnu.gcc.help
Article #41757Re: GCC won't Link with Math functions
From: Cord Elias
Date: Fri, 23 Feb 1996 00:00
Date: Fri, 23 Feb 1996 00:00
14 lines
925 bytes
925 bytes
Try the following command-line: gcc -g -o output_name name.c -lm I made the experience, that it is important to have '-lm' at the end of the command-line. Regards, Cord ----------------------------------------------------- Cord Elias cord@ind.rwth-aachen.de
Technical Details
Message-ID:
<4gk2ap$c1@news.rwth-aachen.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4etf9j$c75$1@mhafc.production.compuserve.com> <speed.30.000D35DA@earthlink.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,c8c72a5da0bb27a7 X-Google-Attributes: gid11318c,public From: Cord Elias <cord@ind.rwth-aachen.de> Subject: Re: GCC won't Link with Math functions Date: 1996/02/23 Message-ID: <4gk2ap$c1@news.rwth-aachen.de> X-Deja-AN: 140673331 references: <4etf9j$c75$1@mhafc.production.compuserve.com> <speed.30.000D35DA@earthlink.net> content-type: text/plain; charset=us-ascii organization: RWTH -Aachen / Rechnerbetrieb Informatik x-url: news:speed.30.000D35DA@earthlink.net mime-version: 1.0 newsgroups: gnu.gcc.help x-mailer: Mozilla 1.1N (X11; I; SunOS 5.4 sun4m)