--- Log opened Thu Sep 08 00:00:02 2016 | ||
olofk | Trying to do a quick port of a Linux program to run on a bare-metal OpenRISC with newlib | 02:29 |
---|---|---|
olofk | Linker fails to find things like round and usleep | 02:29 |
olofk | I'll probably get rid of the fp calculations to avoid the need for round, but why isn't usleep available? | 02:30 |
olofk | hmm.. looking at the newlib source code it seems to be mostly available in the posix layer | 02:31 |
_franck__ | olofk: I would say such a function has to be platform dependant | 02:33 |
_franck__ | if needs to know the system frequency or have a known timer | 02:34 |
olofk | True | 02:51 |
olofk | But we expose the frequency in the board file in libgloss | 02:51 |
_franck__ | define HAVE_NANOSLEEP and implement nanosleep ? (just a guess from what I found in a quick search) | 02:57 |
olofk | Cool. I should try that | 02:57 |
olofk | Just learned that usleep is deprecated anyway | 03:25 |
-!- Dan__ is now known as Guest71165 | 07:57 | |
-!- Guest71165 is now known as ZipCPU | 07:58 | |
--- Log closed Fri Sep 09 00:00:03 2016 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!