including libraries during compiling

Started by kaledw, December 30, 2016, 11:35:24 PM

Previous topic - Next topic

kaledw

I have some c code that I previously compiled on both a mac and windows pc.  The command I use is: 
cc -g -lm -o name name.c
I need to know how to include the options -g and -lm when doing a command-line compilation using the Pelles C compiler.  Any help would be appreciated.  Thanks.

Kelly

TimoVJL

Try first cc name.c
What errors you see after that?
May the source be with you