Pelles C forum

C language => Beginner questions => Topic started by: kaledw on December 30, 2016, 11:35:24 PM

Title: including libraries during compiling
Post by: kaledw on December 30, 2016, 11:35:24 PM
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
Title: Re: including libraries during compiling
Post by: TimoVJL on December 31, 2016, 02:48:44 AM
Try first cc name.c
What errors you see after that?