delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/26/00:56:38

From: Patrick Dawson <pkdawson AT geocities DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: GCC
Date: Tue, 25 Mar 1997 08:16:36 -0800
Organization: LI Net (Long Island Network)
Lines: 6
Message-ID: <3337FA64.5138@geocities.com>
Reply-To: pkdawson AT geocities DOT com
NNTP-Posting-Host: lisuser72.li.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm having trouble compiling a file with GCC. I used 
'gcc simple.c -o simple.exe -lm'.
I got the error message 'ld.exe:cannot open -lm:File is in wrong
format'.
I tried it without the -lm but got a similar message. Can anyone help?
	-pkdawson AT geocities DOT com

- Raw text -


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