Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Always think of something new; this helps you forget your last rotten idea. -- Seth Frankel


devel / comp.lang.c / University Challenge

SubjectAuthor
* University Challengemuta...@gmail.com
+* Re: University ChallengeScott Lurndal
|`- Re: University Challengemuta...@gmail.com
+* Re: University ChallengeBen Bacarisse
|`* Re: University Challengemuta...@gmail.com
| +* Re: University ChallengeAlan Mackenzie
| |`- Re: University Challengemuta...@gmail.com
| +- Re: University ChallengeBen Bacarisse
| `* Re: University ChallengeTony Oliver
|  `* Re: University Challengemuta...@gmail.com
|   `* Re: University ChallengeDavid Brown
|    +* Re: University Challengemuta...@gmail.com
|    |`* Re: University ChallengeDavid Brown
|    | `* Re: University Challengemuta...@gmail.com
|    |  +* Re: University Challengemuta...@gmail.com
|    |  |`* Re: University ChallengeBart
|    |  | `* Re: University ChallengeBart
|    |  |  +- Re: University Challengemuta...@gmail.com
|    |  |  `* Re: University Challengemuta...@gmail.com
|    |  |   +- Re: University Challengemuta...@gmail.com
|    |  |   `* Re: University ChallengeBart
|    |  |    +- Re: University Challengemuta...@gmail.com
|    |  |    +- Re: University Challengemuta...@gmail.com
|    |  |    `- Re: University ChallengeTim Rentsch
|    |  `* Re: University ChallengeDavid Brown
|    |   `* Re: University Challengemuta...@gmail.com
|    |    +* Re: University ChallengeBart
|    |    |`- Re: University Challengemuta...@gmail.com
|    |    `* Re: University ChallengeDavid Brown
|    |     +* Re: University Challengemuta...@gmail.com
|    |     |`* Re: University ChallengeBart
|    |     | `* Re: University ChallengeMalcolm McLean
|    |     |  `* Re: University ChallengeBart
|    |     |   `* Re: University Challengemuta...@gmail.com
|    |     |    `* Re: University ChallengeKaz Kylheku
|    |     |     `* Re: University Challengemuta...@gmail.com
|    |     |      +* Re: University ChallengeKaz Kylheku
|    |     |      |`* Re: University Challengemuta...@gmail.com
|    |     |      | `- Re: University ChallengeKeith Thompson
|    |     |      `* Re: University ChallengeMateusz Viste
|    |     |       `* Re: University ChallengeGuillaume
|    |     |        `- Re: University ChallengeMateusz Viste
|    |     `- Re: University ChallengeMalcolm McLean
|    `- Re: University ChallengeScott Lurndal
+* Re: University ChallengeKaz Kylheku
|+- Re: University ChallengeScott Lurndal
|`* Re: University Challengemuta...@gmail.com
| `* Re: University ChallengeMateusz Viste
|  `* Re: University Challengemuta...@gmail.com
|   `* Re: University ChallengeMateusz Viste
|    `- Re: University Challengemuta...@gmail.com
`- Re: University Challengemuta...@gmail.com

Pages:123
University Challenge

<3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20910&group=comp.lang.c#20910

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:24f:b0:2e1:d658:a595 with SMTP id c15-20020a05622a024f00b002e1d658a595mr13697698qtx.657.1647796656073;
Sun, 20 Mar 2022 10:17:36 -0700 (PDT)
X-Received: by 2002:a05:622a:302:b0:2e0:7aed:d653 with SMTP id
q2-20020a05622a030200b002e07aedd653mr13851833qtw.492.1647796655856; Sun, 20
Mar 2022 10:17:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 20 Mar 2022 10:17:35 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=202.169.113.201; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 202.169.113.201
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
Subject: University Challenge
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Sun, 20 Mar 2022 17:17:36 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 9
 by: muta...@gmail.com - Sun, 20 Mar 2022 17:17 UTC

I have created a purely public domain hard disk image
which allows you to build programs in a subset of C90
(SubC). All the necessary supporting components (OS,
linker etc) are available.

The hard disk image is 40 MB but only 9 MB is used.

See "University Challenge" at http://pdos.org

BFN. Paul.

Re: University Challenge

<R4KZJ.160575$z688.141954@fx35.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20911&group=comp.lang.c#20911

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx35.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: University Challenge
Newsgroups: comp.lang.c
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
Lines: 13
Message-ID: <R4KZJ.160575$z688.141954@fx35.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Sun, 20 Mar 2022 18:08:49 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Sun, 20 Mar 2022 18:08:49 GMT
X-Received-Bytes: 1102
 by: Scott Lurndal - Sun, 20 Mar 2022 18:08 UTC

"muta...@gmail.com" <mutazilah@gmail.com> writes:
>I have created a purely public domain hard disk image
>which allows you to build programs in a subset of C90
>(SubC). All the necessary supporting components (OS,
>linker etc) are available.
>
>The hard disk image is 40 MB but only 9 MB is used.
>
>See "University Challenge" at http://pdos.org
>

What he doesn't tell you is that it is a very crippled
version of MS-DOS.

Re: University Challenge

<87czigmnt5.fsf@bsb.me.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20912&group=comp.lang.c#20912

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c
Subject: Re: University Challenge
Date: Sun, 20 Mar 2022 19:22:30 +0000
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <87czigmnt5.fsf@bsb.me.uk>
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="676fdda65164f3a38beba70df3828b88";
logging-data="12788"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19I02q4rhF/jhaplUu4qHw72eTcUB0sKOQ="
Cancel-Lock: sha1:02dxxumFlr1TSVq6XVhW8ul6ieQ=
sha1:GkdYSZTEqi4F0OXIrCEsd8S51oE=
X-BSB-Auth: 1.a8f3ef3a932f08abb3f9.20220320192231GMT.87czigmnt5.fsf@bsb.me.uk
 by: Ben Bacarisse - Sun, 20 Mar 2022 19:22 UTC

"muta...@gmail.com" <mutazilah@gmail.com> writes:

> I have created a purely public domain hard disk image
> which allows you to build programs in a subset of C90
> (SubC). All the necessary supporting components (OS,
> linker etc) are available.

Why?

--
Ben.

Re: University Challenge

<616a7d3b-24bd-41ca-b043-b55b840f73e2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20913&group=comp.lang.c#20913

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:508:b0:2e1:deae:22bd with SMTP id l8-20020a05622a050800b002e1deae22bdmr13894645qtx.597.1647811297703;
Sun, 20 Mar 2022 14:21:37 -0700 (PDT)
X-Received: by 2002:a05:622a:302:b0:2e0:7aed:d653 with SMTP id
q2-20020a05622a030200b002e07aedd653mr14323156qtw.492.1647811297586; Sun, 20
Mar 2022 14:21:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 20 Mar 2022 14:21:37 -0700 (PDT)
In-Reply-To: <R4KZJ.160575$z688.141954@fx35.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=202.169.113.201; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 202.169.113.201
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com> <R4KZJ.160575$z688.141954@fx35.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <616a7d3b-24bd-41ca-b043-b55b840f73e2n@googlegroups.com>
Subject: Re: University Challenge
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Sun, 20 Mar 2022 21:21:37 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 10
 by: muta...@gmail.com - Sun, 20 Mar 2022 21:21 UTC

On Monday, March 21, 2022 at 5:09:03 AM UTC+11, Scott Lurndal wrote:

> What he doesn't tell you is that it is a very crippled
> version of MS-DOS.

Which is the limits of what the public actually owns.
Previously the public had to either zap machine code
one byte at a time, or use someone else's copyrighted
code.

BFN. Paul.

Re: University Challenge

<532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20914&group=comp.lang.c#20914

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:1309:b0:2e1:cc2f:3738 with SMTP id v9-20020a05622a130900b002e1cc2f3738mr14196645qtk.655.1647811395210;
Sun, 20 Mar 2022 14:23:15 -0700 (PDT)
X-Received: by 2002:ac8:5bc7:0:b0:2e1:ecde:e1e6 with SMTP id
b7-20020ac85bc7000000b002e1ecdee1e6mr14382197qtb.529.1647811395089; Sun, 20
Mar 2022 14:23:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 20 Mar 2022 14:23:14 -0700 (PDT)
In-Reply-To: <87czigmnt5.fsf@bsb.me.uk>
Injection-Info: google-groups.googlegroups.com; posting-host=202.169.113.201; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 202.169.113.201
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com> <87czigmnt5.fsf@bsb.me.uk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
Subject: Re: University Challenge
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Sun, 20 Mar 2022 21:23:15 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 15
 by: muta...@gmail.com - Sun, 20 Mar 2022 21:23 UTC

On Monday, March 21, 2022 at 6:22:43 AM UTC+11, Ben Bacarisse wrote:

> > I have created a purely public domain hard disk image
> > which allows you to build programs in a subset of C90
> > (SubC). All the necessary supporting components (OS,
> > linker etc) are available.

> Why?

I'd rather ask why everyone else is determined to keep all
code related to development copyrighted. Very few people
are willing to release their code to the public domain. Even
today we still don't have C90 compliance. SubC is close
enough to be useful, but still not C90-compliant.

BFN. Paul.

Re: University Challenge

<t186ng$195t$1@news.muc.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20915&group=comp.lang.c#20915

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news-peer.in.tum.de!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: acm...@muc.de (Alan Mackenzie)
Newsgroups: comp.lang.c
Subject: Re: University Challenge
Date: Sun, 20 Mar 2022 21:35:44 -0000 (UTC)
Organization: muc.de e.V.
Message-ID: <t186ng$195t$1@news.muc.de>
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com> <87czigmnt5.fsf@bsb.me.uk> <532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
Injection-Date: Sun, 20 Mar 2022 21:35:44 -0000 (UTC)
Injection-Info: news.muc.de; posting-host="news.muc.de:2001:608:1000::2";
logging-data="42173"; mail-complaints-to="news-admin@muc.de"
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (FreeBSD/12.3-RELEASE-p3 (amd64))
 by: Alan Mackenzie - Sun, 20 Mar 2022 21:35 UTC

muta...@gmail.com <mutazilah@gmail.com> wrote:
> On Monday, March 21, 2022 at 6:22:43 AM UTC+11, Ben Bacarisse wrote:

>> > I have created a purely public domain hard disk image
>> > which allows you to build programs in a subset of C90
>> > (SubC). All the necessary supporting components (OS,
>> > linker etc) are available.

>> Why?

> I'd rather ask why everyone else is determined to keep all
> code related to development copyrighted. Very few people
> are willing to release their code to the public domain. Even
> today we still don't have C90 compliance. SubC is close
> enough to be useful, but still not C90-compliant.

I can answer part of that question. Free software is copyright so that
it can remain free. Public domain code can be incorporated into
anybody's copyright-restricted product at will, not a good thing from
the point of view of those who promote free software. Of course, the
same is true of some "free" licenses, too. Things are complicated.

Now it's your turn! Given the previous paragraph, why do you want to
create a public domain C?

> BFN. Paul.

--
Alan Mackenzie (Nuremberg, Germany).

Re: University Challenge

<87pmmgl2mm.fsf@bsb.me.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20916&group=comp.lang.c#20916

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c
Subject: Re: University Challenge
Date: Sun, 20 Mar 2022 21:45:21 +0000
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <87pmmgl2mm.fsf@bsb.me.uk>
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<87czigmnt5.fsf@bsb.me.uk>
<532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="676fdda65164f3a38beba70df3828b88";
logging-data="11314"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gm7rjRCBP/vT4vBRnc9XtOmqtE79HorY="
Cancel-Lock: sha1:dJXsYYrwR4HjP3vGWs3+cDRzIwA=
sha1:vydePhedDHG6/Wn1LVOouiF0rQc=
X-BSB-Auth: 1.aada2d12584fa744ff85.20220320214521GMT.87pmmgl2mm.fsf@bsb.me.uk
 by: Ben Bacarisse - Sun, 20 Mar 2022 21:45 UTC

"muta...@gmail.com" <mutazilah@gmail.com> writes:

> On Monday, March 21, 2022 at 6:22:43 AM UTC+11, Ben Bacarisse wrote:
>
>> > I have created a purely public domain hard disk image
>> > which allows you to build programs in a subset of C90
>> > (SubC). All the necessary supporting components (OS,
>> > linker etc) are available.
>
>> Why?
>
> I'd rather ask why everyone else is determined to keep all
> code related to development copyrighted. Very few people
> are willing to release their code to the public domain. Even
> today we still don't have C90 compliance. SubC is close
> enough to be useful, but still not C90-compliant.

Just thought I'd ask. You don't owe me an explanation.

--
Ben.

Re: University Challenge

<6a6c7c47-f1c6-4b43-b102-03ac9f0a415an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20917&group=comp.lang.c#20917

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:1a27:b0:2e0:64c2:7469 with SMTP id f39-20020a05622a1a2700b002e064c27469mr14637599qtb.187.1647812851877;
Sun, 20 Mar 2022 14:47:31 -0700 (PDT)
X-Received: by 2002:ac8:5c10:0:b0:2e1:dbee:9ee6 with SMTP id
i16-20020ac85c10000000b002e1dbee9ee6mr14170542qti.25.1647812851662; Sun, 20
Mar 2022 14:47:31 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 20 Mar 2022 14:47:31 -0700 (PDT)
In-Reply-To: <t186ng$195t$1@news.muc.de>
Injection-Info: google-groups.googlegroups.com; posting-host=202.169.113.201; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 202.169.113.201
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<87czigmnt5.fsf@bsb.me.uk> <532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
<t186ng$195t$1@news.muc.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6a6c7c47-f1c6-4b43-b102-03ac9f0a415an@googlegroups.com>
Subject: Re: University Challenge
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Sun, 20 Mar 2022 21:47:31 +0000
Content-Type: text/plain; charset="UTF-8"
 by: muta...@gmail.com - Sun, 20 Mar 2022 21:47 UTC

On Monday, March 21, 2022 at 8:35:57 AM UTC+11, Alan Mackenzie wrote:

> >> > I have created a purely public domain hard disk image
> >> > which allows you to build programs in a subset of C90
> >> > (SubC). All the necessary supporting components (OS,
> >> > linker etc) are available.
>
> >> Why?
>
> > I'd rather ask why everyone else is determined to keep all
> > code related to development copyrighted. Very few people
> > are willing to release their code to the public domain. Even
> > today we still don't have C90 compliance. SubC is close
> > enough to be useful, but still not C90-compliant.

> I can answer part of that question. Free software is copyright so that
> it can remain free. Public domain code can be incorporated into
> anybody's copyright-restricted product at will, not a good thing from
> the point of view of those who promote free software. Of course, the
> same is true of some "free" licenses, too. Things are complicated.
>
> Now it's your turn! Given the previous paragraph, why do you want to
> create a public domain C?

From doc\virus.txt on the distribution:

The following describes the virus-licensed (aka "copyleft" which is
actually "copyright" or "free" (in a similar manner to how communist
dictators defined "freedom" to mean "being a slave under a communist
dictator")) software included in the full PDOS/386 distribution.

Note that I haven't got my lawyer to go through the 2573 license
conditions to find out if I (or you) are in violation of any of them,
and even if I did, I wouldn't trust him because in the end it comes
down to the whim of some judge, with a temporary judgement (until
overruled by another court), and this takes place worldwide. You can
read the licenses yourself by unzipping custom.zip to decide whether
you would feel safer exclusively using the University Challenge disk
which contains no such crap. Note that virus-licensing is discussed
more in \devel\pdos\pdpgoal.txt

And that last bit is a reference to:

https://sourceforge.net/p/pdos/gitcode/ci/master/tree/pdpgoal.txt

BFN. Paul.

Re: University Challenge

<64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20918&group=comp.lang.c#20918

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:244f:b0:67d:ccec:3eaa with SMTP id h15-20020a05620a244f00b0067dccec3eaamr11300761qkn.744.1647815412052;
Sun, 20 Mar 2022 15:30:12 -0700 (PDT)
X-Received: by 2002:a05:622a:19a6:b0:2e1:be73:159a with SMTP id
u38-20020a05622a19a600b002e1be73159amr14491000qtc.476.1647815411933; Sun, 20
Mar 2022 15:30:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 20 Mar 2022 15:30:11 -0700 (PDT)
In-Reply-To: <532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=62.249.217.89; posting-account=FHqkeAoAAACbOpBCHa7K6JTmToKlWNDp
NNTP-Posting-Host: 62.249.217.89
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<87czigmnt5.fsf@bsb.me.uk> <532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com>
Subject: Re: University Challenge
From: guinness...@gmail.com (Tony Oliver)
Injection-Date: Sun, 20 Mar 2022 22:30:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 18
 by: Tony Oliver - Sun, 20 Mar 2022 22:30 UTC

On Sunday, 20 March 2022 at 21:23:21 UTC, muta...@gmail.com wrote:
> On Monday, March 21, 2022 at 6:22:43 AM UTC+11, Ben Bacarisse wrote:
>
> > > I have created a purely public domain hard disk image
> > > which allows you to build programs in a subset of C90
> > > (SubC). All the necessary supporting components (OS,
> > > linker etc) are available.
>
> > Why?
> I'd rather ask why everyone else is determined to keep all
> code related to development copyrighted. Very few people
> are willing to release their code to the public domain. Even
> today we still don't have C90 compliance.

“We”? To whom do you reference?

> SubC is close enough to be useful, but still not C90-compliant.

and so has no place in c.l.c - please take it elsewhere.

Re: University Challenge

<50422387-026b-439b-a422-690b17d5c8f1n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20919&group=comp.lang.c#20919

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ad4:5bc9:0:b0:435:8ee0:f9b8 with SMTP id t9-20020ad45bc9000000b004358ee0f9b8mr14003593qvt.82.1647816853379;
Sun, 20 Mar 2022 15:54:13 -0700 (PDT)
X-Received: by 2002:a05:622a:11d2:b0:2e0:bbbd:5a2b with SMTP id
n18-20020a05622a11d200b002e0bbbd5a2bmr14293398qtk.233.1647816853216; Sun, 20
Mar 2022 15:54:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Sun, 20 Mar 2022 15:54:13 -0700 (PDT)
In-Reply-To: <64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=202.169.113.201; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 202.169.113.201
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<87czigmnt5.fsf@bsb.me.uk> <532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
<64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <50422387-026b-439b-a422-690b17d5c8f1n@googlegroups.com>
Subject: Re: University Challenge
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Sun, 20 Mar 2022 22:54:13 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: muta...@gmail.com - Sun, 20 Mar 2022 22:54 UTC

On Monday, March 21, 2022 at 9:30:19 AM UTC+11, Tony Oliver wrote:

> > I'd rather ask why everyone else is determined to keep all
> > code related to development copyrighted. Very few people
> > are willing to release their code to the public domain. Even
> > today we still don't have C90 compliance.

> “We”? To whom do you reference?

The worldwide public. Earth.

> > SubC is close enough to be useful, but still not C90-compliant.

> and so has no place in c.l.c - please take it elsewhere.

It's a subset of C90, the goal is to get it to C90, and the
compiler itself can be compiled with a C90 compiler.

What's off-topic about that?

Or are you just peddling a virus-license agenda and don't
want any challenge to your horrible worldview?

BFN. Paul.

Re: University Challenge

<t19au1$v22$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20920&group=comp.lang.c#20920

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: University Challenge
Date: Mon, 21 Mar 2022 08:53:37 +0100
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <t19au1$v22$1@dont-email.me>
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<87czigmnt5.fsf@bsb.me.uk>
<532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
<64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com>
<50422387-026b-439b-a422-690b17d5c8f1n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 21 Mar 2022 07:53:38 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d7b3aa0e2c6265f426a8d2636fdbdad0";
logging-data="31810"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+61oXttJ7dwjYUdXpECjvby/d6dtgSs9s="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:rs3v/E+KS71RkNnko554JRT3vGw=
In-Reply-To: <50422387-026b-439b-a422-690b17d5c8f1n@googlegroups.com>
Content-Language: en-GB
 by: David Brown - Mon, 21 Mar 2022 07:53 UTC

On 20/03/2022 23:54, muta...@gmail.com wrote:
> On Monday, March 21, 2022 at 9:30:19 AM UTC+11, Tony Oliver wrote:
>
>>> I'd rather ask why everyone else is determined to keep all
>>> code related to development copyrighted. Very few people
>>> are willing to release their code to the public domain. Even
>>> today we still don't have C90 compliance.
>
>> “We”? To whom do you reference?
>
> The worldwide public. Earth.
>
>>> SubC is close enough to be useful, but still not C90-compliant.
>
>> and so has no place in c.l.c - please take it elsewhere.
>
> It's a subset of C90, the goal is to get it to C90, and the
> compiler itself can be compiled with a C90 compiler.
>
> What's off-topic about that?
>
> Or are you just peddling a virus-license agenda and don't
> want any challenge to your horrible worldview?
>

Discussions about C - including subsets of C90, and threads about what
might be needed to make the compiler more compliant, are on-topic.

Highly unusual opinions about licensing or copyright is not. You
clearly have your strong opinions, which is fine. But you don't get to
attack others for not agreeing. If you want to pick fights with
licenses or copyrights, or people who use them, find some other forum
for it. (I'd recommend you find some Usenet group, Reddit group,
discussion forum, etc., where there are license and copyright experts
and lawyers present, especially from many different countries - that way
you can learn some of the facts involved. It may or may not change your
opinions, but they will be informed choices - always a good thing.)

Re: University Challenge

<ae1fec82-58c3-42d2-a3b9-be3396b88ad2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20921&group=comp.lang.c#20921

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a0c:e6c5:0:b0:42c:d5f:7e4c with SMTP id l5-20020a0ce6c5000000b0042c0d5f7e4cmr15205406qvn.93.1647850575159;
Mon, 21 Mar 2022 01:16:15 -0700 (PDT)
X-Received: by 2002:a37:9e06:0:b0:67d:cfe2:3714 with SMTP id
h6-20020a379e06000000b0067dcfe23714mr12208633qke.94.1647850575015; Mon, 21
Mar 2022 01:16:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 21 Mar 2022 01:16:14 -0700 (PDT)
In-Reply-To: <t19au1$v22$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=202.169.113.201; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 202.169.113.201
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<87czigmnt5.fsf@bsb.me.uk> <532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
<64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com> <50422387-026b-439b-a422-690b17d5c8f1n@googlegroups.com>
<t19au1$v22$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ae1fec82-58c3-42d2-a3b9-be3396b88ad2n@googlegroups.com>
Subject: Re: University Challenge
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Mon, 21 Mar 2022 08:16:15 +0000
Content-Type: text/plain; charset="UTF-8"
 by: muta...@gmail.com - Mon, 21 Mar 2022 08:16 UTC

On Monday, March 21, 2022 at 6:53:51 PM UTC+11, David Brown wrote:

> Discussions about C - including subsets of C90, and threads about what
> might be needed to make the compiler more compliant, are on-topic.

So perhaps you should have chided the other guy instead
of replying to me.

> Highly unusual opinions about licensing or copyright is not. You
> clearly have your strong opinions, which is fine. But you don't get to
> attack others for not agreeing.

I was attacking someone who attacked me by telling
me to piss off because I only had a subset of C90
instead of the full thing.

You should have chided the other guy, again.

> If you want to pick fights with

Give that advice to the other guy, not me.

> licenses or copyrights, or people who use them, find some other forum
> for it.

I was asked for my opinion in this group. Chide all the
other guys for asking for it.

> (I'd recommend you find some Usenet group, Reddit group,
> discussion forum, etc., where there are license and copyright experts
> and lawyers present, especially from many different countries - that way
> you can learn some of the facts involved. It may or may not change your
> opinions, but they will be informed choices - always a good thing.)

Your recommendations are better addressed to the others.
Or maybe take your own advice while you're at it.

BFN. Paul.

Re: University Challenge

<t19scl$65f$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20922&group=comp.lang.c#20922

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: University Challenge
Date: Mon, 21 Mar 2022 13:51:32 +0100
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <t19scl$65f$1@dont-email.me>
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<87czigmnt5.fsf@bsb.me.uk>
<532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
<64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com>
<50422387-026b-439b-a422-690b17d5c8f1n@googlegroups.com>
<t19au1$v22$1@dont-email.me>
<ae1fec82-58c3-42d2-a3b9-be3396b88ad2n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 21 Mar 2022 12:51:33 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d7b3aa0e2c6265f426a8d2636fdbdad0";
logging-data="6319"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1943M4qWXcYJ0PctItVl08rW717YrNWnG8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:NzjsRwJ2NvhlPlErJQBJzAXKPfY=
In-Reply-To: <ae1fec82-58c3-42d2-a3b9-be3396b88ad2n@googlegroups.com>
Content-Language: en-GB
 by: David Brown - Mon, 21 Mar 2022 12:51 UTC

On 21/03/2022 09:16, muta...@gmail.com wrote:
> On Monday, March 21, 2022 at 6:53:51 PM UTC+11, David Brown wrote:
>
>> Discussions about C - including subsets of C90, and threads about what
>> might be needed to make the compiler more compliant, are on-topic.
>
> So perhaps you should have chided the other guy instead
> of replying to me.
>

My preference is not to chide anyone. But my comments about topicality
apply to all.

>> Highly unusual opinions about licensing or copyright is not. You
>> clearly have your strong opinions, which is fine. But you don't get to
>> attack others for not agreeing.
>
> I was attacking someone who attacked me by telling
> me to piss off because I only had a subset of C90
> instead of the full thing.
>

He was wrong too, IMHO - a subset of C90 may be topical here. You can
even talk about K&R C. (But be prepared to face a lot of people telling
you how badly out of date you are, and how modern C is better in many ways.)

But two wrongs don't make a right, and emotively arguing your license
preferences is not helping anyone.

Leave the licensing discussions and by all means (as far as I am
concerned) talk about C90 as much as you like.

Let's now get back to the C. When you say you have implemented a subset
of C90, what is missing, and why?

Re: University Challenge

<M40_J.320448$Rza5.15651@fx47.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20923&group=comp.lang.c#20923

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx47.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: University Challenge
Newsgroups: comp.lang.c
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com> <87czigmnt5.fsf@bsb.me.uk> <532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com> <64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com> <50422387-026b-439b-a422-690b17d5c8f1n@googlegroups.com> <t19au1$v22$1@dont-email.me>
Lines: 22
Message-ID: <M40_J.320448$Rza5.15651@fx47.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Mon, 21 Mar 2022 14:37:32 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Mon, 21 Mar 2022 14:37:32 GMT
X-Received-Bytes: 1965
 by: Scott Lurndal - Mon, 21 Mar 2022 14:37 UTC

David Brown <david.brown@hesbynett.no> writes:
>On 20/03/2022 23:54, muta...@gmail.com wrote:

>>
>> Or are you just peddling a virus-license agenda and don't
>> want any challenge to your horrible worldview?
>>
>
>Discussions about C - including subsets of C90, and threads about what
>might be needed to make the compiler more compliant, are on-topic.
>
>Highly unusual opinions about licensing or copyright is not. You
>clearly have your strong opinions, which is fine. But you don't get to
>attack others for not agreeing. If you want to pick fights with
>licenses or copyrights, or people who use them, find some other forum
>for it. (I'd recommend you find some Usenet group, Reddit group,
>discussion forum, etc., where there are license and copyright experts
>and lawyers present, especially from many different countries - that way
>you can learn some of the facts involved. It may or may not change your
>opinions, but they will be informed choices - always a good thing.)

FWIW, he's inhabited alt.os.development for some time now.

Re: University Challenge

<20220321075816.302@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20924&group=comp.lang.c#20924

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: 480-992-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: University Challenge
Date: Mon, 21 Mar 2022 15:02:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <20220321075816.302@kylheku.com>
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
Injection-Date: Mon, 21 Mar 2022 15:02:09 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="643bc15a4dec969a998efafefd21f34b";
logging-data="30147"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/e+p026PxIUibdQIORkX+YjGq8FgyUun0="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:2AUriqde+qi5F6QcntpGloKQ4Do=
 by: Kaz Kylheku - Mon, 21 Mar 2022 15:02 UTC

On 2022-03-20, muta...@gmail.com <mutazilah@gmail.com> wrote:
> I have created a purely public domain hard disk image
> which allows you to build programs in a subset of C90
> (SubC). All the necessary supporting components (OS,
> linker etc) are available.
>
> The hard disk image is 40 MB but only 9 MB is used.
>
> See "University Challenge" at http://pdos.org

LOL, ... DOS.

Why not also ship an 80 column punched card containing your entire
perspective?

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal

Re: University Challenge

<hu1_J.163221$H_t7.86412@fx40.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20925&group=comp.lang.c#20925

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx40.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: University Challenge
Newsgroups: comp.lang.c
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com> <20220321075816.302@kylheku.com>
Lines: 18
Message-ID: <hu1_J.163221$H_t7.86412@fx40.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Mon, 21 Mar 2022 16:13:01 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Mon, 21 Mar 2022 16:13:01 GMT
X-Received-Bytes: 1280
 by: Scott Lurndal - Mon, 21 Mar 2022 16:13 UTC

Kaz Kylheku <480-992-1380@kylheku.com> writes:
>On 2022-03-20, muta...@gmail.com <mutazilah@gmail.com> wrote:
>> I have created a purely public domain hard disk image
>> which allows you to build programs in a subset of C90
>> (SubC). All the necessary supporting components (OS,
>> linker etc) are available.
>>
>> The hard disk image is 40 MB but only 9 MB is used.
>>
>> See "University Challenge" at http://pdos.org
>
>LOL, ... DOS.
>
>Why not also ship an 80 column punched card containing your entire
>perspective?

His code generator targets the IBM 360.

Re: University Challenge

<395bf56b-a391-46db-89b0-ff7dcb4729afn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20926&group=comp.lang.c#20926

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:31a0:b0:67d:7500:1752 with SMTP id bi32-20020a05620a31a000b0067d75001752mr13735988qkb.485.1647895826650;
Mon, 21 Mar 2022 13:50:26 -0700 (PDT)
X-Received: by 2002:a05:6214:20ec:b0:43a:77b1:9f88 with SMTP id
12-20020a05621420ec00b0043a77b19f88mr16947792qvk.29.1647895826488; Mon, 21
Mar 2022 13:50:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 21 Mar 2022 13:50:26 -0700 (PDT)
In-Reply-To: <t19scl$65f$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=202.169.113.201; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 202.169.113.201
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<87czigmnt5.fsf@bsb.me.uk> <532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
<64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com> <50422387-026b-439b-a422-690b17d5c8f1n@googlegroups.com>
<t19au1$v22$1@dont-email.me> <ae1fec82-58c3-42d2-a3b9-be3396b88ad2n@googlegroups.com>
<t19scl$65f$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <395bf56b-a391-46db-89b0-ff7dcb4729afn@googlegroups.com>
Subject: Re: University Challenge
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Mon, 21 Mar 2022 20:50:26 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 41
 by: muta...@gmail.com - Mon, 21 Mar 2022 20:50 UTC

On Monday, March 21, 2022 at 11:51:47 PM UTC+11, David Brown wrote:

> Let's now get back to the C. When you say you have implemented a subset
> of C90, what is missing, and why?

It isn't me who wrote SubC. I don't have the required skills
to write a compiler. I'm not good with complex algorithms.

The things missing are listed here:

https://www.t3x.org/subc/README-current.html

search for "full c89".

Almost all of those things don't actually affect me. The
preprocessor shortcomings are overcome by using pdcc,
a public domain prepreprocessor. I'm only interested in
the 80386 at the moment so I just get the preprocessor
to define long=int and short=int. I have my own C library.

Although my coding style normally puts all the variables
at the top of a function, occasionally I am "lazy" and just
declare a variable inside a block. I do have some such
code. So if I can't change SubC I would need to change
that coding style.

Another thing I do is initialize local variables, even though
it is something that happens at run-time, and that doesn't
work. Maybe because it is difficult to parse or something.

If things are difficult to parse, I'm willing to change my coding
style to SubC, rather than wait for someone to release a public
domain fully-C90-compliant compiler - something no-one has
been willing to do for 50 years.

Note that a public domain 80386 assembler capable of
handling the output from SubC was only recently written
(by someone from Slovakia). And an a.out linker by someone
from Italy. These were the final things that allowed the
"University Challenge" disk to be produced.

BFN. Paul.

Re: University Challenge

<978ebd91-879c-4c43-8ecf-c7c9a23c6f6en@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20927&group=comp.lang.c#20927

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:da5:b0:441:38d5:888f with SMTP id h5-20020a0562140da500b0044138d5888fmr2452561qvh.37.1647896525157;
Mon, 21 Mar 2022 14:02:05 -0700 (PDT)
X-Received: by 2002:a05:6214:e43:b0:440:fac4:312c with SMTP id
o3-20020a0562140e4300b00440fac4312cmr13269551qvc.4.1647896524886; Mon, 21 Mar
2022 14:02:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 21 Mar 2022 14:02:04 -0700 (PDT)
In-Reply-To: <20220321075816.302@kylheku.com>
Injection-Info: google-groups.googlegroups.com; posting-host=202.169.113.201; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 202.169.113.201
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com> <20220321075816.302@kylheku.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <978ebd91-879c-4c43-8ecf-c7c9a23c6f6en@googlegroups.com>
Subject: Re: University Challenge
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Mon, 21 Mar 2022 21:02:05 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 18
 by: muta...@gmail.com - Mon, 21 Mar 2022 21:02 UTC

On Tuesday, March 22, 2022 at 2:02:24 AM UTC+11, Kaz Kylheku wrote:

> > See "University Challenge" at http://pdos.org

> LOL, ... DOS.

Laugh all you want. That's what the public actually owns.
Previously they had to zap machine code one byte at a time.
> Why not also ship an 80 column punched card containing your entire
> perspective?

Actually I don't trust storage media that I can't read without
equipment, so I am indeed thinking of getting all of this source
code, and the corresponding executables, put on punched cards,
perhaps plastic ones that will hopefully last forever, and have
multiple copies of that distributed around the world.

BFN. Paul.

Re: University Challenge

<t1aqeb$bfh$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20928&group=comp.lang.c#20928

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!U+hmOLGO01egFX06Qkpsvg.user.46.165.242.75.POSTED!not-for-mail
From: mate...@xyz.invalid (Mateusz Viste)
Newsgroups: comp.lang.c
Subject: Re: University Challenge
Date: Mon, 21 Mar 2022 22:24:27 +0100
Organization: . . .
Message-ID: <t1aqeb$bfh$1@gioia.aioe.org>
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<20220321075816.302@kylheku.com>
<978ebd91-879c-4c43-8ecf-c7c9a23c6f6en@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="11761"; posting-host="U+hmOLGO01egFX06Qkpsvg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: Mateusz Viste - Mon, 21 Mar 2022 21:24 UTC

2022-03-21 at 14:02 -0700, muta...@gmail.com wrote:
> Actually I don't trust storage media that I can't read without
> equipment, so I am indeed thinking of getting all of this source
> code, and the corresponding executables, put on punched cards,
> perhaps plastic ones that will hopefully last forever, and have
> multiple copies of that distributed around the world.

Have you thought about paper-based storage? It might achieve a higher
density than punch cards, and is probably easier to process.

Some time ago I briefly wrote about it on my gopher blog ("Using paper
as apocalyptic-resilient backup storage"):

gopher://gopher.viste.fr/1/notes/?a111f16d0

Mateusz

Re: University Challenge

<de0f17e5-64e0-4068-98f7-ea50314961b2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20929&group=comp.lang.c#20929

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:17a6:b0:67d:85e6:a86b with SMTP id ay38-20020a05620a17a600b0067d85e6a86bmr13409033qkb.771.1647900054326;
Mon, 21 Mar 2022 15:00:54 -0700 (PDT)
X-Received: by 2002:a05:620a:4047:b0:67d:6729:b241 with SMTP id
i7-20020a05620a404700b0067d6729b241mr13908785qko.151.1647900054094; Mon, 21
Mar 2022 15:00:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 21 Mar 2022 15:00:53 -0700 (PDT)
In-Reply-To: <t1aqeb$bfh$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=202.169.113.201; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 202.169.113.201
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<20220321075816.302@kylheku.com> <978ebd91-879c-4c43-8ecf-c7c9a23c6f6en@googlegroups.com>
<t1aqeb$bfh$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <de0f17e5-64e0-4068-98f7-ea50314961b2n@googlegroups.com>
Subject: Re: University Challenge
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Mon, 21 Mar 2022 22:00:54 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 26
 by: muta...@gmail.com - Mon, 21 Mar 2022 22:00 UTC

On Tuesday, March 22, 2022 at 8:24:40 AM UTC+11, Mateusz Viste wrote:

> 2022-03-21 at 14:02 -0700, muta...@gmail.com wrote:
> > Actually I don't trust storage media that I can't read without
> > equipment, so I am indeed thinking of getting all of this source
> > code, and the corresponding executables, put on punched cards,
> > perhaps plastic ones that will hopefully last forever, and have
> > multiple copies of that distributed around the world.
> Have you thought about paper-based storage? It might achieve a higher
> density than punch cards, and is probably easier to process.
>
> Some time ago I briefly wrote about it on my gopher blog ("Using paper
> as apocalyptic-resilient backup storage"):
>
> gopher://gopher.viste.fr/1/notes/?a111f16d0

I managed to read your link here:

https://gopherproxy.meulie.net/gopher.viste.fr/1/myinfobase/%3Fa111f16d0

You suggested using OCR software to read the paper, but
if we're in a post-apocalyptic world, aren't punched cards
easier to be machine-read than attempting to OCR characters?

PDOS is going to be first-to-market after the apocalypse.

BFN. Paul.

Re: University Challenge

<f2dc7b0f-23d4-4dce-8995-0bd888bbcc20n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20930&group=comp.lang.c#20930

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:41:b0:2e1:df22:358 with SMTP id y1-20020a05622a004100b002e1df220358mr18309453qtw.186.1647904616449;
Mon, 21 Mar 2022 16:16:56 -0700 (PDT)
X-Received: by 2002:ad4:5942:0:b0:438:ecaa:5d1d with SMTP id
eo2-20020ad45942000000b00438ecaa5d1dmr17687371qvb.89.1647904616275; Mon, 21
Mar 2022 16:16:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 21 Mar 2022 16:16:56 -0700 (PDT)
In-Reply-To: <395bf56b-a391-46db-89b0-ff7dcb4729afn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=202.169.113.201; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 202.169.113.201
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<87czigmnt5.fsf@bsb.me.uk> <532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
<64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com> <50422387-026b-439b-a422-690b17d5c8f1n@googlegroups.com>
<t19au1$v22$1@dont-email.me> <ae1fec82-58c3-42d2-a3b9-be3396b88ad2n@googlegroups.com>
<t19scl$65f$1@dont-email.me> <395bf56b-a391-46db-89b0-ff7dcb4729afn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f2dc7b0f-23d4-4dce-8995-0bd888bbcc20n@googlegroups.com>
Subject: Re: University Challenge
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Mon, 21 Mar 2022 23:16:56 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 24
 by: muta...@gmail.com - Mon, 21 Mar 2022 23:16 UTC

On Tuesday, March 22, 2022 at 7:50:34 AM UTC+11, muta...@gmail.com wrote:

> Another thing I do is initialize local variables, even though
> it is something that happens at run-time, and that doesn't
> work. Maybe because it is difficult to parse or something.

Correction. I can initialize local variables, but I can't do:

char *x = "hello";

either as a global or local.

I have to do:

char *x;

and then:

x = "hello";

at runtime.

I don't know what the issue is.

BFN. Paul.

Re: University Challenge

<t1b18u$vvd$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20931&group=comp.lang.c#20931

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.lang.c
Subject: Re: University Challenge
Date: Mon, 21 Mar 2022 23:21:02 +0000
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <t1b18u$vvd$1@dont-email.me>
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<87czigmnt5.fsf@bsb.me.uk>
<532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
<64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com>
<50422387-026b-439b-a422-690b17d5c8f1n@googlegroups.com>
<t19au1$v22$1@dont-email.me>
<ae1fec82-58c3-42d2-a3b9-be3396b88ad2n@googlegroups.com>
<t19scl$65f$1@dont-email.me>
<395bf56b-a391-46db-89b0-ff7dcb4729afn@googlegroups.com>
<f2dc7b0f-23d4-4dce-8995-0bd888bbcc20n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 21 Mar 2022 23:21:02 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="edb63c1c8fffb3c5c2244191570e5564";
logging-data="32749"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tiQp+i3cAh4iyhSoZ4ohj8c3Fi23tDq4="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:WitgMirzFHl15bCpZ4ygLtJqJOM=
In-Reply-To: <f2dc7b0f-23d4-4dce-8995-0bd888bbcc20n@googlegroups.com>
 by: Bart - Mon, 21 Mar 2022 23:21 UTC

On 21/03/2022 23:16, muta...@gmail.com wrote:
> On Tuesday, March 22, 2022 at 7:50:34 AM UTC+11, muta...@gmail.com wrote:
>
>> Another thing I do is initialize local variables, even though
>> it is something that happens at run-time, and that doesn't
>> work. Maybe because it is difficult to parse or something.
>
> Correction. I can initialize local variables, but I can't do:
>
> char *x = "hello";
>
> either as a global or local.
>
> I have to do:
>
> char *x;
>
> and then:
>
> x = "hello";
>
> at runtime.
>
> I don't know what the issue is.

Probably this:

"Note that SubC is a teaching vehicle rather than a production compiler."

(https://www.t3x.org/subc/)

> BFN. Paul.

Re: University Challenge

<t1b2v3$4vf$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20932&group=comp.lang.c#20932

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.lang.c
Subject: Re: University Challenge
Date: Mon, 21 Mar 2022 23:49:54 +0000
Organization: A noiseless patient Spider
Lines: 67
Message-ID: <t1b2v3$4vf$1@dont-email.me>
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<87czigmnt5.fsf@bsb.me.uk>
<532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
<64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com>
<50422387-026b-439b-a422-690b17d5c8f1n@googlegroups.com>
<t19au1$v22$1@dont-email.me>
<ae1fec82-58c3-42d2-a3b9-be3396b88ad2n@googlegroups.com>
<t19scl$65f$1@dont-email.me>
<395bf56b-a391-46db-89b0-ff7dcb4729afn@googlegroups.com>
<f2dc7b0f-23d4-4dce-8995-0bd888bbcc20n@googlegroups.com>
<t1b18u$vvd$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 21 Mar 2022 23:49:55 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="edb63c1c8fffb3c5c2244191570e5564";
logging-data="5103"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX191IVwX5prtYdsOB9QoXQqO5KOatzQmGCA="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:1GHPRod6kcywH+/w/rhq3Ba7hjU=
In-Reply-To: <t1b18u$vvd$1@dont-email.me>
 by: Bart - Mon, 21 Mar 2022 23:49 UTC

On 21/03/2022 23:21, Bart wrote:
> On 21/03/2022 23:16, muta...@gmail.com wrote:
>> On Tuesday, March 22, 2022 at 7:50:34 AM UTC+11, muta...@gmail.com wrote:
>>
>>> Another thing I do is initialize local variables, even though
>>> it is something that happens at run-time, and that doesn't
>>> work. Maybe because it is difficult to parse or something.
>>
>> Correction. I can initialize local variables, but I can't do:
>>
>> char *x = "hello";
>>
>> either as a global or local.
>>
>> I have to do:
>>
>> char *x;
>>
>> and then:
>>
>> x = "hello";
>>
>> at runtime.
>>
>> I don't know what the issue is.
>
> Probably this:
>
> "Note that SubC is a teaching vehicle rather than a production compiler."
>
> (https://www.t3x.org/subc/)

I just downloaded this, but it really isn't very Windows-friendly. It
also purports to build itself, but you'd have a job getting to a working
compiler to try that out, unless you're running on Unix.

The first obstacle is that the sources used .tgz format (not known on
Windows; you need to download 7-Zip, and do the expansion in two parts,
first to .tar then to individual files).

Then these are the instructions for Windows:

"The Windows version of SubC requires the MinGW infrastructure,
but does not use the GNU libc. To build the compiler, the MSYS
environment of MinGW is needed."

"* DO NOT use "make". It will probably not work. Use the
WINBUILD.BAT script instead."

Too right! And WINBUILD still needs that MSYS stuff.

All the docs including for DOS have long lists of things imported from
Unix, and in fact you have to cross-compile from Unix.

These aren't the dependency problems you need in your post-apocalyptic
scenario!

This is for a project that is 20 .h/.c files, some 6000 lines in total;
not a big project, and the self-hosting comment gives the impression
that it will build with pretty much any compiler as most support a
bigger subset.

(I understand that when built, it will run but may not support a Windows
target; I just wanted to see it in action even if I can't run its output.)

Re: University Challenge

<6db30e7f-cc22-4c25-8485-d79627d8e279n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20933&group=comp.lang.c#20933

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:1cc4:b0:435:35c3:f0f1 with SMTP id g4-20020a0562141cc400b0043535c3f0f1mr17217296qvd.0.1647908350562;
Mon, 21 Mar 2022 17:19:10 -0700 (PDT)
X-Received: by 2002:ae9:e916:0:b0:67d:29d4:3fda with SMTP id
x22-20020ae9e916000000b0067d29d43fdamr13759798qkf.519.1647908350425; Mon, 21
Mar 2022 17:19:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 21 Mar 2022 17:19:10 -0700 (PDT)
In-Reply-To: <t1b2v3$4vf$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=202.169.113.201; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 202.169.113.201
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<87czigmnt5.fsf@bsb.me.uk> <532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
<64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com> <50422387-026b-439b-a422-690b17d5c8f1n@googlegroups.com>
<t19au1$v22$1@dont-email.me> <ae1fec82-58c3-42d2-a3b9-be3396b88ad2n@googlegroups.com>
<t19scl$65f$1@dont-email.me> <395bf56b-a391-46db-89b0-ff7dcb4729afn@googlegroups.com>
<f2dc7b0f-23d4-4dce-8995-0bd888bbcc20n@googlegroups.com> <t1b18u$vvd$1@dont-email.me>
<t1b2v3$4vf$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6db30e7f-cc22-4c25-8485-d79627d8e279n@googlegroups.com>
Subject: Re: University Challenge
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Tue, 22 Mar 2022 00:19:10 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 11
 by: muta...@gmail.com - Tue, 22 Mar 2022 00:19 UTC

On Tuesday, March 22, 2022 at 10:50:09 AM UTC+11, Bart wrote:

> (I understand that when built, it will run but may not support a Windows
> target; I just wanted to see it in action even if I can't run its output.)

If you download "University Challenge" from http://pdos.org
and then mount that disk, you will find sccwin.exe in the
"dos" subdirectory, which runs under Windows.

I'll reply to other stuff a bit later.

BFN. Paul.

Re: University Challenge

<fc7f3299-f1b3-4152-99d1-22b912698b05n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20936&group=comp.lang.c#20936

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ad4:5be3:0:b0:441:2af0:6ea2 with SMTP id k3-20020ad45be3000000b004412af06ea2mr4749242qvc.116.1647910799082;
Mon, 21 Mar 2022 17:59:59 -0700 (PDT)
X-Received: by 2002:a05:6214:1c8e:b0:432:4f21:aedb with SMTP id
ib14-20020a0562141c8e00b004324f21aedbmr17706513qvb.74.1647910798977; Mon, 21
Mar 2022 17:59:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Mon, 21 Mar 2022 17:59:58 -0700 (PDT)
In-Reply-To: <t1b2v3$4vf$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=202.169.113.201; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 202.169.113.201
References: <3cb13459-3ef7-44f7-b04c-f77d46ff963en@googlegroups.com>
<87czigmnt5.fsf@bsb.me.uk> <532e199f-108c-49d3-8ff1-0912effbb8d1n@googlegroups.com>
<64702fee-75db-472b-b8ad-88cf26f1ac24n@googlegroups.com> <50422387-026b-439b-a422-690b17d5c8f1n@googlegroups.com>
<t19au1$v22$1@dont-email.me> <ae1fec82-58c3-42d2-a3b9-be3396b88ad2n@googlegroups.com>
<t19scl$65f$1@dont-email.me> <395bf56b-a391-46db-89b0-ff7dcb4729afn@googlegroups.com>
<f2dc7b0f-23d4-4dce-8995-0bd888bbcc20n@googlegroups.com> <t1b18u$vvd$1@dont-email.me>
<t1b2v3$4vf$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fc7f3299-f1b3-4152-99d1-22b912698b05n@googlegroups.com>
Subject: Re: University Challenge
From: mutazi...@gmail.com (muta...@gmail.com)
Injection-Date: Tue, 22 Mar 2022 00:59:59 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 101
 by: muta...@gmail.com - Tue, 22 Mar 2022 00:59 UTC

On Tuesday, March 22, 2022 at 10:50:09 AM UTC+11, Bart wrote:

> Probably this:

> "Note that SubC is a teaching vehicle rather than a production compiler."

The whole of the University Challenge disk is a teaching
vehicle rather than production, but that's no reason why
we shouldn't aim for C90-compliance.

Actually I wouldn't even say that UC is a teaching vehicle.
It's more like a starter system so that you can WRITE a
teaching vehicle.

And then you can use the teaching vehicle to write
production tools and then a proper multitasking production
system.

> I just downloaded this, but it really isn't very Windows-friendly. It
> also purports to build itself, but you'd have a job getting to a working
> compiler to try that out, unless you're running on Unix.

PDOS/386, including UC, is Windows-friendly. It is in
fact a mini Win32 clone. That's why it comes with its
own msvcrt.dll.

> The first obstacle is that the sources used .tgz format (not known on
> Windows; you need to download 7-Zip, and do the expansion in two parts,
> first to .tar then to individual files).

On the UC disk, and indeed the full PDOS/386 distribution,
the source can be found in \devel\subc\src

UC doesn't have an unzip so everything needs to be
decompressed.

> Then these are the instructions for Windows:

I have different instructions for Windows, but I haven''t
written them down.

Add \dos (which contains only Windows executables,
almost all dependent on just msvcrt.dll but some depend
on kernel32.dll instead) to your path and then go:

cd \devel\world
pdmake -f worldw2.mak

> "The Windows version of SubC requires the MinGW infrastructure,
> but does not use the GNU libc. To build the compiler, the MSYS
> environment of MinGW is needed."

I have replacement instructions, also not written down:

Go:

cd \devel\subc\src
pdmake -f makefile.p32

> "* DO NOT use "make". It will probably not work. Use the
> WINBUILD.BAT script instead."

This is not required.

> Too right! And WINBUILD still needs that MSYS stuff.

This is not required.

> All the docs including for DOS have long lists of things imported from
> Unix, and in fact you have to cross-compile from Unix.

To compile for DOS run sccdos.exe instead.

> These aren't the dependency problems you need in your post-apocalyptic
> scenario!

If you just boot the UC disk and go through the readme
files, none of those dependencies arise.

> This is for a project that is 20 .h/.c files, some 6000 lines in total;
> not a big project, and the self-hosting comment gives the impression
> that it will build with pretty much any compiler as most support a
> bigger subset.

Yes, if you do:

pdmake -f makefile.w32
in \devel\subc\src
it will build with gccwin (included in the full PDOS/386 distribution) instead.

> (I understand that when built, it will run but may not support a Windows
> target; I just wanted to see it in action even if I can't run its output.)

It does support a Windows target when built, but you will
need to statically link the (supplied) C library because it can't
deal with msvcrt.dll (dllexport is used) and you will need to
use the (supplied) aswin/ldwin derived from binutils because
we don't have a public domain COFF/PE assembler/linker.

Let me know of any other issues.

BFN. Paul.

Pages:123
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor