* [9fans] A newbie question...
@ 2008-02-01 0:22 Michael Andronov
2008-02-01 0:25 ` erik quanstrom
` (3 more replies)
0 siblings, 4 replies; 87+ messages in thread
From: Michael Andronov @ 2008-02-01 0:22 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 516 bytes --]
Hi,
I'm a new to Plan9, and I am trying to understand the current status of the
system.
In particular, I am wondering about the list of application available=
- is there email reader?
- Web browser?
- office like suite = document editor, spreadsheet?
- is it possible to run Linux software under plan9?
In other words, I am wondering if it is possible to switch to Plan 9 system,
and to use it as 'everyday machine'?
Thank you for your kind attention to this matter.
have a great day,
Michael.
[-- Attachment #2: Type: text/html, Size: 579 bytes --]
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-01 0:22 [9fans] A newbie question Michael Andronov
@ 2008-02-01 0:25 ` erik quanstrom
2008-02-01 0:31 ` john
2008-02-01 0:30 ` Pietro Gagliardi
` (2 subsequent siblings)
3 siblings, 1 reply; 87+ messages in thread
From: erik quanstrom @ 2008-02-01 0:25 UTC (permalink / raw)
To: 9fans
> I'm a new to Plan9, and I am trying to understand the current status of the
> system.
> In particular, I am wondering about the list of application available=
> - is there email reader?
> - Web browser?
> - office like suite = document editor, spreadsheet?
> - is it possible to run Linux software under plan9?
yes, not really, no, no.
>
> In other words, I am wondering if it is possible to switch to Plan 9 system,
> and to use it as 'everyday machine'?
i use plan 9 as my everyday machine both at home and at work.
- erik
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-01 0:25 ` erik quanstrom
@ 2008-02-01 0:31 ` john
0 siblings, 0 replies; 87+ messages in thread
From: john @ 2008-02-01 0:31 UTC (permalink / raw)
To: 9fans
>> I'm a new to Plan9, and I am trying to understand the current status of the
>> system.
>> In particular, I am wondering about the list of application available=
>> - is there email reader?
>> - Web browser?
>> - office like suite = document editor, spreadsheet?
>> - is it possible to run Linux software under plan9?
>
> yes, not really, no, no.
>
You could, of course, use troff to make documents.
And linuxemu seems able to provide both Linux software capability
and a web browser...
>>
>> In other words, I am wondering if it is possible to switch to Plan 9 system,
>> and to use it as 'everyday machine'?
>
> i use plan 9 as my everyday machine both at home and at work.
>
> - erik
I use Plan 9 at work every day, it's pretty good.
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-01 0:22 [9fans] A newbie question Michael Andronov
2008-02-01 0:25 ` erik quanstrom
@ 2008-02-01 0:30 ` Pietro Gagliardi
2008-02-04 0:59 ` Enrico Weigelt
2008-02-01 2:16 ` Pietro Gagliardi
2008-02-01 8:50 ` John Stalker
3 siblings, 1 reply; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-01 0:30 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Jan 31, 2008, at 7:22 PM, Michael Andronov wrote:
> Hi,
>
> I'm a new to Plan9, and I am trying to understand the current
> status of the system.
> In particular, I am wondering about the list of application available=
> - is there email reader?
Several ways to do this, but to set up:
http://plan9.bell-labs.com/wiki/plan9/Mail_configuration/index.html
>
> - Web browser?
The most actively developed is abaco. Type, on the command line:
9fs sources
/n/sources/contrib/fgb/root/rc/contrib/install fgb/contrib
contrib/install fgb/abaco
Then type
abaco http://website.com/
You will need the http://.
>
> - office like suite = document editor, spreadsheet?
Document editor is troff. There is no built-in spreadsheet, just
maintain a text database. There are resources for learning troff;
http://www.troff.org/ is a good place to start.
>
> - is it possible to run Linux software under plan9?
Yes, there is an in-development program called linuxemu. I don't have
much info on it, though.
>
>
> In other words, I am wondering if it is possible to switch to Plan
> 9 system, and to use it as 'everyday machine'?
>
> Thank you for your kind attention to this matter.
>
> have a great day,
> Michael.
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-01 0:30 ` Pietro Gagliardi
@ 2008-02-04 0:59 ` Enrico Weigelt
0 siblings, 0 replies; 87+ messages in thread
From: Enrico Weigelt @ 2008-02-04 0:59 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
* Pietro Gagliardi <pietro10@mac.com> wrote:
>
> On Jan 31, 2008, at 7:22 PM, Michael Andronov wrote:
>
> >Hi,
> >
> >I'm a new to Plan9, and I am trying to understand the current
> >status of the system.
> >In particular, I am wondering about the list of application available=
> >- is there email reader?
>
> Several ways to do this, but to set up:
> http://plan9.bell-labs.com/wiki/plan9/Mail_configuration/index.html
BTW: I'm currently designing an new mail filesystem which should should
allow directly mounting many kind of mail storages and similar things
(eg. rss-feeds, nttp-servers, etc, etc).
http://oss-qm.metux.de/index.php/9forge/mailfs-ng
Maybe you'd like to help a bit :)
> >In other words, I am wondering if it is possible to switch to Plan
> >9 system, and to use it as 'everyday machine'?
Actually, I'm personally not using native Plan9 at all. Instead I'm
very interested in doing things the "Plan9-way" on *nix platforms.
(eg. using synthethic filesystems for a lot of things and splitting
large applications into smaller, independent parts, speaking 9P).
BTW: plan9port allows building/running Plan9 programs on *nix
systems (eg Linux). Always woth to look at :)
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-01 0:22 [9fans] A newbie question Michael Andronov
2008-02-01 0:25 ` erik quanstrom
2008-02-01 0:30 ` Pietro Gagliardi
@ 2008-02-01 2:16 ` Pietro Gagliardi
2008-02-01 8:50 ` John Stalker
3 siblings, 0 replies; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-01 2:16 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Do you know how to use the Acme editor? You use abaco in a similar
fashion.
If you mean a full office suite like Microsoft Word/Excel/PowerPoint
with a GUI interface, then no. But troff is easy to learn. Here's a
rough tutorial for troff: troff documents are text files sent through
the troff program and its preprocessors to get a document. For
example, if you have a file named mydoc, the command
troff mydoc | page
lets you preview your document, and
troff mydoc | lp -dmyprinter
sends it to your printer, replacing myprinter with the device name,
troff is commonly used with a macro set, which defines formatting.
The most common macro set is ms, created by Mike Lesk. To format a
document with ms support:
troff -ms mydoc | [output command]
Here is the structure of an ms document:
.TL
Title
.AU
Author
.AB
Abstract
.AE
.NH
Numbered heading
.PP
Paragraph
.IP \(bu
Bulleted paragraph
.IP 1.
Numbered paragraph
.IP 2.
List item number 2
.LP
Left-aligned paragraph
.SH
Section heading
.NH 2
Level 2 numbered heading (1.1)
.PP
Text in
.B bold
and
.I italic .
Lines beginning with a . are troff/ms commands. If your document has
no abstract, use
.AB no
.AE
A preprocessor is filtered through before troff. For example, a
document with tables, equations, and pictures uses the command line
pic mydoc | tbl | eqn | troff -ms | [output program]
tbl, also by Mike Lesk, creates tables.
.TS
center, box;
c s
r l.
Title of table
_
A B
C D
E F
.TE
The line
center, box;
is obvious - it affects the whole table.
c s
tells the first row to be centered and all columns spanned, and
r l.
tells the rest of the rows to have a right-adjusted column and a left-
adjusted column. Column data is separated by tabs. If a line is
_
then a horizontal line is placed.
eqn formats equations.
.EQ
sum from n=1 to infinity { x sup 2 } ~ -> ~ { infinity sub n sup 2 }
over 4n
.EN
The ~ gives an explicit space, and { } perform grouping. Embedded
equations are also supported:
.EQ
delim @@
.EN
.PP
... the conversion factor from radians to degrees is @180 / pi@
pic is a simple picture language.
.PS
box "hello"
arrow
box "how" "are you?"
box wid 2 "widths are" "in inches"
arrow <->
ellipse
.PE
pic and eqn are by Brian Kernighan, and eqn was co-written by Lorinda
Cherry. The official documentation for many of these tools can be
found at:
- http://cm.bell-labs.com/cm/cs/cstr.html
- http://cm.bell-labs.com/cm/cs/papers.html
And again, see troff.org for more information:
abaco http://www.troff.org/
To download a paper from the above,
1) Snarf the link. Snarf is to Plan 9 as copy is to Windows/Mac OS X/
Linux.
2) In a command line, type "hget " without hitting Enter.
3) Middle-click and choose "paste".
4) If the file is .ps.gz, type "| gunzip > x.ps" replacing x with the
document's intended name. Otherwise, just say "> x.ps" or "> x.pdf".
5) Run page on the ps/pdf file.
On Jan 31, 2008, at 7:22 PM, Michael Andronov wrote:
> Hi,
>
> I'm a new to Plan9, and I am trying to understand the current
> status of the system.
> In particular, I am wondering about the list of application available=
> - is there email reader?
> - Web browser?
> - office like suite = document editor, spreadsheet?
> - is it possible to run Linux software under plan9?
>
> In other words, I am wondering if it is possible to switch to Plan
> 9 system, and to use it as 'everyday machine'?
>
> Thank you for your kind attention to this matter.
>
> have a great day,
> Michael.
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-01 0:22 [9fans] A newbie question Michael Andronov
` (2 preceding siblings ...)
2008-02-01 2:16 ` Pietro Gagliardi
@ 2008-02-01 8:50 ` John Stalker
2008-02-01 17:15 ` Michael Andronov
3 siblings, 1 reply; 87+ messages in thread
From: John Stalker @ 2008-02-01 8:50 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> I'm a new to Plan9, and I am trying to understand the current status of the
> system.
> In particular, I am wondering about the list of application available
> - is there email reader?
> - Web browser?
> - office like suite = document editor, spreadsheet?
> - is it possible to run Linux software under plan9?
>
> In other words, I am wondering if it is possible to switch to Plan 9 system,
> and to use it as 'everyday machine'?
Most of what's worth saying has already bee said, but I would note three things:
1) Various people metioned troff. TeX is also supported, and is better at
some things, though worse at others. Personally I use TeX.
2) For things other people do with spreadsheets I use awk. If you keep the data
as csv, i.e. text fields separated by commas, then awk can manipulate them easily
and you still have the option of importing into Excel if you ever need to. I do
everything this way: students grades, financial accounts, etc. The editor sam
has a simple facility for piping a file through a command, in this case awk, so
you can update everything with a few mouse clicks.
3) Consider running plan9ports rather than a full plan9 installation. I've done
both. Which is better depends on what you are doing.
--
John Stalker
School of Mathematics
Trinity College Dublin
tel +353 1 896 1983
fax +353 1 896 2282
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-01 8:50 ` John Stalker
@ 2008-02-01 17:15 ` Michael Andronov
2008-02-02 4:43 ` Michael Andronov
0 siblings, 1 reply; 87+ messages in thread
From: Michael Andronov @ 2008-02-01 17:15 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 392 bytes --]
Thank you everyone for your speedy and informative replies.
In my everyday work, I'm using gcc, web browser, instant messenger to
communicate with the rest of the team,
and occasionally office suite to provide reports to the customers...
It seems like Plan9 can handle the tasks ( at least most of them ), so I am
tempting to try it ...
Thanks once again for info.
Michael.
[-- Attachment #2: Type: text/html, Size: 442 bytes --]
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-01 17:15 ` Michael Andronov
@ 2008-02-02 4:43 ` Michael Andronov
2008-02-02 4:57 ` Pietro Gagliardi
2008-02-02 4:57 ` [9fans] A newbie question Pietro Gagliardi
0 siblings, 2 replies; 87+ messages in thread
From: Michael Andronov @ 2008-02-02 4:43 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 372 bytes --]
Another question from newbie :
I have noticed some discussion(s) on Internet about C++ language for Plan9;
I'm wondering what is a bottom line of the story:
- is there a C++ compiler? Any plans for it?
- has it been 'banned' from Plan9?
- has gcc been ported to Plan9? ( as was suggested in one of the messages I
saw)...
Thank for your attention.
Michael.
[-- Attachment #2: Type: text/html, Size: 492 bytes --]
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 4:43 ` Michael Andronov
@ 2008-02-02 4:57 ` Pietro Gagliardi
2008-02-02 13:02 ` Steve Simon
2008-02-02 4:57 ` [9fans] A newbie question Pietro Gagliardi
1 sibling, 1 reply; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-02 4:57 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]
C++ has not been included in Plan 9 since the third edition, but the
source code is available, and Steve Simon has made some updates.
Once you have abaco the way I said to get it, you also have Federico
Benavento's contrib system. With it, all you need is
contrib/install steve/cfront
Otherwise, get contrib with
/n/sources/contrib/fgb/root/rc/bin/contrib/install fgb/contrib
and then do the above. Then, to compile a C++ program:
c++/8c x.C # considering .C is the C++ extension
c++/8l -o x x.8
The one thing: don't use
#include <iostream>
using namespace std;
You will need
#include <iostream.h>
which does that for you.
On Feb 1, 2008, at 11:43 PM, Michael Andronov wrote:
> Another question from newbie :
>
> I have noticed some discussion(s) on Internet about C++ language
> for Plan9;
> I'm wondering what is a bottom line of the story:
> - is there a C++ compiler? Any plans for it?
> - has it been 'banned' from Plan9?
> - has gcc been ported to Plan9? ( as was suggested in one of the
> messages I saw)...
>
> Thank for your attention.
> Michael.
>
[-- Attachment #2: Type: text/html, Size: 2668 bytes --]
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 4:57 ` Pietro Gagliardi
@ 2008-02-02 13:02 ` Steve Simon
2008-02-04 10:21 ` Greg Comeau
0 siblings, 1 reply; 87+ messages in thread
From: Steve Simon @ 2008-02-02 13:02 UTC (permalink / raw)
To: 9fans
> - is there a C++ compiler? Any plans for it?
Cfront is available but you will be shocked if you expect it
to replace gcc - it is very old now, and though it could be
improved if somone was willing to do the work it would require
quite some dedication.
Getting g++ to work would be the best way to get a modern
C++ compiler on plan9 for free.
If you have money the Comeau computing supply both a portable
compiler and a GCC compliant C++ to C translator (both based
on the EDG front-end), however there is no plan9 port, yet.
http://www.comeaucomputing.com/
http://www.edg.com/
-Steve
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 13:02 ` Steve Simon
@ 2008-02-04 10:21 ` Greg Comeau
2008-02-04 10:52 ` mattmobile
` (2 more replies)
0 siblings, 3 replies; 87+ messages in thread
From: Greg Comeau @ 2008-02-04 10:21 UTC (permalink / raw)
To: 9fans
In article <824de59a4b242b73662cf1ae2b2cbcc2@quintile.net>,
Steve Simon <9fans@cse.psu.edu> wrote:
>> - is there a C++ compiler? Any plans for it?
>...
>Getting g++ to work would be the best way to get a modern
>C++ compiler on plan9 for free.
>
>If you have money the Comeau computing supply both a portable
>compiler and a GCC compliant C++ to C translator (both based
>on the EDG front-end), however there is no plan9 port, yet.
>
> http://www.comeaucomputing.com/
> http://www.edg.com/
We would love to be able to do such a port. However, as you mentioned,
it's an economic problem rather than a technical one. As a point
of clarification, we could provide a full port of Comeau C++ which
uses gcc (assuming one comes with it and/or is available for it).
Although I keep hearing different stories about the gcc availble for
Plan 9 (it makes little sense to me to hear "it does not work" because
something had to be used to compile Plan 9 itself, etc and I figure it's
not being done as a cross-compiler).
--
Greg Comeau / 4.3.9 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?
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 10:21 ` Greg Comeau
@ 2008-02-04 10:52 ` mattmobile
2008-02-04 11:12 ` Uriel
2008-02-06 9:45 ` Greg Comeau
2008-02-04 11:09 ` Uriel
2008-02-04 14:32 ` [9fans] cross-compilation Charles Forsyth
2 siblings, 2 replies; 87+ messages in thread
From: mattmobile @ 2008-02-04 10:52 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> because something had to be used to compile Plan 9 itself, etc and I
figure it's not being done as a cross-compiler.
I'm sorry my new friend but I think that's the funniest 9fans post I've
ever seen, how ... but .... surely you ..... aw come on
To redeem myself I shall offer this link to one of the other C compilers
that exist in the world :
http://plan9.bell-labs.com/magic/man2html/1/2c
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 10:52 ` mattmobile
@ 2008-02-04 11:12 ` Uriel
2008-02-04 11:47 ` Filipp Andronov
2008-02-06 9:45 ` Greg Comeau
1 sibling, 1 reply; 87+ messages in thread
From: Uriel @ 2008-02-04 11:12 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
And when you thought it couldn't get better, from the top of
http://www.comeaucomputing.com
"Bursting With So Much Language Support It Hurts!"
Most fortune-worthy line ever.
uriel
On Feb 4, 2008 12:52 PM, <mattmobile@proweb.co.uk> wrote:
> > because something had to be used to compile Plan 9 itself, etc and I
> figure it's not being done as a cross-compiler.
>
> I'm sorry my new friend but I think that's the funniest 9fans post I've
> ever seen, how ... but .... surely you ..... aw come on
>
> To redeem myself I shall offer this link to one of the other C compilers
> that exist in the world :
> http://plan9.bell-labs.com/magic/man2html/1/2c
>
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 11:12 ` Uriel
@ 2008-02-04 11:47 ` Filipp Andronov
2008-02-04 15:42 ` Alf
2008-02-06 9:53 ` Greg Comeau
0 siblings, 2 replies; 87+ messages in thread
From: Filipp Andronov @ 2008-02-04 11:47 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Hmmm, may i ask a very stupid question? :)
I have working with GCC C++ compiler and MS C++ compiler, and i
suppose that there are another compilers in the world...
But i don't known any other free compiler (yeah, MS compiler is not
free, but in russia all MS software IS free :D). So question is, if we
couldn't port GCC because it very big job (any other reason?), maybe
we could port some other compiler with liberal enough licence?
I'm asking because C++ is very popular language, it have some nice
benefits (is that word right here?), and there are many software that
was developed on it.
Of course C++ could be very ugly in some situations, but Object
Oriented model is very powerful and C++ is "standard" language for it.
So modern operation system with out C++ support is something...unusual
(i don't know right word in english, that describe what i want to say
:D)?
2008/2/4, Uriel <uriel99@gmail.com>:
> And when you thought it couldn't get better, from the top of
> http://www.comeaucomputing.com
>
> "Bursting With So Much Language Support It Hurts!"
>
> Most fortune-worthy line ever.
>
> uriel
>
> On Feb 4, 2008 12:52 PM, <mattmobile@proweb.co.uk> wrote:
> > > because something had to be used to compile Plan 9 itself, etc and I
> > figure it's not being done as a cross-compiler.
> >
> > I'm sorry my new friend but I think that's the funniest 9fans post I've
> > ever seen, how ... but .... surely you ..... aw come on
> >
> > To redeem myself I shall offer this link to one of the other C compilers
> > that exist in the world :
> > http://plan9.bell-labs.com/magic/man2html/1/2c
> >
> >
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 11:47 ` Filipp Andronov
@ 2008-02-04 15:42 ` Alf
2008-02-04 16:06 ` Filipp Andronov
2008-02-06 9:53 ` Greg Comeau
1 sibling, 1 reply; 87+ messages in thread
From: Alf @ 2008-02-04 15:42 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Hi,
> if we
> couldn't port GCC because it very big job (any other reason?), maybe
> we could port some other compiler with liberal enough licence?
>
>
If you (not *we*) want to port something port it and let us know when
it's done.
The process goes like this :
"I've done some working code for my XXXX C++ port, it's in my
contrib directory if someone wants to have a go with it"
> I'm asking because C++ is very popular language,
This is Plan 9, popularity isn't very high on the list.
The reason there is no native C++ compiler is because of it's *lack* of
popularity in the Plan 9 community, both historically and currently.
The pattern of "I've just downloaded Plan9 and I want my old tools" is
very common and we just kind of ignore them :) except for the anti-GNU
troll responses.
You'll (eventually) notice that *most* of the long time Plan 9 users
don't even join in the discussion, no doubt smiling a "seen it all
before" smile before pressing Del
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 15:42 ` Alf
@ 2008-02-04 16:06 ` Filipp Andronov
2008-02-04 16:53 ` Steve Simon
2008-02-04 19:51 ` Pietro Gagliardi
0 siblings, 2 replies; 87+ messages in thread
From: Filipp Andronov @ 2008-02-04 16:06 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> If you (not *we*) want to port something port it and let us know when
> it's done.
sorry, it my mistake, i do not mean that all community should go and port GCC :)
> The pattern of "I've just downloaded Plan9 and I want my old tools" is
> very common and we just kind of ignore them :) except for the anti-GNU
> troll responses.
Ok, i already figure out this. I was not right(?) when start this
discussion if there is no C++ in Plan9, that there are some reasons
for that :)
Thanks to all, i'm really sorry if i disturb anyone with this discasion ))
2008/2/4, Alf <mattmobile@proweb.co.uk>:
> Hi,
> > if we
> > couldn't port GCC because it very big job (any other reason?), maybe
> > we could port some other compiler with liberal enough licence?
> >
> >
> If you (not *we*) want to port something port it and let us know when
> it's done.
> The process goes like this :
> "I've done some working code for my XXXX C++ port, it's in my
> contrib directory if someone wants to have a go with it"
>
> > I'm asking because C++ is very popular language,
> This is Plan 9, popularity isn't very high on the list.
>
> The reason there is no native C++ compiler is because of it's *lack* of
> popularity in the Plan 9 community, both historically and currently.
>
> The pattern of "I've just downloaded Plan9 and I want my old tools" is
> very common and we just kind of ignore them :) except for the anti-GNU
> troll responses.
>
> You'll (eventually) notice that *most* of the long time Plan 9 users
> don't even join in the discussion, no doubt smiling a "seen it all
> before" smile before pressing Del
>
>
>
>
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 16:06 ` Filipp Andronov
@ 2008-02-04 16:53 ` Steve Simon
2008-02-04 19:51 ` Pietro Gagliardi
1 sibling, 0 replies; 87+ messages in thread
From: Steve Simon @ 2008-02-04 16:53 UTC (permalink / raw)
To: 9fans
> The reason there is no native C++ compiler is because of it's *lack* of
> popularity in the Plan 9 community, both historically and currently.
"We don't need a C++ compiler because everything is written in C" is just a
self-fulfilling prophecy.
I would really like to be able to compile some large C++ apps and use,
them. I have no interest in writing plan9 versions, the plan9 stuff is what
I want to use them _for_, I just want some tools which happen to be
written in C++.
-Steve
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 16:06 ` Filipp Andronov
2008-02-04 16:53 ` Steve Simon
@ 2008-02-04 19:51 ` Pietro Gagliardi
1 sibling, 0 replies; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-04 19:51 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
When I started Plan 9, I was actually happy that some of the tools I
wanted (grap, prof) were already available. I wanted to try GCC to
try to port a web browser, but Abaco is growing fast, and I'll stick
with that. I'm already porting pico, and that's in my contrib directory.
On Feb 4, 2008, at 11:06 AM, Filipp Andronov wrote:
>> If you (not *we*) want to port something port it and let us know when
>> it's done.
> sorry, it my mistake, i do not mean that all community should go
> and port GCC :)
>
>> The pattern of "I've just downloaded Plan9 and I want my old
>> tools" is
>> very common and we just kind of ignore them :) except for the anti-
>> GNU
>> troll responses.
> Ok, i already figure out this. I was not right(?) when start this
> discussion if there is no C++ in Plan9, that there are some reasons
> for that :)
>
> Thanks to all, i'm really sorry if i disturb anyone with this
> discasion ))
>
>
> 2008/2/4, Alf <mattmobile@proweb.co.uk>:
>> Hi,
>>> if we
>>> couldn't port GCC because it very big job (any other reason?), maybe
>>> we could port some other compiler with liberal enough licence?
>>>
>>>
>> If you (not *we*) want to port something port it and let us know when
>> it's done.
>> The process goes like this :
>> "I've done some working code for my XXXX C++ port, it's in my
>> contrib directory if someone wants to have a go with it"
>>
>>> I'm asking because C++ is very popular language,
>> This is Plan 9, popularity isn't very high on the list.
>>
>> The reason there is no native C++ compiler is because of it's
>> *lack* of
>> popularity in the Plan 9 community, both historically and currently.
>>
>> The pattern of "I've just downloaded Plan9 and I want my old
>> tools" is
>> very common and we just kind of ignore them :) except for the anti-
>> GNU
>> troll responses.
>>
>> You'll (eventually) notice that *most* of the long time Plan 9 users
>> don't even join in the discussion, no doubt smiling a "seen it all
>> before" smile before pressing Del
>>
>>
>>
>>
>>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 11:47 ` Filipp Andronov
2008-02-04 15:42 ` Alf
@ 2008-02-06 9:53 ` Greg Comeau
2008-02-06 19:11 ` Joel C. Salomon
1 sibling, 1 reply; 87+ messages in thread
From: Greg Comeau @ 2008-02-06 9:53 UTC (permalink / raw)
To: 9fans
In article <b11249e00802040347x3814b65cy96d3992b23c7b9b7@mail.gmail.com>,
Filipp Andronov <9fans@cse.psu.edu> wrote:
>Hmmm, may i ask a very stupid question? :)
>I have working with GCC C++ compiler and MS C++ compiler, and i
>suppose that there are another compilers in the world...
>
>But i don't known any other free compiler (yeah, MS compiler is not
>free, but in russia all MS software IS free :D). So question is, if we
>couldn't port GCC because it very big job (any other reason?), maybe
>we could port some other compiler with liberal enough licence?
That's part of what Steve was saying.
And my question remains about gcc, either there is or there
isn't a port for Plan 9, but it seems clear to me that there
is one, so why do people keep saying not? Or is it that for
some reason on the C language part is operational?
>I'm asking because C++ is very popular language, it have some nice
>benefits (is that word right here?), and there are many software that
>was developed on it.
>Of course C++ could be very ugly in some situations, but Object
>Oriented model is very powerful and C++ is "standard" language for it.
>So modern operation system with out C++ support is something...unusual
>(i don't know right word in english, that describe what i want to say
>:D)?
Every language has problems. Anyway, there should be no inherent
technical gotchas with C++ and Plan 9 that I know of, that is,
as compared with any other feasible/reasonable/etc OS.
>2008/2/4, Uriel <uriel99@gmail.com>:
>> And when you thought it couldn't get better, from the top of
>> http://www.comeaucomputing.com
>>
>> "Bursting With So Much Language Support It Hurts!"
>>
>> Most fortune-worthy line ever.
>>
>> uriel
>>
>> On Feb 4, 2008 12:52 PM, <mattmobile@proweb.co.uk> wrote:
>> > > because something had to be used to compile Plan 9 itself, etc and I
>> > figure it's not being done as a cross-compiler.
>> >
>> > I'm sorry my new friend but I think that's the funniest 9fans post I've
>> > ever seen, how ... but .... surely you ..... aw come on
>> >
>> > To redeem myself I shall offer this link to one of the other C compilers
>> > that exist in the world :
>> > http://plan9.bell-labs.com/magic/man2html/1/2c
>> >
>> >
>>
--
Greg Comeau / 4.3.9 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?
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-06 9:53 ` Greg Comeau
@ 2008-02-06 19:11 ` Joel C. Salomon
2008-02-07 1:32 ` Uriel
2008-02-07 9:54 ` Greg Comeau
0 siblings, 2 replies; 87+ messages in thread
From: Joel C. Salomon @ 2008-02-06 19:11 UTC (permalink / raw)
To: comeau, Fans of the OS Plan 9 from Bell Labs
On Feb 6, 2008 4:53 AM, Greg Comeau <comeau@panix.com> wrote:
> And my question remains about gcc, either there is or there
> isn't a port for Plan 9, but it seems clear to me that there
> is one, so why do people keep saying not?
There is a port of GCC, but it's not maintained much and reports vary
on how stable it is. Also, 9c-produced 'object files' (basically
compressed assembler code) are incompatible with GCC's object files,
so any libraries that must be shared need to be recompiled.
A '9c++' (actually 2c++, 8c++, kc++, &c.) that compiled through C,
using the Plan 9 C compilers, should have no problems -- so long as
the front-end doesn't rely on GCCisms or the nuttier (in the Plan 9
viewpoint) misfeatures of C99 like dynamically-sized arrays.
--Joel
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-06 19:11 ` Joel C. Salomon
@ 2008-02-07 1:32 ` Uriel
2008-02-07 1:44 ` Pietro Gagliardi
2008-02-07 9:54 ` Greg Comeau
1 sibling, 1 reply; 87+ messages in thread
From: Uriel @ 2008-02-07 1:32 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Feb 6, 2008 8:11 PM, Joel C. Salomon <joelcsalomon@gmail.com> wrote:
> On Feb 6, 2008 4:53 AM, Greg Comeau <comeau@panix.com> wrote:
> > And my question remains about gcc, either there is or there
> > isn't a port for Plan 9, but it seems clear to me that there
> > is one, so why do people keep saying not?
>
> There is a port of GCC, but it's not maintained much and reports vary
> on how stable it is. Also, 9c-produced 'object files' (basically
> compressed assembler code) are incompatible with GCC's object files,
> so any libraries that must be shared need to be recompiled.
I have yet to see that anyone (that is not dead) has ever got the GCC
port to work at all. (Fgb spent lots of time trying to get it to go,
but to no avail).
That it is (was?) linked from the website seems to add more confusion
than anything else.
uriel
P.S.: I want to make clear that I have a deep respect for dhog and his
work, it is quite impressive what he managed to do, specially having
in mind hideousness and painfulness of the task in question.
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-07 1:32 ` Uriel
@ 2008-02-07 1:44 ` Pietro Gagliardi
0 siblings, 0 replies; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-07 1:44 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
The recent <s>flame</s> I mean, discussion on GCC was started with my
futile attempts to compile that bloke. However, I no longer think we
need anything POSIX, GNU, or X11, as Plan 9 already comes with most,
if not all, of the libraries we need:
- rio(1) replaces readline (especially hold mode)
- libdraw, etc. replaces libX/liboldX/etc.
- libcontrol replaces GTK+
- libthread replaces pthreads
and countless more. However, I doubt other systems will want these
libraries, or use plan9ports internally, so GCC will still be
victorious in most situations.
The stab it with their steely knives,
But they just can’t kill the beast.
Either Don Henley, Glenn Frey or Don Felder
On Feb 6, 2008, at 8:32 PM, Uriel wrote:
> On Feb 6, 2008 8:11 PM, Joel C. Salomon <joelcsalomon@gmail.com>
> wrote:
>> On Feb 6, 2008 4:53 AM, Greg Comeau <comeau@panix.com> wrote:
>>> And my question remains about gcc, either there is or there
>>> isn't a port for Plan 9, but it seems clear to me that there
>>> is one, so why do people keep saying not?
>>
>> There is a port of GCC, but it's not maintained much and reports vary
>> on how stable it is. Also, 9c-produced 'object files' (basically
>> compressed assembler code) are incompatible with GCC's object files,
>> so any libraries that must be shared need to be recompiled.
>
> I have yet to see that anyone (that is not dead) has ever got the GCC
> port to work at all. (Fgb spent lots of time trying to get it to go,
> but to no avail).
>
> That it is (was?) linked from the website seems to add more confusion
> than anything else.
>
> uriel
>
> P.S.: I want to make clear that I have a deep respect for dhog and his
> work, it is quite impressive what he managed to do, specially having
> in mind hideousness and painfulness of the task in question.
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-06 19:11 ` Joel C. Salomon
2008-02-07 1:32 ` Uriel
@ 2008-02-07 9:54 ` Greg Comeau
1 sibling, 0 replies; 87+ messages in thread
From: Greg Comeau @ 2008-02-07 9:54 UTC (permalink / raw)
To: 9fans
In article <7871fcf50802061111y1da6442dn3e42ca30288b704e@mail.gmail.com>,
Joel C. Salomon <9fans@cse.psu.edu> wrote:
>On Feb 6, 2008 4:53 AM, Greg Comeau <comeau@panix.com> wrote:
>> And my question remains about gcc, either there is or there
>> isn't a port for Plan 9, but it seems clear to me that there
>> is one, so why do people keep saying not?
>
>There is a port of GCC, but it's not maintained much and reports vary
>on how stable it is.
Ok, thanks. That's a very different statement than what seemed
to be being said, at least recently said.
>Also, 9c-produced 'object files' (basically
>compressed assembler code) are incompatible with GCC's object files,
>so any libraries that must be shared need to be recompiled.
That's not so rare as to be a Plan 9 specific problem,
although I agree, it has issues. Anyway, thanks again for
the clarifications.
>A '9c++' (actually 2c++, 8c++, kc++, &c.) that compiled through C,
>using the Plan 9 C compilers, should have no problems -- so long as
>the front-end doesn't rely on GCCisms or the nuttier (in the Plan 9
>viewpoint) misfeatures of C99 like dynamically-sized arrays.
That c/w/ould make sense if it does/can not support those.
(We can handle both, at least on some other OSes, so this
could be interesting.)
--
Greg Comeau / 4.3.9 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?
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 10:52 ` mattmobile
2008-02-04 11:12 ` Uriel
@ 2008-02-06 9:45 ` Greg Comeau
1 sibling, 0 replies; 87+ messages in thread
From: Greg Comeau @ 2008-02-06 9:45 UTC (permalink / raw)
To: 9fans
In article <47A6EE79.4070009@proweb.co.uk>, <9fans@cse.psu.edu> wrote:
> > because something had to be used to compile Plan 9 itself, etc and I
>figure it's not being done as a cross-compiler.
>
>I'm sorry my new friend but I think that's the funniest 9fans post I've
>ever seen, how ... but .... surely you ..... aw come on
>
>To redeem myself I shall offer this link to one of the other C compilers
>that exist in the world :
>http://plan9.bell-labs.com/magic/man2html/1/2c
It might be funny but unfortunately does not address the point
I made from the point that Steve made. Anyway, that aside,
I'm glad to see that link/list. Problem is that when I tried to look
a few months ago (actually a few times but also one time from a query
from Steve in email about Comeau C++ on Plan 9) the, um, funny, thing
is that it was -- or at least seemed -- pretty prominent on the site
that gcc was available for Plan 9. Perhaps due to my unfamiliarity with
the Plan 9 site, I could not easily find the above link, despite feeling
that I was surprised that the Plan 9 team either used gcc or switched
to it.... not that they couldn't do so, but it seemed to me that when
I originally heard of Plan 9 years ago it was using their own compiler
and I was surprised to feel that wasn't necessarily the case anymore.
Obviously the link corrects that thinking, thanks.
--
Greg Comeau / 4.3.9 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?
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 10:21 ` Greg Comeau
2008-02-04 10:52 ` mattmobile
@ 2008-02-04 11:09 ` Uriel
2008-02-06 9:53 ` Greg Comeau
2008-02-04 14:32 ` [9fans] cross-compilation Charles Forsyth
2 siblings, 1 reply; 87+ messages in thread
From: Uriel @ 2008-02-04 11:09 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> Although I keep hearing different stories about the gcc availble for
> Plan 9 (it makes little sense to me to hear "it does not work" because
> something had to be used to compile Plan 9 itself, etc and I figure it's
> not being done as a cross-compiler).
http://doc.cat-v.org/bell_labs/new_c_compilers/ (I don't know the
exact date, but this was probably written in the late 80's)
http://cm.bell-labs.com/sys/doc/compiler.html
But I must be having delusions, because everyone knows there were no C
compilers in the universe before God RMS gave us the Golden GCC.
And of course ken never did anything after writing ed... not that
anyone remembers ed anymore, the other day I found the Debian
installer doesn't have ed... but it has nano! oh joy of progress! and
if the linux tty gets seriously confused, oh, nano is so much more
effective at filling your screen with funny characters!
uriel
> --
> Greg Comeau / 4.3.9 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?
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 11:09 ` Uriel
@ 2008-02-06 9:53 ` Greg Comeau
0 siblings, 0 replies; 87+ messages in thread
From: Greg Comeau @ 2008-02-06 9:53 UTC (permalink / raw)
To: 9fans
In article <5d375e920802040309v626ee945qdf9e274aad2fac23@mail.gmail.com>,
Uriel <9fans@cse.psu.edu> wrote:
>> Although I keep hearing different stories about the gcc availble for
>> Plan 9 (it makes little sense to me to hear "it does not work" because
>> something had to be used to compile Plan 9 itself, etc and I figure it's
>> not being done as a cross-compiler).
>
>http://doc.cat-v.org/bell_labs/new_c_compilers/ (I don't know the
>exact date, but this was probably written in the late 80's)
>http://cm.bell-labs.com/sys/doc/compiler.html
>
>But I must be having delusions, because everyone knows there were no C
>compilers in the universe before God RMS gave us the Golden GCC.
Nope, just for whatever reason, a link to gcc for Plan 9 came up
when I looked. Which is why I asked because
it did not make sense (including what I was told in email,
though not by Steve).
--
Greg Comeau / 4.3.9 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?
^ permalink raw reply [flat|nested] 87+ messages in thread
* [9fans] cross-compilation.
2008-02-04 10:21 ` Greg Comeau
2008-02-04 10:52 ` mattmobile
2008-02-04 11:09 ` Uriel
@ 2008-02-04 14:32 ` Charles Forsyth
2 siblings, 0 replies; 87+ messages in thread
From: Charles Forsyth @ 2008-02-04 14:32 UTC (permalink / raw)
To: 9fans
> because
> something had to be used to compile Plan 9 itself, etc and I figure it's
> not being done as a cross-compiler).
> --
ken thompson wrote a nice little C compiler.
cross-compilation is trivial: if 8c is the x86 compiler and qc is the power pc compiler, you get a cross
compiler from x86 to powerpc by compiling qc with 8c. unchanged. that's it.
no nest of peculiar configuration files just to make a given compiler into a cross-compiler.
to cross-compile the whole system for (say) PowerPC on any architecture, including itself, use
objtype=power mk install
on an x86, sparc, amd64, powerpc, ... . you can also build all of them in the same tree:
objtype=power mk install
objtype=386 mk install
objtype=arm mk install
and simultaneously. no peculiar `buildroot' environments. and so on.
the mkfiles are essentially configured for a target platform by /$objtype/mkfile.
here's /386/mkfile:
</sys/src/mkfile.proto
CC=8c
LD=8l
O=8
AS=8a
here's /power/mkfile:
</sys/src/mkfile.proto
CC=qc
LD=ql
O=q
AS=qa
and so on.
there are similarly a few lines of machine-specific includes in /$objtype/include and that's it: all of the system's
includes in /sys/include are completely portable.
wc -l /386/include/*.h
65 /386/include/u.h
25 /386/include/ureg.h
90 total
it's not just system source. if i include /sys/src/cmd/mkone in my own mkfile, and follow the
appropriate pattern, my own C software will build the same way. {mk installall} will build and install it
in my own bin directories, for all supported architectures.
it's complete cross-compilation not completely cross compilation
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 4:43 ` Michael Andronov
2008-02-02 4:57 ` Pietro Gagliardi
@ 2008-02-02 4:57 ` Pietro Gagliardi
2008-02-02 7:12 ` Filipp Andronov
1 sibling, 1 reply; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-02 4:57 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
And yes, gcc has been ported. I have never gotten it to work, though.
On Feb 1, 2008, at 11:43 PM, Michael Andronov wrote:
> Another question from newbie :
>
> I have noticed some discussion(s) on Internet about C++ language
> for Plan9;
> I'm wondering what is a bottom line of the story:
> - is there a C++ compiler? Any plans for it?
> - has it been 'banned' from Plan9?
> - has gcc been ported to Plan9? ( as was suggested in one of the
> messages I saw)...
>
> Thank for your attention.
> Michael.
>
[-- Attachment #2: Type: text/html, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 4:57 ` [9fans] A newbie question Pietro Gagliardi
@ 2008-02-02 7:12 ` Filipp Andronov
2008-02-02 14:57 ` Pietro Gagliardi
2008-02-04 1:19 ` Enrico Weigelt
0 siblings, 2 replies; 87+ messages in thread
From: Filipp Andronov @ 2008-02-02 7:12 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Hello everyone :)
I'm newbie in Plan9 system, so i have a couple of questions about it :)
And the first one looks like this: does GNU build system (autoconf,
automake, e.t.c) has been ported in Plan9? Or maybe there is some
alternative? :)
I want port some software from linux to Plan9, but couldn't find any
documentation about how i should do this in "plan9 style" )
PS: sorry for my horrible English :)
2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
>
> And yes, gcc has been ported. I have never gotten it to work, though.
>
> On Feb 1, 2008, at 11:43 PM, Michael Andronov wrote:
>
>
> Another question from newbie :
>
> I have noticed some discussion(s) on Internet about C++ language for Plan9;
> I'm wondering what is a bottom line of the story:
> - is there a C++ compiler? Any plans for it?
> - has it been 'banned' from Plan9?
> - has gcc been ported to Plan9? ( as was suggested in one of the messages I
> saw)...
>
> Thank for your attention.
> Michael.
>
>
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 7:12 ` Filipp Andronov
@ 2008-02-02 14:57 ` Pietro Gagliardi
2008-02-02 15:30 ` Filipp Andronov
2008-02-04 1:19 ` Enrico Weigelt
1 sibling, 1 reply; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-02 14:57 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Autotools is in the GCC package. However, there is a nice and clean
way to port alien software using APE:
page /sys/doc/ape.ps
On Feb 2, 2008, at 2:12 AM, Filipp Andronov wrote:
> Hello everyone :)
> I'm newbie in Plan9 system, so i have a couple of questions about
> it :)
>
> And the first one looks like this: does GNU build system (autoconf,
> automake, e.t.c) has been ported in Plan9? Or maybe there is some
> alternative? :)
>
> I want port some software from linux to Plan9, but couldn't find any
> documentation about how i should do this in "plan9 style" )
>
> PS: sorry for my horrible English :)
>
> 2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
>>
>> And yes, gcc has been ported. I have never gotten it to work, though.
>>
>> On Feb 1, 2008, at 11:43 PM, Michael Andronov wrote:
>>
>>
>> Another question from newbie :
>>
>> I have noticed some discussion(s) on Internet about C++ language
>> for Plan9;
>> I'm wondering what is a bottom line of the story:
>> - is there a C++ compiler? Any plans for it?
>> - has it been 'banned' from Plan9?
>> - has gcc been ported to Plan9? ( as was suggested in one of the
>> messages I
>> saw)...
>>
>> Thank for your attention.
>> Michael.
>>
>>
>>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 14:57 ` Pietro Gagliardi
@ 2008-02-02 15:30 ` Filipp Andronov
2008-02-02 15:33 ` Pietro Gagliardi
0 siblings, 1 reply; 87+ messages in thread
From: Filipp Andronov @ 2008-02-02 15:30 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Thanks for a fast reply )
I'll check out documents about APE, if my questions will be actual
after that, i will post thous here.
2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
> Autotools is in the GCC package. However, there is a nice and clean
> way to port alien software using APE:
>
> page /sys/doc/ape.ps
>
> On Feb 2, 2008, at 2:12 AM, Filipp Andronov wrote:
>
> > Hello everyone :)
> > I'm newbie in Plan9 system, so i have a couple of questions about
> > it :)
> >
> > And the first one looks like this: does GNU build system (autoconf,
> > automake, e.t.c) has been ported in Plan9? Or maybe there is some
> > alternative? :)
> >
> > I want port some software from linux to Plan9, but couldn't find any
> > documentation about how i should do this in "plan9 style" )
> >
> > PS: sorry for my horrible English :)
> >
> > 2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
> >>
> >> And yes, gcc has been ported. I have never gotten it to work, though.
> >>
> >> On Feb 1, 2008, at 11:43 PM, Michael Andronov wrote:
> >>
> >>
> >> Another question from newbie :
> >>
> >> I have noticed some discussion(s) on Internet about C++ language
> >> for Plan9;
> >> I'm wondering what is a bottom line of the story:
> >> - is there a C++ compiler? Any plans for it?
> >> - has it been 'banned' from Plan9?
> >> - has gcc been ported to Plan9? ( as was suggested in one of the
> >> messages I
> >> saw)...
> >>
> >> Thank for your attention.
> >> Michael.
> >>
> >>
> >>
>
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 15:30 ` Filipp Andronov
@ 2008-02-02 15:33 ` Pietro Gagliardi
2008-02-02 15:48 ` Filipp Andronov
0 siblings, 1 reply; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-02 15:33 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
If the archive actually has a configure script, the best way to start
configuring is with:
% ape/psh
# ./configure --prefix=$home --build=i386 --bindir=$home/bin/
$objtype --lib=$home/lib
On Feb 2, 2008, at 10:30 AM, Filipp Andronov wrote:
> Thanks for a fast reply )
> I'll check out documents about APE, if my questions will be actual
> after that, i will post thous here.
>
> 2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
>> Autotools is in the GCC package. However, there is a nice and clean
>> way to port alien software using APE:
>>
>> page /sys/doc/ape.ps
>>
>> On Feb 2, 2008, at 2:12 AM, Filipp Andronov wrote:
>>
>>> Hello everyone :)
>>> I'm newbie in Plan9 system, so i have a couple of questions about
>>> it :)
>>>
>>> And the first one looks like this: does GNU build system (autoconf,
>>> automake, e.t.c) has been ported in Plan9? Or maybe there is some
>>> alternative? :)
>>>
>>> I want port some software from linux to Plan9, but couldn't find any
>>> documentation about how i should do this in "plan9 style" )
>>>
>>> PS: sorry for my horrible English :)
>>>
>>> 2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
>>>>
>>>> And yes, gcc has been ported. I have never gotten it to work,
>>>> though.
>>>>
>>>> On Feb 1, 2008, at 11:43 PM, Michael Andronov wrote:
>>>>
>>>>
>>>> Another question from newbie :
>>>>
>>>> I have noticed some discussion(s) on Internet about C++ language
>>>> for Plan9;
>>>> I'm wondering what is a bottom line of the story:
>>>> - is there a C++ compiler? Any plans for it?
>>>> - has it been 'banned' from Plan9?
>>>> - has gcc been ported to Plan9? ( as was suggested in one of the
>>>> messages I
>>>> saw)...
>>>>
>>>> Thank for your attention.
>>>> Michael.
>>>>
>>>>
>>>>
>>
>>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 15:33 ` Pietro Gagliardi
@ 2008-02-02 15:48 ` Filipp Andronov
2008-02-02 16:04 ` Pietro Gagliardi
2008-02-02 16:10 ` Charles Forsyth
0 siblings, 2 replies; 87+ messages in thread
From: Filipp Andronov @ 2008-02-02 15:48 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Thanks, it is great news. Actually i have been shocked, may first
point of view was that it is too much for me, try to port some
software without gnu autotools support.
But if autotools could "fly" under Plan9 it is not so bad as i think :))
I have forgot, another one question: what about Java under Plan9? Is
it possible to have JVM? Or no suitable package available? ))
2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
> If the archive actually has a configure script, the best way to start
> configuring is with:
>
> % ape/psh
> # ./configure --prefix=$home --build=i386 --bindir=$home/bin/
> $objtype --lib=$home/lib
>
> On Feb 2, 2008, at 10:30 AM, Filipp Andronov wrote:
>
> > Thanks for a fast reply )
> > I'll check out documents about APE, if my questions will be actual
> > after that, i will post thous here.
> >
> > 2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
> >> Autotools is in the GCC package. However, there is a nice and clean
> >> way to port alien software using APE:
> >>
> >> page /sys/doc/ape.ps
> >>
> >> On Feb 2, 2008, at 2:12 AM, Filipp Andronov wrote:
> >>
> >>> Hello everyone :)
> >>> I'm newbie in Plan9 system, so i have a couple of questions about
> >>> it :)
> >>>
> >>> And the first one looks like this: does GNU build system (autoconf,
> >>> automake, e.t.c) has been ported in Plan9? Or maybe there is some
> >>> alternative? :)
> >>>
> >>> I want port some software from linux to Plan9, but couldn't find any
> >>> documentation about how i should do this in "plan9 style" )
> >>>
> >>> PS: sorry for my horrible English :)
> >>>
> >>> 2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
> >>>>
> >>>> And yes, gcc has been ported. I have never gotten it to work,
> >>>> though.
> >>>>
> >>>> On Feb 1, 2008, at 11:43 PM, Michael Andronov wrote:
> >>>>
> >>>>
> >>>> Another question from newbie :
> >>>>
> >>>> I have noticed some discussion(s) on Internet about C++ language
> >>>> for Plan9;
> >>>> I'm wondering what is a bottom line of the story:
> >>>> - is there a C++ compiler? Any plans for it?
> >>>> - has it been 'banned' from Plan9?
> >>>> - has gcc been ported to Plan9? ( as was suggested in one of the
> >>>> messages I
> >>>> saw)...
> >>>>
> >>>> Thank for your attention.
> >>>> Michael.
> >>>>
> >>>>
> >>>>
> >>
> >>
>
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 15:48 ` Filipp Andronov
@ 2008-02-02 16:04 ` Pietro Gagliardi
2008-02-02 16:34 ` Filipp Andronov
2008-02-02 16:10 ` Charles Forsyth
1 sibling, 1 reply; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-02 16:04 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
An implementation of Kaffe, a FOSS Java virtual machine, is available
for Plan 9. I have never gotten it to work.
http://plan9.aichi-u.ac.jp/netlib/kaffe/
On Feb 2, 2008, at 10:48 AM, Filipp Andronov wrote:
> Thanks, it is great news. Actually i have been shocked, may first
> point of view was that it is too much for me, try to port some
> software without gnu autotools support.
> But if autotools could "fly" under Plan9 it is not so bad as i
> think :))
>
> I have forgot, another one question: what about Java under Plan9? Is
> it possible to have JVM? Or no suitable package available? ))
>
> 2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
>> If the archive actually has a configure script, the best way to start
>> configuring is with:
>>
>> % ape/psh
>> # ./configure --prefix=$home --build=i386 --bindir=$home/bin/
>> $objtype --lib=$home/lib
>>
>> On Feb 2, 2008, at 10:30 AM, Filipp Andronov wrote:
>>
>>> Thanks for a fast reply )
>>> I'll check out documents about APE, if my questions will be actual
>>> after that, i will post thous here.
>>>
>>> 2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
>>>> Autotools is in the GCC package. However, there is a nice and clean
>>>> way to port alien software using APE:
>>>>
>>>> page /sys/doc/ape.ps
>>>>
>>>> On Feb 2, 2008, at 2:12 AM, Filipp Andronov wrote:
>>>>
>>>>> Hello everyone :)
>>>>> I'm newbie in Plan9 system, so i have a couple of questions about
>>>>> it :)
>>>>>
>>>>> And the first one looks like this: does GNU build system
>>>>> (autoconf,
>>>>> automake, e.t.c) has been ported in Plan9? Or maybe there is some
>>>>> alternative? :)
>>>>>
>>>>> I want port some software from linux to Plan9, but couldn't
>>>>> find any
>>>>> documentation about how i should do this in "plan9 style" )
>>>>>
>>>>> PS: sorry for my horrible English :)
>>>>>
>>>>> 2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
>>>>>>
>>>>>> And yes, gcc has been ported. I have never gotten it to work,
>>>>>> though.
>>>>>>
>>>>>> On Feb 1, 2008, at 11:43 PM, Michael Andronov wrote:
>>>>>>
>>>>>>
>>>>>> Another question from newbie :
>>>>>>
>>>>>> I have noticed some discussion(s) on Internet about C++ language
>>>>>> for Plan9;
>>>>>> I'm wondering what is a bottom line of the story:
>>>>>> - is there a C++ compiler? Any plans for it?
>>>>>> - has it been 'banned' from Plan9?
>>>>>> - has gcc been ported to Plan9? ( as was suggested in one of the
>>>>>> messages I
>>>>>> saw)...
>>>>>>
>>>>>> Thank for your attention.
>>>>>> Michael.
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 16:04 ` Pietro Gagliardi
@ 2008-02-02 16:34 ` Filipp Andronov
0 siblings, 0 replies; 87+ messages in thread
From: Filipp Andronov @ 2008-02-02 16:34 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Thanks! ))
2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
> An implementation of Kaffe, a FOSS Java virtual machine, is available
> for Plan 9. I have never gotten it to work.
>
> http://plan9.aichi-u.ac.jp/netlib/kaffe/
>
> On Feb 2, 2008, at 10:48 AM, Filipp Andronov wrote:
>
> > Thanks, it is great news. Actually i have been shocked, may first
> > point of view was that it is too much for me, try to port some
> > software without gnu autotools support.
> > But if autotools could "fly" under Plan9 it is not so bad as i
> > think :))
> >
> > I have forgot, another one question: what about Java under Plan9? Is
> > it possible to have JVM? Or no suitable package available? ))
> >
> > 2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
> >> If the archive actually has a configure script, the best way to start
> >> configuring is with:
> >>
> >> % ape/psh
> >> # ./configure --prefix=$home --build=i386 --bindir=$home/bin/
> >> $objtype --lib=$home/lib
> >>
> >> On Feb 2, 2008, at 10:30 AM, Filipp Andronov wrote:
> >>
> >>> Thanks for a fast reply )
> >>> I'll check out documents about APE, if my questions will be actual
> >>> after that, i will post thous here.
> >>>
> >>> 2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
> >>>> Autotools is in the GCC package. However, there is a nice and clean
> >>>> way to port alien software using APE:
> >>>>
> >>>> page /sys/doc/ape.ps
> >>>>
> >>>> On Feb 2, 2008, at 2:12 AM, Filipp Andronov wrote:
> >>>>
> >>>>> Hello everyone :)
> >>>>> I'm newbie in Plan9 system, so i have a couple of questions about
> >>>>> it :)
> >>>>>
> >>>>> And the first one looks like this: does GNU build system
> >>>>> (autoconf,
> >>>>> automake, e.t.c) has been ported in Plan9? Or maybe there is some
> >>>>> alternative? :)
> >>>>>
> >>>>> I want port some software from linux to Plan9, but couldn't
> >>>>> find any
> >>>>> documentation about how i should do this in "plan9 style" )
> >>>>>
> >>>>> PS: sorry for my horrible English :)
> >>>>>
> >>>>> 2008/2/2, Pietro Gagliardi <pietro10@mac.com>:
> >>>>>>
> >>>>>> And yes, gcc has been ported. I have never gotten it to work,
> >>>>>> though.
> >>>>>>
> >>>>>> On Feb 1, 2008, at 11:43 PM, Michael Andronov wrote:
> >>>>>>
> >>>>>>
> >>>>>> Another question from newbie :
> >>>>>>
> >>>>>> I have noticed some discussion(s) on Internet about C++ language
> >>>>>> for Plan9;
> >>>>>> I'm wondering what is a bottom line of the story:
> >>>>>> - is there a C++ compiler? Any plans for it?
> >>>>>> - has it been 'banned' from Plan9?
> >>>>>> - has gcc been ported to Plan9? ( as was suggested in one of the
> >>>>>> messages I
> >>>>>> saw)...
> >>>>>>
> >>>>>> Thank for your attention.
> >>>>>> Michael.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>
> >>>>
> >>
> >>
>
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 15:48 ` Filipp Andronov
2008-02-02 16:04 ` Pietro Gagliardi
@ 2008-02-02 16:10 ` Charles Forsyth
2008-02-02 17:41 ` Uriel
1 sibling, 1 reply; 87+ messages in thread
From: Charles Forsyth @ 2008-02-02 16:10 UTC (permalink / raw)
To: 9fans
> But if autotools could "fly" under Plan9 it is not so bad as i think :))
autotools is every bit as bad as one could think.
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 16:10 ` Charles Forsyth
@ 2008-02-02 17:41 ` Uriel
2008-02-02 18:27 ` Martin Neubauer
2008-02-04 1:02 ` Enrico Weigelt
0 siblings, 2 replies; 87+ messages in thread
From: Uriel @ 2008-02-02 17:41 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Autotools badness is way beyond most peoples wildest imagination...
uriel
On Feb 2, 2008 6:10 PM, Charles Forsyth <forsyth@terzarima.net> wrote:
> > But if autotools could "fly" under Plan9 it is not so bad as i think :))
>
> autotools is every bit as bad as one could think.
>
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 17:41 ` Uriel
@ 2008-02-02 18:27 ` Martin Neubauer
2008-02-02 19:22 ` Juan M. Mendez
2008-02-02 21:16 ` Pietro Gagliardi
2008-02-04 1:02 ` Enrico Weigelt
1 sibling, 2 replies; 87+ messages in thread
From: Martin Neubauer @ 2008-02-02 18:27 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
* Uriel (uriel99@gmail.com) wrote:
> Autotools badness is way beyond most peoples wildest imagination...
Unfortunately, you don't have to imagine.
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 18:27 ` Martin Neubauer
@ 2008-02-02 19:22 ` Juan M. Mendez
2008-02-02 19:42 ` Anthony Sorace
` (3 more replies)
2008-02-02 21:16 ` Pietro Gagliardi
1 sibling, 4 replies; 87+ messages in thread
From: Juan M. Mendez @ 2008-02-02 19:22 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 02/02/2008, Martin Neubauer <m.ne@gmx.net> wrote:
> * Uriel (uriel99@gmail.com) wrote:
> > Autotools badness is way beyond most peoples wildest imagination...
>
> Unfortunately, you don't have to imagine.
So what are the facts to back up so many posts regarding autotools badness?
Just curious.
--
Fidonet: 2:345/432.2
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 19:22 ` Juan M. Mendez
@ 2008-02-02 19:42 ` Anthony Sorace
2008-02-02 20:10 ` erik quanstrom
` (2 subsequent siblings)
3 siblings, 0 replies; 87+ messages in thread
From: Anthony Sorace @ 2008-02-02 19:42 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Feb 2, 2008 2:22 PM, Juan M. Mendez <vejeta@gmail.com> wrote:
> So what are the facts to back up so many posts regarding autotools badness?
I mostly manage to avoid working on things where I've had to use them
as a producer, so I don't have the whole toolchain lying around. I'm
more than happy to judge them on their output, though. Just to pick
the first gnu* directory i spotted in my src directory in my $home,
gnutls:
: vav; wc config* Make*
1500 4928 44208 config.guess
622 3005 17933 config.h
621 2773 16967 config.h.in
6769 26859 211980 config.log
571 1566 14869 config.rpath
1548 5795 57952 config.status
1608 4255 32448 config.sub
46730 159658 1393861 configure
632 1709 19218 configure.in
838 3222 27923 Makefile
59 333 2210 Makefile.am
838 3158 27552 Makefile.in
62336 217261 1867121 total
That's an awful lot of work just to get the thing to build. Oh, but
it's all in the service of portability, I hear you say! Well, let's
contrast this to what we see on Plan 9:
: root; pwd
/sys/src
: root; wc mkfile mkfile.proto 9/*/mkfile cmd/mkfile cmd/mklib
cmd/mkmany cmd/mkone cmd/mksyslib cmd/*/mkfile | tail -1
5323 8409 78037 total
That's for nearly every command, plus al the kernels. Every
architecture. Less than a tenth the size. And there's nothing magical
about Plan 9 here. Once can build things on Unix in just the same way;
some packages manage to resist the temptation.
That level of gluttony would, perhaps, be forgivable if it worked
reliably. But god forbid you try to do something slightly farther
afield than the packager anticipated (which, frequently, is Linux/386
plus maybe a BSD or two), or that the versions of the tools used
anticipated. Things will break, badly, in arbitrary places in an
incomprehensible mess of interconnected dependencies.
It's just the wrong solution to portability.
Anthony
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 19:22 ` Juan M. Mendez
2008-02-02 19:42 ` Anthony Sorace
@ 2008-02-02 20:10 ` erik quanstrom
2008-02-04 1:49 ` Enrico Weigelt
2008-02-02 22:25 ` ron minnich
2008-02-03 0:17 ` Robert William Fuller
3 siblings, 1 reply; 87+ messages in thread
From: erik quanstrom @ 2008-02-02 20:10 UTC (permalink / raw)
To: 9fans
>
> So what are the facts to back up so many posts regarding autotools badness?
> Just curious.
>
part of the issue is that autotool solves a problem that doesn't
exist on plan 9 systems. one doesn't need to test for compilers,
exotic library problems or portability issues.
(small rant: unfortunately, porting a lot of gnu stuff to plan 9 makes some
sort of compatability goo necessary again.)
another problem with autoconf is it encourages a style of
programming that exploits every last nook and cranny of
a system's & compiler's capabilities when the vast majority
of applications will do just fine with the least common
denominator. if one's goal is to run on a variety of unix
systems, this just is poor engineering.
as a case in point, my sacrificial linux machine is a 993mhz
pIII. mplayer, an application one would think would benefit
from fancy optimizations on such a slow machine, shows absolutely
no visible performance benefit from sse2 instructions. it
is fast enough already.
imho, p9p and russ' unix extracts from p9p show a much
cleaner way to port unix stuff. his method requires about 10
lines of system-specific stuff and about 75 lines
of Makefile.
one last gripe: autotools often take longer to ./configure
than to compile with gcc. curious that gcc is famed for
slowness.
- erik
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 20:10 ` erik quanstrom
@ 2008-02-04 1:49 ` Enrico Weigelt
0 siblings, 0 replies; 87+ messages in thread
From: Enrico Weigelt @ 2008-02-04 1:49 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
* erik quanstrom <quanstro@quanstro.net> wrote:
> part of the issue is that autotool solves a problem that doesn't
> exist on plan 9 systems. one doesn't need to test for compilers,
> exotic library problems or portability issues.
Actually, often for problems that don't exist at all
(on sane systems). For example, why each individual package
should check for the toolchain commands ?! That's completely
insane! There are standard variables for that, which can
be assumed to point to the right commands. Checking if the
toolchain's not broken should clealy NOT be the job of an
individual package.
Another point are imported libraries: there's really no need
to run any compile test (or even worse: try to run some code).
Just ask an database tool (->pkg-config) to tell you the right
flags and make sure the required version is installed.
Yeah, there are working autoconf macros for that, but many
many packages still don't use them (sometimes with really
stupid cop-out's ;-o)
Older versions of autoconf had been even more insane:
Lot's of "detection" macros (X11 stuff was such an bad
candidate) pulled in hard-coded and absolute (!) pathes.
It's obvious that this clearly breaks any crosscompile attemt.
BTW: one thing I never understood in the autoconf world:
Why's the term "support" so badly abused ?!
Imagine: in many packages you can switch whether some other
package is used - they call this "supported".
For example I'm currently compiling VLC: there's an flag
for "gnutls" support. WTH shall this mean ?!
The right way would be an "enable TLS" option, stating this
requires GNU-TLS as dependency.
Seems like autoconf people tend to turn things upside down ;-O
> another problem with autoconf is it encourages a style of
> programming that exploits every last nook and cranny of
> a system's & compiler's capabilities when the vast majority
> of applications will do just fine with the least common
> denominator. if one's goal is to run on a variety of unix
> systems, this just is poor engineering.
As already said: autoconf has *NOTHING* to do with real
portability, just working around lots of system/target
differences. ACK, this is really poor engineering.
> as a case in point, my sacrificial linux machine is a 993mhz
> pIII. mplayer, an application one would think would benefit
> from fancy optimizations on such a slow machine, shows absolutely
> no visible performance benefit from sse2 instructions. it
> is fast enough already.
Well, I'm really happy with those optimizations (eg. on
number crunching applications, properly optimized code *can*
give an heaviy boost). But there's really *no* need for such
an complex and unstable oracle like autoconf - there are clean
ways to fix this, eg. passing the right CFLAGS and using the
compiler's/preprocessor's symbols.
> one last gripe: autotools often take longer to ./configure
> than to compile with gcc. curious that gcc is famed for
> slowness.
Yep, *rofl* ;-O
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 19:22 ` Juan M. Mendez
2008-02-02 19:42 ` Anthony Sorace
2008-02-02 20:10 ` erik quanstrom
@ 2008-02-02 22:25 ` ron minnich
2008-02-03 0:17 ` Robert William Fuller
3 siblings, 0 replies; 87+ messages in thread
From: ron minnich @ 2008-02-02 22:25 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Feb 2, 2008 11:22 AM, Juan M. Mendez <vejeta@gmail.com> wrote:
> So what are the facts to back up so many posts regarding autotools badness?
> Just curious.
1. it's not needed. See plan9 ports and lots of other tools that
somehow get by without it.
2. a 150,000 line configure shell script? That right there should tell
you something's seriously wrong.
but it happens.
3. it's not portable. Since the goal is portability, something has
been lost here.
4. Warning from the openib stack: you have version 1.59 (or some such)
of autotools, and I need 1.60
Oh, ok, there's a version of the configuration tools? What's wrong
with this picture?
It would all be funny but people actually use this stuff, and that's sad.
ron
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 19:22 ` Juan M. Mendez
` (2 preceding siblings ...)
2008-02-02 22:25 ` ron minnich
@ 2008-02-03 0:17 ` Robert William Fuller
2008-02-03 0:30 ` Rob Pike
` (3 more replies)
3 siblings, 4 replies; 87+ messages in thread
From: Robert William Fuller @ 2008-02-03 0:17 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Juan M. Mendez wrote:
> On 02/02/2008, Martin Neubauer <m.ne@gmx.net> wrote:
>> * Uriel (uriel99@gmail.com) wrote:
>>> Autotools badness is way beyond most peoples wildest imagination...
>> Unfortunately, you don't have to imagine.
>
> So what are the facts to back up so many posts regarding autotools badness?
> Just curious.
An alternative interpretation is that the facts are skewed by the Bell
Labs reality distortion field. The syllogism goes something like this:
All things not made at Bell Labs are bad
GNU is not made at Bell Labs
Therefore, GNU is bad
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 0:17 ` Robert William Fuller
@ 2008-02-03 0:30 ` Rob Pike
2008-02-03 7:51 ` Eris Discordia
2008-02-03 0:33 ` Uriel
` (2 subsequent siblings)
3 siblings, 1 reply; 87+ messages in thread
From: Rob Pike @ 2008-02-03 0:30 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> An alternative interpretation is that the facts are skewed by the Bell
> Labs reality distortion field. The syllogism goes something like this:
>
> All things not made at Bell Labs are bad
> GNU is not made at Bell Labs
> Therefore, GNU is bad
>
If you think about what the letters of GNU stand for, you might appreciate
that the forms are in mutual opposition. They provide completely different
approaches to software. "Good" and "Bad" are value judgments. If
you think GNU is the right way to build things, Plan 9 is probably not
for you, and vice versa.
-rob
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 0:30 ` Rob Pike
@ 2008-02-03 7:51 ` Eris Discordia
2008-02-03 8:44 ` Filipp Andronov
0 siblings, 1 reply; 87+ messages in thread
From: Eris Discordia @ 2008-02-03 7:51 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Sun, 03 Feb 2008 00:30:38 -0000, Rob Pike <robpike@gmail.com> wrote:
>> An alternative interpretation is that the facts are skewed by the Bell
>> Labs reality distortion field. The syllogism goes something like this:
>>
>> All things not made at Bell Labs are bad
>> GNU is not made at Bell Labs
>> Therefore, GNU is bad
>>
>
> If you think about what the letters of GNU stand for, you might
> appreciate
> that the forms are in mutual opposition. They provide completely
> different
> approaches to software. "Good" and "Bad" are value judgments. If
> you think GNU is the right way to build things, Plan 9 is probably not
> for you, and vice versa.
>
> -rob
Is that "the" Rob Pike? "The R?"
If so, please accept me humble reverence, sire! Hallowed be thy practice
(of programming)!
P. S. Down here in my country, Iran, we have this tradition of inventing
sacred things out of thin air. A considerable proportion of "the divine
and the sacred" spilled all over the globe began with that frailty of ours
:-D
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 7:51 ` Eris Discordia
@ 2008-02-03 8:44 ` Filipp Andronov
2008-02-03 9:30 ` lucio
2008-02-03 14:07 ` Pietro Gagliardi
0 siblings, 2 replies; 87+ messages in thread
From: Filipp Andronov @ 2008-02-03 8:44 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Hmmm, my question was not about new ideological war "GNU vs Plan9". ))
I think that my bad English does not allow me to ask my question in
correct form, so i will show some sample :)
For example, in Linux i have some big application.
This application using autotools, so if a want to port it, for example
on different OS (of course if this OS has autotools) or hardware all i
need is go throw sources and put something like:
#ifdef RUN_IN_CYGWIN
// some specific code
#endif
After that i need to add extra tests in configure and autotools will
do all magic for me :)
The main trouble is that all sources has really many pieces of #ifdef
code, so it could be very painful to drop out "portability in GNU
way". But it's ok, until that is a only way.
Ok, for me "porting" to plan9 looks like:
1. Drop out autotools from project
2. Replace all OS specific code to Plan9 equivalent
3. Replace all libs to it's equivalent for plan9
4. and so on
Main trouble in 1 step. Because after that i couldn't post in project
mail list, "Hey gays, i have create Plan9 port of your application,
please check it out and put in CVS trunk". If i "port" some
application in that way, that mean that I've start new one, "from
scratch" and just copy & paste some code from original project :((
I hope that i have logical mistakes in my example, and you show me
that, because if not it could be very sad :))
2008/2/3, Eris Discordia <eris.discordia@gmail.com>:
> On Sun, 03 Feb 2008 00:30:38 -0000, Rob Pike <robpike@gmail.com> wrote:
>
> >> An alternative interpretation is that the facts are skewed by the Bell
> >> Labs reality distortion field. The syllogism goes something like this:
> >>
> >> All things not made at Bell Labs are bad
> >> GNU is not made at Bell Labs
> >> Therefore, GNU is bad
> >>
> >
> > If you think about what the letters of GNU stand for, you might
> > appreciate
> > that the forms are in mutual opposition. They provide completely
> > different
> > approaches to software. "Good" and "Bad" are value judgments. If
> > you think GNU is the right way to build things, Plan 9 is probably not
> > for you, and vice versa.
> >
> > -rob
>
> Is that "the" Rob Pike? "The R?"
>
> If so, please accept me humble reverence, sire! Hallowed be thy practice
> (of programming)!
>
> P. S. Down here in my country, Iran, we have this tradition of inventing
> sacred things out of thin air. A considerable proportion of "the divine
> and the sacred" spilled all over the globe began with that frailty of ours
> :-D
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 8:44 ` Filipp Andronov
@ 2008-02-03 9:30 ` lucio
2008-02-03 11:39 ` Filipp Andronov
` (2 more replies)
2008-02-03 14:07 ` Pietro Gagliardi
1 sibling, 3 replies; 87+ messages in thread
From: lucio @ 2008-02-03 9:30 UTC (permalink / raw)
To: 9fans
> Main trouble in 1 step. Because after that i couldn't post in project
> mail list, "Hey gays, i have create Plan9 port of your application,
> please check it out and put in CVS trunk".
There's no cure for this. The touted portability of the autotools is
restricted to the GNU environment and the moment you step outside of
it, this is what occurs. It's a philosophy that has turned into a
religion largely by losing its focus or, if you prefer, shifting its
objective.
Plan 9 becomes the proof thereof, if autotools were as successful as
claimed, it ought to be trivial to port them to a different platform.
It isn't, nor is it necessary. In porting the code for libtiff and
geotiff to Plan 9 I added a few "mkfiles" to zlib, the jpeg tools,
png, gd and eventually libtiff and geotiff. The sum total of these
mkfiles is probably less than two thousand lines. But it is
impossible to feed these back to the developers, because they do not
fit into their philosophical scheme.
As another example, check out graphviz. From version 1 to version 2
(I think) they moved from a custom configurator to the autotools.
Beside totally losing Plan 9 portability in the bargain, it is my
impression that they spent more effort on the autotools details than
in improving graphviz itself.
++L
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 9:30 ` lucio
@ 2008-02-03 11:39 ` Filipp Andronov
2008-02-03 12:49 ` lucio
2008-02-04 2:05 ` Enrico Weigelt
2008-02-08 16:40 ` plan9
2 siblings, 1 reply; 87+ messages in thread
From: Filipp Andronov @ 2008-02-03 11:39 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Thanks, this is very similar to my thoughts.
So if i want port some big linux application to Plan9 i need start new
project and copy parts of code from original one. From one side it is
sad, because it's very ugly development model (for example if original
project will be update, i need update my project too, so there are two
"targets" for every update). On another hand i could concentrate on
new Pla9 techniques and create more powerful analogous of linux
software.
thanks for replies )
2008/2/3, lucio@proxima.alt.za <lucio@proxima.alt.za>:
> > Main trouble in 1 step. Because after that i couldn't post in project
> > mail list, "Hey gays, i have create Plan9 port of your application,
> > please check it out and put in CVS trunk".
>
> There's no cure for this. The touted portability of the autotools is
> restricted to the GNU environment and the moment you step outside of
> it, this is what occurs. It's a philosophy that has turned into a
> religion largely by losing its focus or, if you prefer, shifting its
> objective.
>
> Plan 9 becomes the proof thereof, if autotools were as successful as
> claimed, it ought to be trivial to port them to a different platform.
> It isn't, nor is it necessary. In porting the code for libtiff and
> geotiff to Plan 9 I added a few "mkfiles" to zlib, the jpeg tools,
> png, gd and eventually libtiff and geotiff. The sum total of these
> mkfiles is probably less than two thousand lines. But it is
> impossible to feed these back to the developers, because they do not
> fit into their philosophical scheme.
>
> As another example, check out graphviz. From version 1 to version 2
> (I think) they moved from a custom configurator to the autotools.
> Beside totally losing Plan 9 portability in the bargain, it is my
> impression that they spent more effort on the autotools details than
> in improving graphviz itself.
>
> ++L
>
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 11:39 ` Filipp Andronov
@ 2008-02-03 12:49 ` lucio
2008-02-03 13:25 ` Filipp Andronov
2008-02-03 14:10 ` Pietro Gagliardi
0 siblings, 2 replies; 87+ messages in thread
From: lucio @ 2008-02-03 12:49 UTC (permalink / raw)
To: 9fans
> So if i want port some big linux application to Plan9 i need start new
> project and copy parts of code from original one. From one side it is
> sad, because it's very ugly development model (for example if original
> project will be update, i need update my project too, so there are two
> "targets" for every update). On another hand i could concentrate on
> new Pla9 techniques and create more powerful analogous of linux
> software.
Eventually, you'd think the autotools will fade, but reality sometimes
turns out illogical. I think the "Plan 9 Way" will only become
dominant if there is a major change to the present status.
Strangely, no one criticises the Windows development tools...
++L
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 12:49 ` lucio
@ 2008-02-03 13:25 ` Filipp Andronov
2008-02-03 14:10 ` Pietro Gagliardi
1 sibling, 0 replies; 87+ messages in thread
From: Filipp Andronov @ 2008-02-03 13:25 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> Strangely, no one criticises the Windows development tools...
I do, it's horrible and even more, i just don't know such words on
English, to describe all my feelings about windows build system :))))
Perhaps i do not known it very well, but i have some experience of
development under windows, and that experience told me do not do such
mistake (development under windows) once again :)))
2008/2/3, lucio@proxima.alt.za <lucio@proxima.alt.za>:
> > So if i want port some big linux application to Plan9 i need start new
> > project and copy parts of code from original one. From one side it is
> > sad, because it's very ugly development model (for example if original
> > project will be update, i need update my project too, so there are two
> > "targets" for every update). On another hand i could concentrate on
> > new Pla9 techniques and create more powerful analogous of linux
> > software.
>
> Eventually, you'd think the autotools will fade, but reality sometimes
> turns out illogical. I think the "Plan 9 Way" will only become
> dominant if there is a major change to the present status.
>
> Strangely, no one criticises the Windows development tools...
>
> ++L
>
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 12:49 ` lucio
2008-02-03 13:25 ` Filipp Andronov
@ 2008-02-03 14:10 ` Pietro Gagliardi
1 sibling, 0 replies; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-03 14:10 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
No one remembers the Windows development tools!
Actually, I have a clear memory of Visual Studio 2005 Express, as I
used to develop in C#. That system was one of the (cough - only -
cough) good things Microsoft made.
On Feb 3, 2008, at 7:49 AM, lucio@proxima.alt.za wrote:
>> So if i want port some big linux application to Plan9 i need start
>> new
>> project and copy parts of code from original one. From one side it is
>> sad, because it's very ugly development model (for example if
>> original
>> project will be update, i need update my project too, so there are
>> two
>> "targets" for every update). On another hand i could concentrate on
>> new Pla9 techniques and create more powerful analogous of linux
>> software.
>
> Eventually, you'd think the autotools will fade, but reality sometimes
> turns out illogical. I think the "Plan 9 Way" will only become
> dominant if there is a major change to the present status.
>
> Strangely, no one criticises the Windows development tools...
>
> ++L
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 9:30 ` lucio
2008-02-03 11:39 ` Filipp Andronov
@ 2008-02-04 2:05 ` Enrico Weigelt
2008-02-08 16:40 ` plan9
2 siblings, 0 replies; 87+ messages in thread
From: Enrico Weigelt @ 2008-02-04 2:05 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
* lucio@proxima.alt.za <lucio@proxima.alt.za> wrote:
> Plan 9 becomes the proof thereof, if autotools were as successful as
> claimed, it ought to be trivial to port them to a different platform.
> It isn't, nor is it necessary. In porting the code for libtiff and
> geotiff to Plan 9 I added a few "mkfiles" to zlib, the jpeg tools,
> png, gd and eventually libtiff and geotiff. The sum total of these
> mkfiles is probably less than two thousand lines. But it is
> impossible to feed these back to the developers, because they do not
> fit into their philosophical scheme.
Feel free to post the patches to the OSS-QM project:
http://oss-qm.metux.de/
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 9:30 ` lucio
2008-02-03 11:39 ` Filipp Andronov
2008-02-04 2:05 ` Enrico Weigelt
@ 2008-02-08 16:40 ` plan9
2 siblings, 0 replies; 87+ messages in thread
From: plan9 @ 2008-02-08 16:40 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Sun, Feb 03, 2008 at 11:30:03AM +0200, lucio@proxima.alt.za wrote:
>
> As another example, check out graphviz. From version 1 to version 2
> (I think) they moved from a custom configurator to the autotools.
> Beside totally losing Plan 9 portability in the bargain, it is my
> impression that they spent more effort on the autotools details than
> in improving graphviz itself.
Of course they did, that's what most FOSS projects do:
1. Find a perfectly good software package that has been "stuck" in
version 1.x for years (meaning it's been debugged and already
does everything it needs to do)
2. Register a SourceForge page for the "next generation" version
3. Replace the working build system with autoconf crap
4. Release the new package as version 2.0 (meaning 2.0 times the size)
And of course:
5. Release version 2.1, now with ANSIfied color output!
Now you too can get the street cred of "maintaining" a well-known software
package without understanding anything about the original code.
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 8:44 ` Filipp Andronov
2008-02-03 9:30 ` lucio
@ 2008-02-03 14:07 ` Pietro Gagliardi
1 sibling, 0 replies; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-03 14:07 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
You don't need to do all that if you know what libraries your program
depends on. Libraries like pdcurses, libtiff, zlib, etc. have been
ported to APE, so once you have them installed, all you need to do is
run the configure file and then make from within ape/psh. However, if
you need autoconf/automake before a configure file, you're out of luck.
On Feb 3, 2008, at 3:44 AM, Filipp Andronov wrote:
> Hmmm, my question was not about new ideological war "GNU vs Plan9". ))
> I think that my bad English does not allow me to ask my question in
> correct form, so i will show some sample :)
>
> For example, in Linux i have some big application.
> This application using autotools, so if a want to port it, for example
> on different OS (of course if this OS has autotools) or hardware all i
> need is go throw sources and put something like:
> #ifdef RUN_IN_CYGWIN
> // some specific code
> #endif
> After that i need to add extra tests in configure and autotools will
> do all magic for me :)
> The main trouble is that all sources has really many pieces of #ifdef
> code, so it could be very painful to drop out "portability in GNU
> way". But it's ok, until that is a only way.
>
> Ok, for me "porting" to plan9 looks like:
> 1. Drop out autotools from project
> 2. Replace all OS specific code to Plan9 equivalent
> 3. Replace all libs to it's equivalent for plan9
> 4. and so on
>
> Main trouble in 1 step. Because after that i couldn't post in project
> mail list, "Hey gays, i have create Plan9 port of your application,
> please check it out and put in CVS trunk". If i "port" some
> application in that way, that mean that I've start new one, "from
> scratch" and just copy & paste some code from original project :((
>
> I hope that i have logical mistakes in my example, and you show me
> that, because if not it could be very sad :))
>
>
>
> 2008/2/3, Eris Discordia <eris.discordia@gmail.com>:
>> On Sun, 03 Feb 2008 00:30:38 -0000, Rob Pike <robpike@gmail.com>
>> wrote:
>>
>>>> An alternative interpretation is that the facts are skewed by
>>>> the Bell
>>>> Labs reality distortion field. The syllogism goes something
>>>> like this:
>>>>
>>>> All things not made at Bell Labs are bad
>>>> GNU is not made at Bell Labs
>>>> Therefore, GNU is bad
>>>>
>>>
>>> If you think about what the letters of GNU stand for, you might
>>> appreciate
>>> that the forms are in mutual opposition. They provide completely
>>> different
>>> approaches to software. "Good" and "Bad" are value judgments. If
>>> you think GNU is the right way to build things, Plan 9 is
>>> probably not
>>> for you, and vice versa.
>>>
>>> -rob
>>
>> Is that "the" Rob Pike? "The R?"
>>
>> If so, please accept me humble reverence, sire! Hallowed be thy
>> practice
>> (of programming)!
>>
>> P. S. Down here in my country, Iran, we have this tradition of
>> inventing
>> sacred things out of thin air. A considerable proportion of "the
>> divine
>> and the sacred" spilled all over the globe began with that frailty
>> of ours
>> :-D
>>
>> --
>> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 0:17 ` Robert William Fuller
2008-02-03 0:30 ` Rob Pike
@ 2008-02-03 0:33 ` Uriel
2008-02-03 1:42 ` erik quanstrom
2008-02-03 15:01 ` dave.l
3 siblings, 0 replies; 87+ messages in thread
From: Uriel @ 2008-02-03 0:33 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Except that Bell Labs has shown much more appreciation for things
invented outside than anyone else. Some of the best ideas in Unix were
lifted from Multics, the genius was to drop all the cruft. CSP is
another good example, ignored by a world that thinks pthreads is the
only way to write concurrent applications... and there are many other
examples that anyone that has done even the most cursory reading of
the Plan 9 will already know about.
Now, can you point to *anything* gnu has ever produced that is not at
best a hideously grotesque copy of something that might have made
sense thirty years ago.
uriel
P.S.: Sorry for being so easily trolled, but seems that I'm not the only one ;)
On Feb 3, 2008 2:17 AM, Robert William Fuller <hydrologiccycle@gmail.com> wrote:
>
> Juan M. Mendez wrote:
> > On 02/02/2008, Martin Neubauer <m.ne@gmx.net> wrote:
> >> * Uriel (uriel99@gmail.com) wrote:
> >>> Autotools badness is way beyond most peoples wildest imagination...
> >> Unfortunately, you don't have to imagine.
> >
> > So what are the facts to back up so many posts regarding autotools badness?
> > Just curious.
>
> An alternative interpretation is that the facts are skewed by the Bell
> Labs reality distortion field. The syllogism goes something like this:
>
> All things not made at Bell Labs are bad
> GNU is not made at Bell Labs
> Therefore, GNU is bad
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 0:17 ` Robert William Fuller
2008-02-03 0:30 ` Rob Pike
2008-02-03 0:33 ` Uriel
@ 2008-02-03 1:42 ` erik quanstrom
2008-02-03 1:55 ` Pietro Gagliardi
2008-02-03 7:31 ` john
2008-02-03 15:01 ` dave.l
3 siblings, 2 replies; 87+ messages in thread
From: erik quanstrom @ 2008-02-03 1:42 UTC (permalink / raw)
To: 9fans
> An alternative interpretation is that the facts are skewed by the Bell
> Labs reality distortion field. The syllogism goes something like this:
>
> All things not made at Bell Labs are bad
> GNU is not made at Bell Labs
> Therefore, GNU is bad
if this holds, then
plan 9 uses ip, smtp, dns, ntp, ethernet, x86, &c.
these were not invented at bell labs
thus using plan 9 is bad.
- erik
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 1:42 ` erik quanstrom
@ 2008-02-03 1:55 ` Pietro Gagliardi
2008-02-03 14:47 ` Paweł Lasek
2008-02-03 7:31 ` john
1 sibling, 1 reply; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-03 1:55 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Circular cause and consequence is funny. Let me add to this list:
- jpg
- png
- tiff
- PostScript
- TeX (tpic)
- HTML
- Mahjongg, sokoban, sudoku, tetris (games/4s)
- SPARC, MIPS, x64
- MP3, PCM, OGG (PAC was made at Bell Labs)
- SoundBlaster 16
Let me put it this way:
GNU software is good, except for GNU development tools, which,
except for the gcc program itself, are mediocre and break
compatibility (try using a Bell Labs makefile with GNU make).
On Feb 2, 2008, at 8:42 PM, erik quanstrom wrote:
>> An alternative interpretation is that the facts are skewed by the
>> Bell
>> Labs reality distortion field. The syllogism goes something like
>> this:
>>
>> All things not made at Bell Labs are bad
>> GNU is not made at Bell Labs
>> Therefore, GNU is bad
>
> if this holds, then
>
> plan 9 uses ip, smtp, dns, ntp, ethernet, x86, &c.
> these were not invented at bell labs
> thus using plan 9 is bad.
>
> - erik
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 1:55 ` Pietro Gagliardi
@ 2008-02-03 14:47 ` Paweł Lasek
[not found] ` <b11249e00802030713x2e08a3d4g4d395c53e1bf658c@mail.gmail.com>
2008-02-04 2:03 ` Enrico Weigelt
0 siblings, 2 replies; 87+ messages in thread
From: Paweł Lasek @ 2008-02-03 14:47 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Feb 3, 2008 2:55 AM, Pietro Gagliardi <pietro10@mac.com> wrote:
> Circular cause and consequence is funny. Let me add to this list:
> - jpg
> - png
> - tiff
> - PostScript
> - TeX (tpic)
> - HTML
> - Mahjongg, sokoban, sudoku, tetris (games/4s)
> - SPARC, MIPS, x64
> - MP3, PCM, OGG (PAC was made at Bell Labs)
> - SoundBlaster 16
>
> Let me put it this way:
> GNU software is good, except for GNU development tools, which,
> except for the gcc program itself, are mediocre and break
> compatibility (try using a Bell Labs makefile with GNU make).
>
I'd add to it the fact that autotools source files are hard to make, so
many people who are to lazy to do it properly just put the famous
(in)sanity check and checks for libs they use. The effect?
A simple C program that doesn't rely on anything except for example libpng
will check for C, C++, FORTRAN 77 compilers, check if those are from
GCC and various other things.
Imagine my surprise when I had seen a configure script (for EmacsLisp
utility) that only checked for Emacs version
and few EmacsLisp files it used - a rare thing IMHO, when >80% of
configure running time is for checking for not used
software.
"CPU cycles are cheap, programmer time is expensive" <--- This doesn't
mean that total laziness is appropriate.
The best thing about autotools is I think the scheme of running
configure - AFAIK mplayer doesn't even use configure for it's script,
instead
they use their own, which looks the same to end user. And saves a lot
of time :-)
--
Paul Lasek
^ permalink raw reply [flat|nested] 87+ messages in thread
[parent not found: <b11249e00802030713x2e08a3d4g4d395c53e1bf658c@mail.gmail.com>]
* Re: [9fans] A newbie question...
2008-02-03 14:47 ` Paweł Lasek
[not found] ` <b11249e00802030713x2e08a3d4g4d395c53e1bf658c@mail.gmail.com>
@ 2008-02-04 2:03 ` Enrico Weigelt
1 sibling, 0 replies; 87+ messages in thread
From: Enrico Weigelt @ 2008-02-04 2:03 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
* Pawe?? Lasek <pawel.lasek@gmail.com> wrote:
> The best thing about autotools is I think the scheme of running
> configure - AFAIK mplayer doesn't even use configure for it's script,
> instead
> they use their own, which looks the same to end user. And saves a lot
> of time :-)
ACK. The fact that there's such an script with an standardized
command line interface is quite good. I which there were more
packages providing this interface (instead there a lots of packages
providing an ./configure script which isn't only incompatible
but even more crap than autoconf stuff, eg. Perl's).
BTW: mplayer's configure script is hand-written (in principle
a good thing ;-p), but it's incompatible with the GNU style.
Rich Felker's comment on this: "we dont want people to mix it
up with this autoconf crap"
Last time I checked, it also didn't make consequent use of
pkg-config (but used it a few times). Rich Felker's comment:
"we dont want to require this pkg-config crap"
well ...
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 1:42 ` erik quanstrom
2008-02-03 1:55 ` Pietro Gagliardi
@ 2008-02-03 7:31 ` john
1 sibling, 0 replies; 87+ messages in thread
From: john @ 2008-02-03 7:31 UTC (permalink / raw)
To: 9fans
>> An alternative interpretation is that the facts are skewed by the Bell
>> Labs reality distortion field. The syllogism goes something like this:
>>
>> All things not made at Bell Labs are bad
>> GNU is not made at Bell Labs
>> Therefore, GNU is bad
>
> if this holds, then
>
> plan 9 uses ip, smtp, dns, ntp, ethernet, x86, &c.
> these were not invented at bell labs
> thus using plan 9 is bad.
>
> - erik
I don't know that x86 qualifies as non-bad.
John
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 0:17 ` Robert William Fuller
` (2 preceding siblings ...)
2008-02-03 1:42 ` erik quanstrom
@ 2008-02-03 15:01 ` dave.l
2008-02-03 15:10 ` Pietro Gagliardi
3 siblings, 1 reply; 87+ messages in thread
From: dave.l @ 2008-02-03 15:01 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 3 Feb 2008, at 00:17, Robert William Fuller wrote:
> An alternative interpretation is that the facts are skewed by the
> Bell Labs reality distortion field. The syllogism goes something
> like this:
>
> All things not made at Bell Labs are bad
> GNU is not made at Bell Labs
> Therefore, GNU is bad
Hello children. Today's word is "ad hominem". Can you say "ad
hominem"?
"We are the knights who say 'NIH'". Not.
Nobody's mentioned the antecedents of autoconf&co.
other than genealogically.
The criticism has been (IMO) well-reasoned.
If the appraisals appear somewhat vituperative at times,
that is probably because the writers thereof constitute some of the
sorry
band of unfortunates (myself included) who have been persuaded by
circumstance
to engage in bootless battle with the autoconf hydra.
We eagerly await ingenious and novel counter-arguments explicating the
intrinsic intellectual beauty and universal utility of a so-called
portability system
consisting of 10K+SLOCs of convoluted, inscrutable and non-portable
configuration scripts
intertwined with a twisty maze of twisted #ifdefs.
DaveL
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-03 15:01 ` dave.l
@ 2008-02-03 15:10 ` Pietro Gagliardi
0 siblings, 0 replies; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-03 15:10 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
That someone had the time and the will to do something like this?
On Feb 3, 2008, at 10:01 AM, dave.l@mac.com wrote:
> On 3 Feb 2008, at 00:17, Robert William Fuller wrote:
>> An alternative interpretation is that the facts are skewed by the
>> Bell Labs reality distortion field. The syllogism goes something
>> like this:
>>
>> All things not made at Bell Labs are bad
>> GNU is not made at Bell Labs
>> Therefore, GNU is bad
>
> Hello children. Today's word is "ad hominem". Can you say "ad
> hominem"?
>
> "We are the knights who say 'NIH'". Not.
>
> Nobody's mentioned the antecedents of autoconf&co.
> other than genealogically.
>
> The criticism has been (IMO) well-reasoned.
>
> If the appraisals appear somewhat vituperative at times,
> that is probably because the writers thereof constitute some of the
> sorry
> band of unfortunates (myself included) who have been persuaded by
> circumstance
> to engage in bootless battle with the autoconf hydra.
>
> We eagerly await ingenious and novel counter-arguments explicating the
> intrinsic intellectual beauty and universal utility of a so-called
> portability system
> consisting of 10K+SLOCs of convoluted, inscrutable and non-portable
> configuration scripts
> intertwined with a twisty maze of twisted #ifdefs.
>
> DaveL
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 18:27 ` Martin Neubauer
2008-02-02 19:22 ` Juan M. Mendez
@ 2008-02-02 21:16 ` Pietro Gagliardi
2008-02-02 22:01 ` Martin Neubauer
1 sibling, 1 reply; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-02 21:16 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Autotools increases portability by 57%, but then decreases
portability by 75% (mv -f, ls -i not available in Plan 9), decreases
usability by 750%, and decreases sanity by 7500%. I wanted to
contribute to AbIWord but it took me a long time before I got it
built. :-( Then I discovered troff in the back of Kernighan/Pike and
am much happier :-)
On Feb 2, 2008, at 1:27 PM, Martin Neubauer wrote:
> * Uriel (uriel99@gmail.com) wrote:
>> Autotools badness is way beyond most peoples wildest imagination...
>
> Unfortunately, you don't have to imagine.
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 17:41 ` Uriel
2008-02-02 18:27 ` Martin Neubauer
@ 2008-02-04 1:02 ` Enrico Weigelt
2008-02-04 1:11 ` Pietro Gagliardi
1 sibling, 1 reply; 87+ messages in thread
From: Enrico Weigelt @ 2008-02-04 1:02 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
* Uriel <uriel99@gmail.com> wrote:
> Autotools badness is way beyond most peoples wildest imagination...
Actually, It helped me enlarging my imagination capabilities ;-P
BTW: there are even far worse things out there ;-O
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 1:02 ` Enrico Weigelt
@ 2008-02-04 1:11 ` Pietro Gagliardi
0 siblings, 0 replies; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-04 1:11 UTC (permalink / raw)
To: weigelt, Fans of the OS Plan 9 from Bell Labs
A perfect example: Windows security! :-)
On Feb 3, 2008, at 8:02 PM, Enrico Weigelt wrote:
> * Uriel <uriel99@gmail.com> wrote:
>> Autotools badness is way beyond most peoples wildest imagination...
>
> Actually, It helped me enlarging my imagination capabilities ;-P
>
> BTW: there are even far worse things out there ;-O
>
>
> cu
> --
> ---------------------------------------------------------------------
> Enrico Weigelt == metux IT service - http://www.metux.de/
> ---------------------------------------------------------------------
> Please visit the OpenSource QM Taskforce:
> http://wiki.metux.de/public/OpenSource_QM_Taskforce
> Patches / Fixes for a lot dozens of packages in dozens of versions:
> http://patches.metux.de/
> ---------------------------------------------------------------------
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-02 7:12 ` Filipp Andronov
2008-02-02 14:57 ` Pietro Gagliardi
@ 2008-02-04 1:19 ` Enrico Weigelt
2008-02-04 1:29 ` Lyndon Nerenberg
1 sibling, 1 reply; 87+ messages in thread
From: Enrico Weigelt @ 2008-02-04 1:19 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
* Filipp Andronov <filipp.andronov@gmail.com> wrote:
Hi,
> And the first one looks like this: does GNU build system (autoconf,
> automake, e.t.c) has been ported in Plan9? Or maybe there is some
> alternative? :)
If you got Java running, you might risk a look at unitool and treebuild:
* http://unitool.metux.de/
* http://treebuild.metux.de/
One of the major problem of autoconf is that It tries to guess around
lots of things, and this often fails or is very unclean (it requires
*really great* care to produce good code with it). In fact this has
nothing to do with portable programming, but working around uncountable
of target specifics.
Unitool goes an different approach: real abstraction with clear and
*strict* interfaces. The individual target configuration is now the job
of unitool and the one who sets it up - not the job of an individual
application. For example it provides an target/platform agnostic
toolchain interface - there is now only ONE way to call the toolchain,
no matter what target you're building for and which toolchain you're
actually using.
Another big problem of most buildsystems (including all make-based)
is they're modeling rules for building instead of the software's
structure. Treebuild goes an different approach: modeling just
the structure of certain package, leaving the build process itself
out of scope of the package.
> I want port some software from linux to Plan9, but couldn't find any
> documentation about how i should do this in "plan9 style" )
hmm, "plan9 style" ?
Maybe a few hints:
* keep the code simple
* common things belong to their own libs
* autonomous things belong to their own fileserver
What packages are you going to port ?
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 1:19 ` Enrico Weigelt
@ 2008-02-04 1:29 ` Lyndon Nerenberg
2008-02-05 2:23 ` David Arnold
0 siblings, 1 reply; 87+ messages in thread
From: Lyndon Nerenberg @ 2008-02-04 1:29 UTC (permalink / raw)
To: weigelt, Fans of the OS Plan 9 from Bell Labs
On 2008-Feb-3, at 17:19 , Enrico Weigelt wrote:
> One of the major problem of autoconf is that It tries to guess around
> lots of things, and this often fails or is very unclean (it requires
> *really great* care to produce good code with it). In fact this has
> nothing to do with portable programming, but working around
> uncountable
> of target specifics.
Autoconf is nothing but a stinking rotten corpse that lives only
because the cult of GNU adherents cannot (no, refuse to) grok the
concept of POSIX.
The last time I ever had the requirement to use 'configure' -- that's
'configure', not 'autoconf' in all its splendor -- was circa 1992. And
that was solely thanks to Sun unbundling the C compiler, leading to
the insane collection of command invocations needed to build something
as simple as cat.c.
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 1:29 ` Lyndon Nerenberg
@ 2008-02-05 2:23 ` David Arnold
2008-02-05 2:26 ` Pietro Gagliardi
2008-02-05 2:31 ` erik quanstrom
0 siblings, 2 replies; 87+ messages in thread
From: David Arnold @ 2008-02-05 2:23 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 03/02/2008, at 8:29 PM, Lyndon Nerenberg wrote:
> Autoconf is nothing but a stinking rotten corpse that lives only
> because the cult of GNU adherents cannot (no, refuse to) grok the
> concept of POSIX.
the problem with POSIX is that it doesn't specify enough.
for instance, if you have to write some code to list the network
interfaces on a (*nix) machine, you have some that provide a specific
function to do so (getifaddrs), some where you should use
SIOCGIFCONF, another where SIOCGLIFCONF is better and one where your
best bet is to hope the /proc filesystem is mounted and read from that.
POSIX doesn't help for things like this. and autoconf, for all its
failings, does.
d
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-05 2:23 ` David Arnold
@ 2008-02-05 2:26 ` Pietro Gagliardi
2008-02-05 2:38 ` erik quanstrom
2008-02-05 3:35 ` Federico G. Benavento
2008-02-05 2:31 ` erik quanstrom
1 sibling, 2 replies; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-05 2:26 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Some other reasons:
- Some systems (read: Linux) do not have pthreads
- What if I said I'm running GCC on Microsoft Xenix? Is that POSIX-
compliant?
- Curses is not POSIX. It's Single Unix Spec, though.
- C99 is still new and although it's in POSIX, not many systems have
it (Plan 9 doesn't have complete C99)
On Feb 4, 2008, at 9:23 PM, David Arnold wrote:
> On 03/02/2008, at 8:29 PM, Lyndon Nerenberg wrote:
>
>> Autoconf is nothing but a stinking rotten corpse that lives only
>> because the cult of GNU adherents cannot (no, refuse to) grok the
>> concept of POSIX.
>
> the problem with POSIX is that it doesn't specify enough.
>
> for instance, if you have to write some code to list the network
> interfaces on a (*nix) machine, you have some that provide a
> specific function to do so (getifaddrs), some where you should use
> SIOCGIFCONF, another where SIOCGLIFCONF is better and one where
> your best bet is to hope the /proc filesystem is mounted and read
> from that.
>
> POSIX doesn't help for things like this. and autoconf, for all its
> failings, does.
>
>
>
> d
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-05 2:26 ` Pietro Gagliardi
@ 2008-02-05 2:38 ` erik quanstrom
2008-02-05 2:51 ` Pietro Gagliardi
2008-02-05 3:35 ` Federico G. Benavento
1 sibling, 1 reply; 87+ messages in thread
From: erik quanstrom @ 2008-02-05 2:38 UTC (permalink / raw)
To: 9fans
> Some other reasons:
> - Some systems (read: Linux) do not have pthreads
incorrect. http://en.wikipedia.org/wiki/Native_POSIX_Thread_Library
> - C99 is still new and although it's in POSIX, not many systems have
> it (Plan 9 doesn't have complete C99)
c99 is 9 years old!
- erik
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-05 2:38 ` erik quanstrom
@ 2008-02-05 2:51 ` Pietro Gagliardi
2008-02-05 3:00 ` Roman V. Shaposhnik
0 siblings, 1 reply; 87+ messages in thread
From: Pietro Gagliardi @ 2008-02-05 2:51 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Feb 4, 2008, at 9:38 PM, erik quanstrom wrote:
>> Some other reasons:
>> - Some systems (read: Linux) do not have pthreads
>
> incorrect. http://en.wikipedia.org/wiki/Native_POSIX_Thread_Library
>
Is that integrated into the Linux source code tree or an add-on?
>> - C99 is still new and although it's in POSIX, not many systems have
>> it (Plan 9 doesn't have complete C99)
>
> c99 is 9 years old!
>
Yes, but do all compilers implement 100% of that standard?
> - erik
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-05 2:51 ` Pietro Gagliardi
@ 2008-02-05 3:00 ` Roman V. Shaposhnik
2008-02-06 9:53 ` Greg Comeau
0 siblings, 1 reply; 87+ messages in thread
From: Roman V. Shaposhnik @ 2008-02-05 3:00 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Mon, 2008-02-04 at 21:51 -0500, Pietro Gagliardi wrote:
> On Feb 4, 2008, at 9:38 PM, erik quanstrom wrote:
>
> >> Some other reasons:
> >> - Some systems (read: Linux) do not have pthreads
> >
> > incorrect. http://en.wikipedia.org/wiki/Native_POSIX_Thread_Library
> >
>
> Is that integrated into the Linux source code tree or an add-on?
It is 100% integrated into 2.6.
>
> >> - C99 is still new and although it's in POSIX, not many systems have
> >> it (Plan 9 doesn't have complete C99)
> >
> > c99 is 9 years old!
> >
>
> Yes, but do all compilers implement 100% of that standard?
Most of compilers are more or less 100% compatible. There's
a part that libc has to do to and that is spotty.
Thanks,
Roman.
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-05 3:00 ` Roman V. Shaposhnik
@ 2008-02-06 9:53 ` Greg Comeau
0 siblings, 0 replies; 87+ messages in thread
From: Greg Comeau @ 2008-02-06 9:53 UTC (permalink / raw)
To: 9fans
In article <1202180417.4392.8.camel@goose.sun.com>,
Roman V. Shaposhnik <9fans@cse.psu.edu> wrote:
>On Mon, 2008-02-04 at 21:51 -0500, Pietro Gagliardi wrote:
>> On Feb 4, 2008, at 9:38 PM, erik quanstrom wrote:
>> >> - C99 is still new and although it's in POSIX, not many systems have
>> >> it (Plan 9 doesn't have complete C99)
>> >
>> > c99 is 9 years old!
>> >
>>
>> Yes, but do all compilers implement 100% of that standard?
>
> Most of compilers are more or less 100% compatible. There's
>a part that libc has to do to and that is spotty.
There are various compiler (and libraries) with [full] support of C99,
however that's a far cry from most compilers being more or less 100%
compatible.
--
Greg Comeau / 4.3.9 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?
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-05 2:26 ` Pietro Gagliardi
2008-02-05 2:38 ` erik quanstrom
@ 2008-02-05 3:35 ` Federico G. Benavento
1 sibling, 0 replies; 87+ messages in thread
From: Federico G. Benavento @ 2008-02-05 3:35 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
well, I don't get the difference, we have a bunch of standards, my limited
understanding is that now these .org's have joined forces, and
everything gets messy, at least for me.
for instance, APE has lot's of headers with the feature test macro
_POSIX_SOURCE, which has been superseded by _POSIX_C_SOURCE,
which should be the same as _XOPEN_SOURCE == 600, which in turn
is compliant with ISO C!
so, I really don't get this dance, anyways there is a contrib package in
my sources dir "posix-man" with the "posix"/xopen/ieee man pages,
sections 0 and 3.
http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html
On Feb 4, 2008 11:26 PM, Pietro Gagliardi <pietro10@mac.com> wrote:
> Some other reasons:
> - Some systems (read: Linux) do not have pthreads
> - What if I said I'm running GCC on Microsoft Xenix? Is that POSIX-
> compliant?
> - Curses is not POSIX. It's Single Unix Spec, though.
> - C99 is still new and although it's in POSIX, not many systems have
> it (Plan 9 doesn't have complete C99)
>
>
> On Feb 4, 2008, at 9:23 PM, David Arnold wrote:
>
> > On 03/02/2008, at 8:29 PM, Lyndon Nerenberg wrote:
> >
> >> Autoconf is nothing but a stinking rotten corpse that lives only
> >> because the cult of GNU adherents cannot (no, refuse to) grok the
> >> concept of POSIX.
> >
> > the problem with POSIX is that it doesn't specify enough.
> >
> > for instance, if you have to write some code to list the network
> > interfaces on a (*nix) machine, you have some that provide a
> > specific function to do so (getifaddrs), some where you should use
> > SIOCGIFCONF, another where SIOCGLIFCONF is better and one where
> > your best bet is to hope the /proc filesystem is mounted and read
> > from that.
> >
> > POSIX doesn't help for things like this. and autoconf, for all its
> > failings, does.
> >
> >
> >
> > d
> >
>
>
--
Federico G. Benavento
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-05 2:23 ` David Arnold
2008-02-05 2:26 ` Pietro Gagliardi
@ 2008-02-05 2:31 ` erik quanstrom
1 sibling, 0 replies; 87+ messages in thread
From: erik quanstrom @ 2008-02-05 2:31 UTC (permalink / raw)
To: 9fans
> On 03/02/2008, at 8:29 PM, Lyndon Nerenberg wrote:
>
> > Autoconf is nothing but a stinking rotten corpse that lives only
> > because the cult of GNU adherents cannot (no, refuse to) grok the
> > concept of POSIX.
>
> the problem with POSIX is that it doesn't specify enough.
>
> for instance, if you have to write some code to list the network
> interfaces on a (*nix) machine, you have some that provide a specific
> function to do so (getifaddrs), some where you should use
> SIOCGIFCONF, another where SIOCGLIFCONF is better and one where your
> best bet is to hope the /proc filesystem is mounted and read from that.
>
> POSIX doesn't help for things like this. and autoconf, for all its
> failings, does.
sometimes. you should really look at how russ did p9p. he's delt
with with exactly this problem by writing a small amount of code
and simply detecting the os in the makefile. there is very little
os-dependent code in p9p and it is easy to follow what gets
compiled when.
(for those following along at home, src/libip/[A-Z]*.c)
- erik
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
@ 2008-02-02 4:57 kokamoto
0 siblings, 0 replies; 87+ messages in thread
From: kokamoto @ 2008-02-02 4:57 UTC (permalink / raw)
To: pietro10, 9fans
C++ has not been included in Plan 9 since the third edition, but the
source code is available, and Steve Simon has made some updates.
Once you have abaco the way I said to get it, you also have Federico
Benavento's contrib system. With it, all you need is
contrib/install steve/cfront
Otherwise, get contrib with
/n/sources/contrib/fgb/root/rc/bin/contrib/install fgb/contrib
and then do the above. Then, to compile a C++ program:
c++/8c x.C # considering .C is the C++ extension
c++/8l -o x x.8
The one thing: don't use
#include <iostream>
using namespace std;
You will need
#include <iostream.h>
which does that for you.
On Feb 1, 2008, at 11:43 PM, Michael Andronov wrote:
> Another question from newbie :
>
> I have noticed some discussion(s) on Internet about C++ language
> for Plan9;
> I'm wondering what is a bottom line of the story:
> - is there a C++ compiler? Any plans for it?
> - has it been 'banned' from Plan9?
> - has gcc been ported to Plan9? ( as was suggested in one of the
> messages I saw)...
>
> Thank for your attention.
> Michael.
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: Re: [9fans] A newbie question...
@ 2008-02-04 12:12 gdiaz
2008-02-04 12:47 ` Filipp Andronov
0 siblings, 1 reply; 87+ messages in thread
From: gdiaz @ 2008-02-04 12:12 UTC (permalink / raw)
To: 9fans
Hola,
Reading 9fans mail list archives you will notice C++ and the "object oriented model" is not much appreciated, there are a lot of references (including great fortunes entries) about this topic.
Search for the discussions, i think there has been other attemps to build a c++ environment, (Steve got cfront working, take a look at the contrib software section of the wiki)
there is people who will love to have a c++ environment, but the preferred way is the plan9 one, which implies no c++.
>So modern operation system with out C++ support is something...unusual
>(i don't know right word in english, that describe what i want to say
>:D)?
>
probably you could say plan9 is not "typical" in this aspect.
slds.
gabi
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: Re: [9fans] A newbie question...
2008-02-04 12:12 gdiaz
@ 2008-02-04 12:47 ` Filipp Andronov
2008-02-04 13:01 ` Uriel
0 siblings, 1 reply; 87+ messages in thread
From: Filipp Andronov @ 2008-02-04 12:47 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> Reading 9fans mail list archives you will notice C++ and the "object oriented model" is not > much appreciated, there are a lot of references (including great fortunes entries) about this > topic.
Yeah, i have notice that, but from my point of view, there are very
many software where object oriented model is perfect way. GUI toolkit
for example, or file system. I didn't see Plan9 file systems sources
yet, but linux VFS object oriented and some proprietary database vfs,
that i have seen are also object oriented. In fact all this stuff was
written in C, where you have pointers to functions in structures, but
it would be much simple to develop it with full OO support.
> Search for the discussions, i think there has been other attemps to build a c++
> environment, (Steve got cfront working, take a look at the contrib software section of the
> wiki)
I does not seen it yet, but cfront is not "modern C++" compiler as far
as i know. So i think that many software that was written with full
C++ features will no work with cfront compiler. Of course i don't know
for sure, and i will explore this later (as far as ьн Plan9 will fly
:D)
> there is people who will love to have a c++ environment, but the preferred way is the plan9 > one, which implies no c++.
Hmm, i think that c++ have right for live in Plan9, just because it
will be very hard to port some soft without it. Of course it is
possible in theory redevelop all modern software stack from
scratch...but in practice it is not something that people could do )
> probably you could say plan9 is not "typical" in this aspect.
I mean that when you get some operation system and then you are notice
that it has no C++ (or even worse, C) environment the first filing is
shock :))
To say the truth, when i've heard about Plan9 at first time, i have
expect meetings with GCC and it was realy shock for me to see new C
compile and no C++ support.
Now i'm understand that it was stupid, but first feeling...No IDE for
development, no C++ support, no GCC environment, no autotools...It is
not bad at all, but it was suddenly :)
2008/2/4, gdiaz@9grid.es <gdiaz@9grid.es>:
> Hola,
>
> Reading 9fans mail list archives you will notice C++ and the "object oriented model" is not much appreciated, there are a lot of references (including great fortunes entries) about this topic.
>
> Search for the discussions, i think there has been other attemps to build a c++ environment, (Steve got cfront working, take a look at the contrib software section of the wiki)
>
> there is people who will love to have a c++ environment, but the preferred way is the plan9 one, which implies no c++.
>
>
> >So modern operation system with out C++ support is something...unusual
> >(i don't know right word in english, that describe what i want to say
> >:D)?
> >
>
> probably you could say plan9 is not "typical" in this aspect.
>
> slds.
>
> gabi
>
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: Re: [9fans] A newbie question...
2008-02-04 12:47 ` Filipp Andronov
@ 2008-02-04 13:01 ` Uriel
2008-02-04 13:41 ` Eris Discordia
0 siblings, 1 reply; 87+ messages in thread
From: Uriel @ 2008-02-04 13:01 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
2008/2/4 Filipp Andronov <filipp.andronov@gmail.com>:
> > Reading 9fans mail list archives you will notice C++ and the "object oriented model" is not > much appreciated, there are a lot of references (including great fortunes entries) about this > topic.
> Yeah, i have notice that, but from my point of view, there are very
> many software where object oriented model is perfect way. GUI toolkit
> for example, or file system. I didn't see Plan9 file systems sources
> yet, but linux VFS object oriented and some proprietary database vfs,
> that i have seen are also object oriented. In fact all this stuff was
> written in C, where you have pointers to functions in structures, but
> it would be much simple to develop it with full OO support.
If you want roman numerals, you know where to find them...
> > probably you could say plan9 is not "typical" in this aspect.
> I mean that when you get some operation system and then you are notice
> that it has no C++ (or even worse, C) environment the first filing is
> shock :))
Inferno... and I hope the shock will send you all the way to the 9fans
archives rather than repeating the same path that has been trodden a
billion times before.
> To say the truth, when i've heard about Plan9 at first time, i have
> expect meetings with GCC and it was realy shock for me to see new C
> compile and no C++ support.
> Now i'm understand that it was stupid, but first feeling...No IDE for
> development, no C++ support, no GCC environment, no autotools...It is
> not bad at all, but it was suddenly :)
Some 20 years 'suddenly'...
uriel
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: Re: [9fans] A newbie question...
2008-02-04 13:01 ` Uriel
@ 2008-02-04 13:41 ` Eris Discordia
2008-02-04 13:59 ` Anant Narayanan
0 siblings, 1 reply; 87+ messages in thread
From: Eris Discordia @ 2008-02-04 13:41 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Mon, 04 Feb 2008 13:01:49 -0000, Uriel <uriel99@gmail.com> wrote:
> If you want roman numerals, you know where to find them...
>
> Inferno... and I hope the shock will send you all the way to the 9fans
> archives rather than repeating the same path that has been trodden a
> billion times before.
>
> Some 20 years 'suddenly'...
>
> uriel
I wonder if you are bitter or something about Plan 9, or the people who
are trying to learn about it. Because you seem to be trying your best to
deter them. What is an "old path" to you, is "the new way" to us, the
hobbyists among us particularly, and we need some incentive, some
supportive character perhaps, to encourage us along the way.
The fact that the late-adopters, myself included, have had previous
development and/or everyday use experiences with GNU stuff and that they
ask of similarities and differences, unawares of whatever animosity
towards the GNU thing has been brewing in your mind through the years,
should not have anything to do with their need/want to learn about Plan 9.
They do "not" need your smart-alecky quoting of Rob Pike. What they need
is some guidance in their transition, regardless of their purpose or
previous experiences. If you are not kind enough to help, you can at least
stand by while others do that.
The above is not "ad hominem," by the way. I do not mean it to be so, in
the least. I am only trying to point out my not-so-positive impression of
your post.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 13:41 ` Eris Discordia
@ 2008-02-04 13:59 ` Anant Narayanan
2008-02-04 14:36 ` Eris Discordia
` (2 more replies)
0 siblings, 3 replies; 87+ messages in thread
From: Anant Narayanan @ 2008-02-04 13:59 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> The fact that the late-adopters, myself included, have had previous
> development and/or everyday use experiences with GNU stuff and that
> they ask of similarities and differences, unawares of whatever
> animosity towards the GNU thing has been brewing in your mind
> through the years, should not have anything to do with their need/
> want to learn about Plan 9. They do "not" need your smart-alecky
> quoting of Rob Pike. What they need is some guidance in their
> transition, regardless of their purpose or previous experiences. If
> you are not kind enough to help, you can at least stand by while
> others do that.
It helps to search the archives before posting. The issues concerning
GNU or C++ have already been discussed several times before -
rekindling the flames can only bring the old-timers to respond as they
have.
Cheers,
Anant
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 13:59 ` Anant Narayanan
@ 2008-02-04 14:36 ` Eris Discordia
2008-02-04 14:43 ` Martin Neubauer
2008-02-06 9:53 ` Greg Comeau
2 siblings, 0 replies; 87+ messages in thread
From: Eris Discordia @ 2008-02-04 14:36 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Mon, 04 Feb 2008 13:59:41 -0000, Anant Narayanan <anant@kix.in> wrote:
> It helps to search the archives before posting. The issues concerning
> GNU or C++ have already been discussed several times before - rekindling
> the flames can only bring the old-timers to respond as they have.
>
> Cheers,
> Anant
You are in the right, or rather you would have been in the right were the
original post about the "aesthetical" aspects of the GNU project and/or
C++, or whether the GNU philosophy is sound. However, Filipp Andronov
asked about the development options available on Plan 9, how they compared
to what she/he has already seen, and whether there were equivalents to
lighten his burden of porting something to Plan 9. A perfectly OK
question, that can, and even should, be asked every once in a while.
What she/he got from Uriel was this:
GNU is bad...
a. ... because it is not Plan 9.
b. ... because I think so.
c. ... because it has loyal followers.
d. ... because it created autoconf.
e. ... because it is Not UNIX.
f. ... because it has popularized a certain toolchain.
g. ... because it does not measure up to Bell Labs in some respect.
Now, these may be valid or not, but they are certainly irrelevant. And
Filipp Andronov said that:
On Sun, 03 Feb 2008 08:44:57 -0000, Filipp Andronov
<filipp.andronov@gmail.com> wrote:
> Hmmm, my question was not about new ideological war "GNU vs Plan9".
Other people posted much better, and more helpful, responses, cf.,
On Mon, 04 Feb 2008 09:46:20 -0000, <kokamoto@hera.eonet.ne.jp> wrote:
> C++ has not been included in Plan 9 since the third edition, but the
> source code is available, and Steve Simon has made some updates.
> Once you have abaco the way I said to get it, you also have Federico
> Benavento's contrib system. With it, all you need is
> contrib/install steve/cfront
> Otherwise, get contrib with
> /n/sources/contrib/fgb/root/rc/bin/contrib/install fgb/contrib
> and then do the above. Then, to compile a C++ program:
> c++/8c x.C # considering .C is the C++ extension
> c++/8l -o x x.8
> The one thing: don't use
> #include <iostream>
> using namespace std;
> You will need
> #include <iostream.h>
> which does that for you.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 13:59 ` Anant Narayanan
2008-02-04 14:36 ` Eris Discordia
@ 2008-02-04 14:43 ` Martin Neubauer
2008-02-06 9:53 ` Greg Comeau
2 siblings, 0 replies; 87+ messages in thread
From: Martin Neubauer @ 2008-02-04 14:43 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
* Anant Narayanan (anant@kix.in) wrote:
> >The fact that the late-adopters, myself included, have had previous
> >development and/or everyday use experiences with GNU stuff and that
> >they ask of similarities and differences, unawares of whatever
> >animosity towards the GNU thing has been brewing in your mind
> >through the years, should not have anything to do with their need/
> >want to learn about Plan 9. They do "not" need your smart-alecky
> >quoting of Rob Pike. What they need is some guidance in their
> >transition, regardless of their purpose or previous experiences. If
> >you are not kind enough to help, you can at least stand by while
> >others do that.
>
> It helps to search the archives before posting. The issues concerning
> GNU or C++ have already been discussed several times before -
> rekindling the flames can only bring the old-timers to respond as they
> have.
>
> Cheers,
> Anant
Another issue is the implicit assumption that a new environment which
doesn't provide all the familiar things one is grown accustomed to is
automatically defective. It's actually not that hard to just get to know
things for a few weeks (Plan 9 really is pretty accessible) and then attempt
to tackle usability issues that have arisen rather than trying to recreate a
linux environment (particularly as there already is a perfectly adequate
linux environment out there - it's called linux.) Perhaps Andrzej
Rosłanowski put it best (speaking about set theory, though): ``If you want
to read mathematics, first learn its language, get educated, don't complain
about your willies.''
Martin
^ permalink raw reply [flat|nested] 87+ messages in thread
* Re: [9fans] A newbie question...
2008-02-04 13:59 ` Anant Narayanan
2008-02-04 14:36 ` Eris Discordia
2008-02-04 14:43 ` Martin Neubauer
@ 2008-02-06 9:53 ` Greg Comeau
2008-02-06 10:02 ` erik quanstrom
2 siblings, 1 reply; 87+ messages in thread
From: Greg Comeau @ 2008-02-06 9:53 UTC (permalink / raw)
To: 9fans
In article <B266EDD6-7572-4528-BC5D-8949F7311DBF@kix.in>,
Anant Narayanan <9fans@cse.psu.edu> wrote:
>> The fact that the late-adopters, myself included, have had previous
>> development and/or everyday use experiences with GNU stuff and that
>> they ask of similarities and differences, unawares of whatever
>> animosity towards the GNU thing has been brewing in your mind
>> through the years, should not have anything to do with their need/
>> want to learn about Plan 9. They do "not" need your smart-alecky
>> quoting of Rob Pike. What they need is some guidance in their
>> transition, regardless of their purpose or previous experiences. If
>> you are not kind enough to help, you can at least stand by while
>> others do that.
>
>It helps to search the archives before posting. The issues concerning
>GNU or C++ have already been discussed several times before -
>rekindling the flames can only bring the old-timers to respond as they
>have.
Anybody have a URL link handy? Thanks.
--
Greg Comeau / 4.3.9 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?
^ permalink raw reply [flat|nested] 87+ messages in thread
end of thread, other threads:[~2008-02-08 16:40 UTC | newest]
Thread overview: 87+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-01 0:22 [9fans] A newbie question Michael Andronov
2008-02-01 0:25 ` erik quanstrom
2008-02-01 0:31 ` john
2008-02-01 0:30 ` Pietro Gagliardi
2008-02-04 0:59 ` Enrico Weigelt
2008-02-01 2:16 ` Pietro Gagliardi
2008-02-01 8:50 ` John Stalker
2008-02-01 17:15 ` Michael Andronov
2008-02-02 4:43 ` Michael Andronov
2008-02-02 4:57 ` Pietro Gagliardi
2008-02-02 13:02 ` Steve Simon
2008-02-04 10:21 ` Greg Comeau
2008-02-04 10:52 ` mattmobile
2008-02-04 11:12 ` Uriel
2008-02-04 11:47 ` Filipp Andronov
2008-02-04 15:42 ` Alf
2008-02-04 16:06 ` Filipp Andronov
2008-02-04 16:53 ` Steve Simon
2008-02-04 19:51 ` Pietro Gagliardi
2008-02-06 9:53 ` Greg Comeau
2008-02-06 19:11 ` Joel C. Salomon
2008-02-07 1:32 ` Uriel
2008-02-07 1:44 ` Pietro Gagliardi
2008-02-07 9:54 ` Greg Comeau
2008-02-06 9:45 ` Greg Comeau
2008-02-04 11:09 ` Uriel
2008-02-06 9:53 ` Greg Comeau
2008-02-04 14:32 ` [9fans] cross-compilation Charles Forsyth
2008-02-02 4:57 ` [9fans] A newbie question Pietro Gagliardi
2008-02-02 7:12 ` Filipp Andronov
2008-02-02 14:57 ` Pietro Gagliardi
2008-02-02 15:30 ` Filipp Andronov
2008-02-02 15:33 ` Pietro Gagliardi
2008-02-02 15:48 ` Filipp Andronov
2008-02-02 16:04 ` Pietro Gagliardi
2008-02-02 16:34 ` Filipp Andronov
2008-02-02 16:10 ` Charles Forsyth
2008-02-02 17:41 ` Uriel
2008-02-02 18:27 ` Martin Neubauer
2008-02-02 19:22 ` Juan M. Mendez
2008-02-02 19:42 ` Anthony Sorace
2008-02-02 20:10 ` erik quanstrom
2008-02-04 1:49 ` Enrico Weigelt
2008-02-02 22:25 ` ron minnich
2008-02-03 0:17 ` Robert William Fuller
2008-02-03 0:30 ` Rob Pike
2008-02-03 7:51 ` Eris Discordia
2008-02-03 8:44 ` Filipp Andronov
2008-02-03 9:30 ` lucio
2008-02-03 11:39 ` Filipp Andronov
2008-02-03 12:49 ` lucio
2008-02-03 13:25 ` Filipp Andronov
2008-02-03 14:10 ` Pietro Gagliardi
2008-02-04 2:05 ` Enrico Weigelt
2008-02-08 16:40 ` plan9
2008-02-03 14:07 ` Pietro Gagliardi
2008-02-03 0:33 ` Uriel
2008-02-03 1:42 ` erik quanstrom
2008-02-03 1:55 ` Pietro Gagliardi
2008-02-03 14:47 ` Paweł Lasek
[not found] ` <b11249e00802030713x2e08a3d4g4d395c53e1bf658c@mail.gmail.com>
[not found] ` <F9E7B91B-B3DD-4F5F-92F2-9556311B559D@mac.com>
[not found] ` <b11249e00802030728p6475625kd19bdf54666272df@mail.gmail.com>
[not found] ` <6018296E-43A8-43D5-94C1-6EE4B7CE36B6@mac.com>
[not found] ` <b11249e00802030756k6d11a110g76c2be92fc88d058@mail.gmail.com>
2008-02-03 16:12 ` erik quanstrom
2008-02-04 2:57 ` Enrico Weigelt
2008-02-04 8:00 ` Filipp Andronov
2008-02-04 2:03 ` Enrico Weigelt
2008-02-03 7:31 ` john
2008-02-03 15:01 ` dave.l
2008-02-03 15:10 ` Pietro Gagliardi
2008-02-02 21:16 ` Pietro Gagliardi
2008-02-02 22:01 ` Martin Neubauer
2008-02-04 1:02 ` Enrico Weigelt
2008-02-04 1:11 ` Pietro Gagliardi
2008-02-04 1:19 ` Enrico Weigelt
2008-02-04 1:29 ` Lyndon Nerenberg
2008-02-05 2:23 ` David Arnold
2008-02-05 2:26 ` Pietro Gagliardi
2008-02-05 2:38 ` erik quanstrom
2008-02-05 2:51 ` Pietro Gagliardi
2008-02-05 3:00 ` Roman V. Shaposhnik
2008-02-06 9:53 ` Greg Comeau
2008-02-05 3:35 ` Federico G. Benavento
2008-02-05 2:31 ` erik quanstrom
2008-02-02 4:57 kokamoto
2008-02-04 12:12 gdiaz
2008-02-04 12:47 ` Filipp Andronov
2008-02-04 13:01 ` Uriel
2008-02-04 13:41 ` Eris Discordia
2008-02-04 13:59 ` Anant Narayanan
2008-02-04 14:36 ` Eris Discordia
2008-02-04 14:43 ` Martin Neubauer
2008-02-06 9:53 ` Greg Comeau
2008-02-06 10:02 ` erik quanstrom
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).