delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/15/00:58:50

From: sjl AT pl DOT jaring DOT my
Date: Mon, 15 Dec 1997 13:54:04 +0800 (MYT)
Message-Id: <199712150554.NAA26330@relay2.jaring.my>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Help! Newbie in trouble!

Hi everyone! I am a perfect dunce in the C++ world and I'm just starting to
learn the basics. Problem is, I don't even know how to link my program. I
type the following:

gcc myfile.c -o myfile.exe -lm

And I get a message like this:

c:/djgpp/bin\ld.exe: cannot open -lm: Too many open files in system (ENFILE)

What am I doing wrong ? What shall I do? Thanks a million!! :)

Chip

- Raw text -


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