9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] installing extra software
  2007-07-04 22:48 [9fans] installing extra software evilplantain
@ 2007-07-04 16:53 ` john
  2007-07-04 23:05   ` Kris Maglione
  2007-07-05  1:36   ` Jack Johnson
  0 siblings, 2 replies; 4+ messages in thread
From: john @ 2007-07-04 16:53 UTC (permalink / raw)
  To: 9fans

> Hello. I have just installed plan9 on a micronpc millennia rs-2100 with 64MB Ram and a !8GB Hard drive. I hope that the information helps out some. I am having to burn CD's at one computer and bring them to the Plan9 box. This is not a problem. However, I do not know how to compile software for plan 9 and would like a link to a simple tutorial. I understand the basics of Linux and FreeBSD. I hope that any information I have given will be of some assistance.
> Thank you in advance for any help.
> Obrigado e tchau
> 

It's pretty easy to compile software on Plan 9. Just get the tarball and
unpack it. There's usually a mkfile in the base directory of the source
tar, so just running 'mk' is usually sufficient. If there's a README, read
it.

Now, if you just have a foo.c file, just do this:
8c foo.c
8l foo.8
and find the executable in ./8.out. You can then install it by
copying it to $home/bin/386/ or /bin.

John



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

* [9fans] installing extra software
@ 2007-07-04 22:48 evilplantain
  2007-07-04 16:53 ` john
  0 siblings, 1 reply; 4+ messages in thread
From: evilplantain @ 2007-07-04 22:48 UTC (permalink / raw)
  To: 9fans

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

Hello. I have just installed plan9 on a micronpc millennia rs-2100 with 64MB Ram and a !8GB Hard drive. I hope that the information helps out some. I am having to burn CD's at one computer and bring them to the Plan9 box. This is not a problem. However, I do not know how to compile software for plan 9 and would like a link to a simple tutorial. I understand the basics of Linux and FreeBSD. I hope that any information I have given will be of some assistance.
Thank you in advance for any help.
Obrigado e tchau

________________________________________________________________________
AOL now offers free email to everyone.  Find out more about what's free from AOL at AOL.com.

[-- Attachment #2: Type: text/html, Size: 782 bytes --]

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

* Re: [9fans] installing extra software
  2007-07-04 16:53 ` john
@ 2007-07-04 23:05   ` Kris Maglione
  2007-07-05  1:36   ` Jack Johnson
  1 sibling, 0 replies; 4+ messages in thread
From: Kris Maglione @ 2007-07-04 23:05 UTC (permalink / raw)
  To: 9fans

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

On Wed, Jul 04, 2007 at 06:53:27AM -1000, john@csplan9.rit.edu wrote:
>and find the executable in ./8.out. You can then install it by
>copying it to $home/bin/386/ or /bin.

/bin is usually not mounted with -c. You'd copy it to 
/$objtype/bin or $home/bin/$objtype

-- 
Kris Maglione

If it sits on your desk for 15 minutes, you've just
become the expert.

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

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

* Re: [9fans] installing extra software
  2007-07-04 16:53 ` john
  2007-07-04 23:05   ` Kris Maglione
@ 2007-07-05  1:36   ` Jack Johnson
  1 sibling, 0 replies; 4+ messages in thread
From: Jack Johnson @ 2007-07-05  1:36 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 7/4/07, john@csplan9.rit.edu <john@csplan9.rit.edu> wrote:
> > However, I do not know how to compile software for plan 9 and would like a link to a simple tutorial. I understand the basics of Linux and FreeBSD.
> It's pretty easy to compile software on Plan 9. Just get the tarball and
> unpack it. There's usually a mkfile in the base directory of the source
> tar, so just running 'mk' is usually sufficient. If there's a README, read
> it.

It's also worth noting that, in general, Plan 9 has it's own software,
or it's own port of some software you may already be familiar with.
If your intent is to compile someone else's software you had to
compile for Linux or FreeBSD, you may be in for a challenge, depending
on your choice.

If this is the case, I would suggest starting here:

http://www.cs.bell-labs.com/wiki/plan9/Porting_alien_software_to_Plan_9/index.html

-Jack


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

end of thread, other threads:[~2007-07-05  1:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-04 22:48 [9fans] installing extra software evilplantain
2007-07-04 16:53 ` john
2007-07-04 23:05   ` Kris Maglione
2007-07-05  1:36   ` Jack Johnson

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