www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/30/08:10:05

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: help! everything that I compile crashes
Date: 30 Apr 1997 10:07:23 GMT
Organization: Oxford University, England
Lines: 11
Distribution: world
Message-ID: <5k75kr$j15@news.ox.ac.uk>
References: <01bc542a$960c9d60$LocalHost AT mo-hefty> <336478B4 DOT 381F AT SPAMcs DOT com> <fjv+lDAAutZzEws4 AT jenkinsdavid DOT demon DOT co DOT uk>
NNTP-Posting-Host: sable.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

David Jenkins (me AT jenkinsdavid DOT demon DOT co DOT uk) wrote:
: I haven't compiled from a Dos session since I got Rhide.
: But shouldn't -lm be added to the command line??

The `-lm' would tell gcc that when it links the final executable it should
include the maths library. Most programs don't need this. I can't see any
way failure to link it in could cause the error message reported.

-- 
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford

- Raw text -


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