On 2020-12-29, Aharon Robbins <
arn...@skeeve.com> wrote:
> Back in the day, did anyone manage to bootstrap GCC on a Unix PC / 3B1?
> I know that I did it, but I don't remember which version I used.
>
> Under the emulator, I am trying to bootstrap GCC 2.95.3 but it fails
> at configure time, apparently because there is no gettimeofday function.
>
> I suppose I could cobble one up and fake it into libc, but if there's
> a sure-fire recipe that anyone remembers, I'd appreciate hearing it.
Hmmm .... how about the localtime3 library? It is the
implementation of the time zones and DST start/end from 1989.
I have it in the form of seven shar files, ranging in size from
28k to 58k. (Of course, the database part of it needs to be tweaked for
current DST start/stop dates, but it is more likely to compile on the
3B1's standard compiler. I used it for any programs which I compiled on
the 3B1 which cared about time.
Anyway -- it includes a localtime.c as part of it.
I just extracted all the SHAR files, and then made a compressed tar of
it, which is 78K in size.
I can try to e-mail it to you, if you wish. Not sure whether it
will reach you -- a lot of ISPs don't accept e-mail from my server.
Good Luck,
DoN.
--
Remove oil spill source from e-mail
Email: <
BPdnic...@d-and-d.com> | (KV4PH) Voice (all times):
(703) 938-4564
(too) near Washington D.C. |
http://www.d-and-d.com/dnichols/DoN.html
--- Black Holes are where God is dividing by zero ---