9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] inferno C compilers
@ 2001-06-28 15:22 nigel
  0 siblings, 0 replies; 4+ messages in thread
From: nigel @ 2001-06-28 15:22 UTC (permalink / raw)
  To: 9fans

^[[4~They are not the PLan 9 compilers, but similar.
They are part of the distribution to enable you to build
native Inferno for the various target architectures.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] inferno C compilers
@ 2001-07-02 12:02 forsyth
  0 siblings, 0 replies; 4+ messages in thread
From: forsyth @ 2001-07-02 12:02 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

as nigel says, they were provided originally to allow native Inferno
to be compiled on other operating systems.  (on Plan 9, to get a
cross-compiler you simply compile the compiler for the target with objtype set
for the host platform, and it's nearly that straightforward with the
Inferno variants under other operating systems, compiled by the host
system's compilers.)  we include all the libraries required to run the
compilers under a good range of operating systems, and also the source
for a portable version of mk, and a few other things.

in this latest Inferno package, i've put the utils directory in the free-ish source section.
since the source is provided, you can make them produce what you like.
they are simpler, and easier to port than gcc (any version) but typically produce better code
than lcc and are very quick.  as well as compiling Inferno, i have used them to cross-compile
Plan 9 libraries, kernels and applications on Solaris and FreeBSD, for
instance.   (you need some minor implants in the Plan 9 mkfiles.)
that's useful when you've got some target system you'd like
to run Plan 9, but the existing development environment is Windows or
a Unix system and you can't convert the organisation.


[-- Attachment #2: Type: message/rfc822, Size: 1605 bytes --]

From: Anastasopoulos S <anastas@ceid.upatras.gr>
To: 9fans@cse.psu.edu
Subject: [9fans] inferno C compilers
Date: Thu, 28 Jun 2001 17:32:57 +0300 (EET DST)
Message-ID: <Pine.GSO.4.21.0106281730450.3177-100000@diogenis.ceid.upatras.gr>


Hi

Why are the plan9 compilers are included in the inferno distribution since
 there is no library and since they don't produce .exe files?

Spyros


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] inferno C compilers
@ 2001-07-02 11:46 forsyth
  0 siblings, 0 replies; 4+ messages in thread
From: forsyth @ 2001-07-02 11:46 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

they are essentially the same and periodically identical
(up to u.h/libc.h vs lib9.h.  it's time for them to be resynchronised.
the powerpc and arm/thumb compilers tend to be more up to date
in the Inferno tree, and x86 and cc are more up to date in the plan9 tree, although the differences
across all the non-arm architecture are fairly minor.
(we've made many changes to arm for thumb support.)
cc has a few more extensions in plan 9.
8c/8l in plan 9 now has a bug that the inferno ones lack,
introduced by recent changes, and we've fixed a tiny
nasty bug in 5l, but i'll sort it out by an every-way
merge and send the changes back.


[-- Attachment #2: Type: message/rfc822, Size: 1732 bytes --]

From: nigel@9fs.org
To: 9fans@cse.psu.edu
Subject: Re: [9fans] inferno C compilers
Date: Thu, 28 Jun 2001 16:22:40 +0100
Message-ID: <E15Fddc-0000Kt-0K@tele-post-20.mail.demon.net>

^[[4~They are not the PLan 9 compilers, but similar.
They are part of the distribution to enable you to build
native Inferno for the various target architectures.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [9fans] inferno C compilers
@ 2001-06-28 14:32 Anastasopoulos S
  0 siblings, 0 replies; 4+ messages in thread
From: Anastasopoulos S @ 2001-06-28 14:32 UTC (permalink / raw)
  To: 9fans


Hi

Why are the plan9 compilers are included in the inferno distribution since
 there is no library and since they don't produce .exe files?

Spyros




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-07-02 12:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-28 15:22 [9fans] inferno C compilers nigel
  -- strict thread matches above, loose matches on Subject: below --
2001-07-02 12:02 forsyth
2001-07-02 11:46 forsyth
2001-06-28 14:32 Anastasopoulos S

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).