Mail Archives: djgpp/1997/12/15/03:19:04
On Mon, 15 Dec 1997 sjl AT pl DOT jaring DOT my wrote:
> 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
>
Try setting this in your config.sys file:
FILES=60
Yes, it's maybe excessive, but GCC opens a lot of temp files when
compiling...
- Raw text -