Re: [9fans] Building GCC
  Home FAQ Contact Sign in
comp.os.plan9 only
 
Advanced search
POPULAR GROUPS

more...

comp.os.plan9 Profile…
 Up
Re: [9fans] Building GCC         


Author: Brantley Coile
Date: Jan 21, 2008 10:57

Better yet, why not copy mv somewhere local to Gcc and add it
as a no-op there? Do we really have to start seeing system
contamination from GCC in the released system? The slope feels
slippery here.

Pietro Gagliardi wrote:
>I'll add -f to Plan 9 mv as a no-op later.
69 Comments
Re: [9fans] Building GCC         


Author: Steve Simon
Date: Jan 21, 2008 13:12

>>I'll add -f to Plan 9 mv as a no-op later.
> Better yet, why not copy mv somewhere local to Gcc and add it

There is a precident for adding scripts to massage APE command
line options before envoking the plan9 executable, for example
/rc/bin/ape/ls.

-Steve
68 Comments
Re: [9fans] Building GCC         


Author: Pietro Gagliardi
Date: Jan 21, 2008 14:00

However, the problem is that I'm not sure how, or where, to put this
new mv so that ape/psh and gnu/gsh read this new one instead of the
old one. I successfully masked ln to cp and head to a modified
version of /n/sources/contrib/arisawa/misc/head, so everything else
works.

And now there really is no Makefile! configure says it is producing
one, but I see none. I'll try the other folders to see what I get.

On Jan 21, 2008, at 3:54 PM, Steve Simon wrote:
>>> I'll add -f to Plan 9 mv as a no-op later.
>> Better yet, why not copy mv somewhere local to Gcc and add it
>
> There is a precident for adding scripts to massage APE command
> line options before envoking the plan9 executable, for example
> /rc/bin/ape/ls.
>
> -Steve
no comments
Re: [9fans] Building GCC         


Author: Pietro Gagliardi
Date: Jan 21, 2008 14:48

New question: when was GCC for Plan 9 written? Third edition Plan 9?
Here's why: I only had to change one file to compile X11 for Plan 9,
which was developed on Brazil, which became Fourth Edition. I noticed
that some software I wanted to port uses X11R6, the version
available. My goal is to port Qt 4 to Plan 9, and then KDE 4. My idea
is that we can have a lot of Plan 9 software ready for end users in a
short amount of time.

The problem is, when I try to compile a hello, world C++ program with
gnu/gcc and gnu/g++, it tells me it can't find the iostream file, so
I'm thinking that you have to build from source. I tried iostream.h,
but to no avail.

Another thing I was trying to port was a library for reading ID3
tags, because the games/mp3tag that I got a while back was ID3v1, and
my tags are ID3v2.

On Jan 21, 2008, at 3:54 PM, Steve Simon wrote:
Show full article (1.16Kb)
66 Comments
Re: [9fans] Building GCC         


Author: erik quanstrom
Date: Jan 21, 2008 15:11

> The problem is, when I try to compile a hello, world C++ program with
> gnu/gcc and gnu/g++, it tells me it can't find the iostream file, so
> I'm thinking that you have to build from source. I tried iostream.h,
> but to no avail.

the c++ header files and are much different files.

- erik
no comments
Re: [9fans] Building GCC         


Author: Fazlul Shahriar
Date: Jan 21, 2008 15:26

> Another thing I was trying to port was a library for reading ID3
> tags, because the games/mp3tag that I got a while back was ID3v1, and
> my tags are ID3v2.

Maybe you can use this:
http://swtch.com/juke/mp3info.c
It's written for plan9port but works just fine on Plan 9.
2 Comments
Re: [9fans] Building GCC         


Author: Pietro Gagliardi
Date: Jan 21, 2008 15:32

(Almost) perfect. I'll modify it to print in the format required by
axel's mkmap/du2map.

On Jan 21, 2008, at 6:25 PM, Fazlul Shahriar wrote:
>> Another thing I was trying to port was a library for reading ID3
>> tags, because the games/mp3tag that I got a while back was ID3v1, and
>> my tags are ID3v2.
>
> Maybe you can use this:
> http://swtch.com/juke/mp3info.c
> It's written for plan9port but works just fine on Plan 9.
>
1 Comment
Re: [9fans] Building GCC         


Author: Pietro Gagliardi
Date: Jan 21, 2008 16:40

After mkmap didn't generate a good enough map file and every
modification I tried to make ended up in disaster, I decided to just
generate my map files by hand. But I'd still like to run GCC to
compile Qt/KDE.

On Jan 21, 2008, at 6:31 PM, Pietro Gagliardi wrote:
Show full article (0.73Kb)
no comments
Re: [9fans] Building GCC         


Author: Russ Cox
Date: Jan 22, 2008 04:16

> New question: when was GCC for Plan 9 written? Third edition Plan 9?
> Here's why: I only had to change one file to compile X11 for Plan 9,
> which was developed on Brazil, which became Fourth Edition. I noticed
> that some software I wanted to port uses X11R6, the version
> available. My goal is to port Qt 4 to Plan 9, and then KDE 4. My idea
> is that we can have a lot of Plan 9 software ready for end users in a
> short amount of time.

why use plan 9 at all? why not just install linux or freebsd?

russ
9 Comments
Re: [9fans] Building GCC         


Author: Harri Haataja
Date: Jan 22, 2008 04:40

On Tue, Jan 22, 2008 at 07:15:29AM -0500, Russ Cox wrote:
>> New question: when was GCC for Plan 9 written? Third edition Plan 9?
>> Here's why: I only had to change one file to compile X11 for Plan 9,
>> which was developed on Brazil, which became Fourth Edition. I noticed
>> that some software I wanted to port uses X11R6, the version
>> available. My goal is to port Qt 4 to Plan 9, and then KDE 4. My idea
>> is that we can have a lot of Plan 9 software ready for end users in a
>> short amount of time.
>
> why use plan 9 at all? why not just install linux or freebsd?

So rio and the compiler suite are the only good things in plan9?

--
To know what you prefer, instead of humbly saying Amen
to what the world tells you you ought to prefer,
is to have kept your soul alive.
-- Robert Louis Stevenson
51 Comments

RELATED THREADS
SubjectArticles qty Group
Can Women Build Big Muscles? Why Women Cant Build Big Muscles Easilyalt.amazonwomen.admirers ·
[svn:Module-Build] r11290 - in Module-Build/trunk: . lib/Module/Buildperl.module.build.checkins ·
1 2 3 4 5 6 7