Re: [9fans] Compiling 9atom kernel WAS: Re: spaces in filenames

2011-05-05 Thread Greg Comeau
but ran into issues. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it?

Re: [9fans] Compiling 9atom kernel WAS: Re: spaces in filenames

2011-05-05 Thread Greg Comeau
... The exception to this the HP cfront implementation which they might release if hassled. As I recall, HP cfront was one in the same (adding the implementation of exception handling to cfront mostly). They did do further work on (modern) templates but it was to an inhouse compiler. -- Greg Comeau / 4.3.10.1

Re: [9fans] Compiling 9atom kernel WAS: Re: spaces in filenames

2011-05-05 Thread Greg Comeau
. The harder it is for people to grasp the intent of any given section, the longer it will be before the program becomes operational. -- Kernighan and Plauger -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class

Re: [9fans] Compiling 9atom kernel WAS: Re: spaces in filenames

2011-05-05 Thread Greg Comeau
of people who still use dumb terminals and such and swear by lynx. I know this is not what errno is seeking, and it could even end up being a distraction to such a goal, but don't know what can be built atop it, so this could equally be an insane suggestion to look into it. -- Greg Comeau

Re: [9fans] Compiling 9atom kernel WAS: Re: spaces in filenames

2011-05-05 Thread Greg Comeau
leave at a cursory level that there does not seem to be a simple solution. BTW, why is the above a Plan 9 specific approach? -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99

Re: [9fans] Additional compilers under 9vx.OSX

2011-05-04 Thread Greg Comeau
In article ionvtt$p6n$1...@panix1.panix.com, Greg Comeau com...@comeaucomputing.com wrote: In article inuqri$eqi$1...@panix1.panix.com, Greg Comeau com...@comeaucomputing.com wrote: In article insdeo$km5$1...@panix1.panix.com, Greg Comeau com...@comeaucomputing.com wrote: As mentioned in a post

Re: [9fans] Compiling 9atom kernel WAS: Re: spaces in filenames

2011-05-04 Thread Greg Comeau
rather have/take them than nothing, even in the face of it being imperfect or less optimal compromises. And often, it's even the thing that makes sense, since, it might just mean morphing an iceberg (or whatever it is) to another iceberg (or whatever it is). -- Greg Comeau / 4.3.10.1 with C

[9fans] nm L symbols

2011-05-04 Thread Greg Comeau
, then a L is otherwise a T (and an l a t), or is there some other differences? -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C

Re: [9fans] Additional compilers under 9vx.OSX

2011-04-21 Thread Greg Comeau
since upgraded to 10.6.7 and it seems fine with us too. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you

Re: [9fans] Additional compilers under 9vx.OSX

2011-04-21 Thread Greg Comeau
In article inuqri$eqi$1...@panix1.panix.com, Greg Comeau com...@comeaucomputing.com wrote: In article insdeo$km5$1...@panix1.panix.com, Greg Comeau com...@comeaucomputing.com wrote: As mentioned in a post yesterday, we seem to have succeeded in getting 5c et al built. However, in resuming playing

Re: [9fans] Additional compilers under 9vx.OSX

2011-04-12 Thread Greg Comeau
/sys/src; objtype=arm mk install mk clean - erik I posted some on the wiki about how I got the guruplug working for me... Thanks. I tried google'ing but don't see to be able to find where that is. Please advise, thanks. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C

Re: [9fans] Additional compilers under 9vx.OSX

2011-04-12 Thread Greg Comeau
above instead of the earlier system build (or whatever it is that the other was) and see if that helps any, unless there is thoughts that is an exercise in futility for one reason or another? -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com

Re: [9fans] Additional compilers under 9vx.OSX

2011-04-11 Thread Greg Comeau
stomped on something already existing. Any ideas what? -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you

Re: [9fans] Additional compilers under 9vx.OSX

2011-04-11 Thread Greg Comeau
(and perhaps some others) follow the above procedure. Is that right? IOWs, for instance, after the mk all and mk install only 1c, 2c, 5c, 7c, and 8c are in /386/bin, but the others I don't see. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com

Re: [9fans] Additional compilers under 9vx.OSX

2011-04-11 Thread Greg Comeau
convenient. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it?

Re: [9fans] Additional compilers under 9vx.OSX

2011-04-11 Thread Greg Comeau
of some of the files first among other setbacks... ok, plain mk asks what to make, and so I tried 'mk all' which is saying 5c does not exist, but that's one of the things I want it to build. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http

Re: [9fans] Additional compilers under 9vx.OSX

2011-04-11 Thread Greg Comeau
. Thanks for the heads up, I seem to have run into this trying to copy sys and eventually had to use a piping tar and cross my fingers nothing got stomped on that I'm trying to (eventually) build -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http

Re: [9fans] Additional compilers under 9vx.OSX

2011-04-11 Thread Greg Comeau
In article insdeo$km5$1...@panix1.panix.com, Greg Comeau com...@comeaucomputing.com wrote: As mentioned in a post yesterday, we seem to have succeeded in getting 5c et al built. However, in resuming playing around at least one case /bin/ape/sh is producing: ./command-name[3]: other-command-name

Re: [9fans] Making read(1) an rc(1) builtin?

2011-04-07 Thread Greg Comeau
is that read is a built-in in many UNIX shells, so of course this is not an exact comparison, but still in the end need to get to the practical compromise issue being worthy or not. I won't answer that in the case above though :) -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE

Re: [9fans] Making read(1) an rc(1) builtin?

2011-04-07 Thread Greg Comeau
thrown at it like a champ), but I'll guess probably one needs to look also at its footprint vs (or in addition to) rsh's, if this read issue and similar is of such concern to OP. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout

[9fans] Additional compilers under 9vx.OSX

2011-04-07 Thread Greg Comeau
for the additional compilers (packaged files of each compiler would be best)? -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's

Re: [9fans] 8l follows a precedence based on the commandline arrangement

2011-03-02 Thread Greg Comeau
to mention A explicitly so it will be read a second time. So your problem lib is probably having put libf2c.a first. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99

Re: [9fans] Modern development language for Plan 9,

2011-02-24 Thread Greg Comeau
detail, except maybe for templates. --=20 Federico G. Benavento -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries

Re: [9fans] Modern development language for Plan 9,

2011-02-24 Thread Greg Comeau
:-) Probably not much should be used at all :) -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it?

Re: [9fans] Modern development language for Plan 9,

2011-02-03 Thread Greg Comeau
mouth with this unofficial definition, but I'm sure somebody will point that out :) -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C

Re: [9fans] Plan9 development

2010-11-25 Thread Greg Comeau
to obtain function names as it is a later phase of translation. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you

Re: [9fans] porting help please (gcc void pointer handling)

2009-09-10 Thread Greg Comeau
point is that the #define by itself may be fine, but *using it* as constant intializer is not, since the value of startLabel, if it's something like a char *, is not for use as a constant intiailizer (so adding 464 to it is not either). -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C

Re: [9fans] porting help please (gcc void pointer handling)

2009-09-10 Thread Greg Comeau
x.c void *f(void *v){return v + 23;} % gcc -Wall -c x.c % use -pedantic: q.c:1: warning: pointer of type 'void *' used in arithmetic There is probably some option to have the warning as an error too. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http

Re: [9fans] porting help please (gcc void pointer handling)

2009-09-10 Thread Greg Comeau
the cast to an unsigned char * cast may not necessarily be the solution and/or best solution. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C

Re: [9fans] porting help please (gcc void pointer handling)

2009-09-10 Thread Greg Comeau
the #define in the first place. (so instead of (void*)blah+99 this ((void*)(blah+99))) etc. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C

Re: [9fans] porting help please (gcc void pointer handling)

2009-09-10 Thread Greg Comeau
is being solved by your question though, so it's unclear if offering these ideas are just solutions looking for (non)problems or not :) Also, re non-destructive, it's unclear what you mean? -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com

Re: [9fans] nice quote

2009-09-09 Thread Greg Comeau
even this assertion is shaped by my personal impressions. A kind of empirical comment: What you first learned, or at least what you first learned that worked, often seems to wire us to that way. This seems to bring forth biases establishing your programming universe versus somebody else's. -- Greg

Re: [9fans] nice quote

2009-09-09 Thread Greg Comeau
to killfile, go to the next thread/message, whatever. Being rude is rarely helpful. Chill out. Let's move on. Please. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous

Re: [9fans] nice quote

2009-09-09 Thread Greg Comeau
? Irony? Let's move on. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it?

Re: [9fans] porting help please

2009-09-09 Thread Greg Comeau
lines too, so you may have told the compiler not to warn about that. That additional diagnostic could be misleading in some cases, but it could have been another poke in helping you resolve the issue. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http

Re: [9fans] porting help please

2009-09-09 Thread Greg Comeau
by using the -E and/or -P options, that way you can see whether the macro ended up getting substituted and what it was substituted to -- or not in your case. Some compilers also have options which will emit the trail of files #include'd but I don't see that option for pcc. -- Greg Comeau

Re: [9fans] Blocks in C

2009-09-07 Thread Greg Comeau
, moving more generally, that something can already be done using feature X had BETTER be a consideration, but that consideration alone is often insufficient. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers

Re: [9fans] nice quote

2009-09-07 Thread Greg Comeau
that is, and with event he easier approach, whatever that is :) -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it?

Re: [9fans] nice quote

2009-09-07 Thread Greg Comeau
is not much different in this regard. That said, saying push and inherent are probably inherently pushing things :) -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90

Re: [9fans] Blocks in C

2009-09-07 Thread Greg Comeau
the way one would intuitively?? think it would work, then, why doesn't it? -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's

Re: [9fans] nice quote

2009-09-07 Thread Greg Comeau
think your conclusion greatly exaggerates the situation, at least as I understand what you said. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C

Re: [9fans] nice quote

2009-09-07 Thread Greg Comeau
In article 936a4bab-7d9a-4b65-ab6a-c5eea8e43...@storytotell.org, Daniel Lyons fus...@storytotell.org wrote: On Sep 7, 2009, at 3:05 AM, Greg Comeau wrote: Some keep saying that we should use more complex languages in the introductory course because they're in some way easier. But I've yet

Re: [9fans] nice quote

2009-09-04 Thread Greg Comeau
In article 6a3ae47e0909030757n31a8d09aoa2b2d57628a5a...@mail.gmail.com, Robert Raschke rtrli...@googlemail.com wrote: On Thu, Sep 3, 2009 at 3:02 PM, Greg Comeau com...@panix.com wrote: Ok, now I'll get provocative: Then why do so many people have a problem understanding C? Please don't

Re: [9fans] nice quote

2009-09-04 Thread Greg Comeau
forth. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it?

Re: [9fans] Blocks in C

2009-09-04 Thread Greg Comeau
, and many other companies, sure can be pompous often, bringing even the market chooses to be rhetoric. That said, I really can't say how true the above is in this case. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class

Re: [9fans] nice quote

2009-09-04 Thread Greg Comeau
(deservingly so, but C ain't 0, far from it IMO). -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it?

Re: [9fans] Blocks in C

2009-09-04 Thread Greg Comeau
, then, then that combo allows the underlying machinery can pick up on the tag, or not, to do the locking. Automatically. If I'm not remembering correctly, or, I'm thinking about something totally different, I'm certain somebody will correct any misspeaks I've just made. -- Greg Comeau / 4.3.10.1 with C++0xisms now

Re: [9fans] Blocks in C

2009-09-04 Thread Greg Comeau
. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it?

Re: [9fans] Blocks in C

2009-09-04 Thread Greg Comeau
, to be executed on a concurrent FIFO, is where the real power comes out. This seems to be the first post that does not appear to be a kind of knee jerk reaction. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers

Re: [9fans] Blocks in C

2009-09-03 Thread Greg Comeau
to argue against a great many things in that case, including current Plan 9 C extensions. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C

Re: [9fans] nice quote

2009-09-03 Thread Greg Comeau
). -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it?

Re: [9fans] nice quote

2009-09-03 Thread Greg Comeau
that OS/2 was such (nor that MS products have no bugs)) -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you

Re: [9fans] Blocks in C

2009-09-03 Thread Greg Comeau
has already delved there, whether we're looking at it from C is C as KR C, C89/90, C99, or something in the middle :) -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99

Re: [9fans] Blocks in C

2009-09-03 Thread Greg Comeau
stuff. Certainly they do different things, but, still, just a thought. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's

Re: [9fans] Blocks in C

2009-09-03 Thread Greg Comeau
In article fe41879c0909030348o2155c471vbc4da020f1419...@mail.gmail.com, Akshat Kumar aku...@mail.nanosouffle.net wrote: Greg Comeau wrote: [... stuff ...] These four posts seem to be in indirect conversation with Charles Forsyth's, one thing that gets me is that i've had people fulminate about

Re: [9fans] nice quote

2009-09-03 Thread Greg Comeau
In article a879919a-6e6f-4425-a971-62946a07e...@coraid.com, Brantley Coile brant...@coraid.com wrote: If the language can't be explained in 50 pages, it's no good. Well, that rules out C too then! :) (not even considering the library parts) -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta

Re: [9fans] nice quote

2009-09-03 Thread Greg Comeau
... That's good, because he's from Denmark :) Let's drop this part of things... -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C

Re: [9fans] nice quote

2009-09-03 Thread Greg Comeau
is that? the one that says i'm a rational person but will say irrational things if it helps me sell my wares? That seems to be one valid interpretation :) -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers

Re: [9fans] bundle //GO.SYSIN DD

2008-07-30 Thread Greg Comeau
, so I suspect it was a reference to something along those lines, though I'm totally wild guessing myself, but suspect it was being used something like a UNIX sh `here document', and he thought that as cute enough to drag along :) -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C

Re: [9fans] bundle //GO.SYSIN DD

2008-07-28 Thread Greg Comeau
more about the file etc). Dunno why it's coming along here but probably some sort of emulator or something similar. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous