-->
Page 1 of 1

ld flag to get access to gmtime and mktime

PostPosted: Thu Aug 20, 2015 4:02 am
by limpkin
Hey everyone,

I've recently been playing with cnlohr's latest project (https://github.com/cnlohr/esp8266ws2812i2s) but can't use the <time.h> gmtime and mktime functions.
As I could use them with sprite_tm's makefile for the httpd project, I'd be curious to know which flags I should specify to get the linker to find these functions?

I've been searching without success...
Thanks!

Re: ld flag to get access to gmtime and mktime

PostPosted: Thu Aug 20, 2015 4:57 am
by limpkin
adding -lc -lgcc worked!

Re: ld flag to get access to gmtime and mktime

PostPosted: Tue Jan 26, 2016 3:22 pm
by ivanroberto
Thanks friend!

You help me a lot. :D