• Building GCC?

    From Aharon Robbins@21:1/5 to All on Tue Dec 29 18:46:26 2020
    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.

    Thanks,

    Arnold
    --
    Aharon (Arnold) Robbins arnold AT skeeve DOT com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Schmidt@21:1/5 to Aharon Robbins on Wed Dec 30 08:30:46 2020
    There’s a pertinent thread from 1992 that pops up if you search the group for “3B1 gettimeofday gcc”. Short answer is you need your own local copy, and you can swipe it from some widely ported program.

    Cheers— Peter

    On Tuesday, December 29, 2020 at 1:46:29 PM UTC-5, Aharon Robbins 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.

    Thanks,

    Arnold
    --
    Aharon (Arnold) Robbins arnold AT skeeve DOT com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DoN. Nichols@21:1/5 to Aharon Robbins on Thu Dec 31 21:34:02 2020
    On 2020-12-29, Aharon Robbins <arnold@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: <BPdnicholsBP@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 ---

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dbrower@gmail.com@21:1/5 to Aharon Robbins on Thu Aug 18 20:42:16 2022
    On Tuesday, December 29, 2020 at 10:46:29 AM UTC-8, Aharon Robbins 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.

    Thanks,

    Arnold
    --
    Aharon (Arnold) Robbins arnold AT skeeve DOT com

    Yes, back in the day I did, folding it all back into GCC 1.x something. It was painful, and it was big enough that it was of very questionable usability on the real machine.

    There were definitely library problems, and the tool chain was still stuck in shortnames land.
    -dB

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Aharon Robbins@21:1/5 to dbr...@gmail.com on Fri Aug 19 10:55:21 2022
    In article <37f3d45d-3a0b-483f-9c45-b6cb29f70aadn@googlegroups.com>, dbr...@gmail.com <dbrower@gmail.com> wrote:
    On Tuesday, December 29, 2020 at 10:46:29 AM UTC-8, Aharon Robbins 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.

    Thanks,

    Arnold
    --
    Aharon (Arnold) Robbins arnold AT skeeve DOT com

    Yes, back in the day I did, folding it all back into GCC 1.x something.
    It was painful, and it was big enough that it was of very questionable >usability on the real machine.

    There were definitely library problems, and the tool chain was still
    stuck in shortnames land.
    -dB

    Oh, once it was available it was usable, I used it a lot. Of course,
    I had a machine with full memory and a 67 meg disk.

    In any case, I am not working on it now. Note my recent post
    about Mike Haertel's work to make a cross-GCC that runs on Linux.
    That seems like the way to go for future Freebee work.

    Arnol
    --
    Aharon (Arnold) Robbins arnold AT skeeve DOT com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)