From: Patrick Dawson 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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