Jump to content


Photo

Need help for compile, please


  • Please log in to reply
2 replies to this topic

#1 DrData

  • Senior Member
  • 99 posts

+2
Neutral

Posted 23 April 2012 - 11:48

Hi.
Need help, please.
could anyone compile the little c-file for me ?

This is a command line tool to calculate the time of sunsise and sunsets.
It is usefull to show sunrise and sunset times in skins or external displays.
I test it here and it works, but I can not cross-compile it for Mipsel.
If you run rscalc2 without parameters you got a help screen with options and example.
to compile:


gcc -ldl -lm rscalc2.c -o rscalc2


but with target=mipsel , please.


Tnx in advance

Attached Files



Re: Need help for compile, please #2 radxnl

  • Senior Member
  • 1,527 posts

+57
Good

Posted 23 April 2012 - 13:28

here ya go ;)

Attached Files



Re: Need help for compile, please #3 DrData

  • Senior Member
  • 99 posts

+2
Neutral

Posted 23 April 2012 - 13:48

Hi radxnl.
Tnx a lot! :D It works!

I have attached a screenshoot of my SeconInfoBar. So anyone can see how nice it could be look (right top corner).
Temperatur is working. The time for sunrise and sunset are dummys at the moment. But soon I will make it work.

Attached Files




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users