[fpc-pascal]question - linking under Linux

pfv at cooldown.demon.nl pfv at cooldown.demon.nl
Fri Sep 8 10:48:00 CEST 2000


> Hello,
> I have a problem. If I tried to compile some program under Linux, I got this 
message:
> (dots represent some not important text :-)))
> 
> Free Pascal .....
> Compiling ......
> Assembling ...
> Linking...
> /usr/bin/ld: cannot open -lm: not file or directory
> Warning: Error while linking
> Closing script ppas.sh
> 95 lines compiled, ...
> 
> What's the reason of this error ? Is it any bad set of path ?
It's isn't a pascal specific problem.

Do you have the development files of libc installed?

Can you compile C programs on you machine?


Peter






More information about the fpc-pascal mailing list