9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] OT: plan9port question
@ 2006-09-13 21:05 ISHWAR RATTAN
  2006-09-13 22:15 ` Russ Cox
  0 siblings, 1 reply; 13+ messages in thread
From: ISHWAR RATTAN @ 2006-09-13 21:05 UTC (permalink / raw)
  To: 9fans


Can gdb be used to debug plan9 executables or one has
to learn acid?

-ishwar



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

* Re: [9fans] OT: plan9port question
  2006-09-13 21:05 [9fans] OT: plan9port question ISHWAR RATTAN
@ 2006-09-13 22:15 ` Russ Cox
  0 siblings, 0 replies; 13+ messages in thread
From: Russ Cox @ 2006-09-13 22:15 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

If you mean can gdb be used to debug /usr/local/plan9/bin/*
on a Unix system, the answer is yes it can.

Russ


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

* Re: [9fans] OT: plan9port question
  2005-04-01 14:39 I RATTAN
@ 2005-04-01 14:51 ` Russ Cox
  0 siblings, 0 replies; 13+ messages in thread
From: Russ Cox @ 2005-04-01 14:51 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

set the environment variable $CC9 to gcc.

On Apr 1, 2005 9:39 AM, I RATTAN <rattan@cps.cmich.edu> wrote:
> 
> I am trying to install it under Solaris-5.9
> 
> and by default ./INSTALL seems to look for sun compiler
> /usr/ucb/cc
> 
> is there a way to make it use gcc?
> 
> -ishwar
>


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

* [9fans] OT: plan9port question
@ 2005-04-01 14:39 I RATTAN
  2005-04-01 14:51 ` Russ Cox
  0 siblings, 1 reply; 13+ messages in thread
From: I RATTAN @ 2005-04-01 14:39 UTC (permalink / raw)
  To: 9fans


I am trying to install it under Solaris-5.9

and by default ./INSTALL seems to look for sun compiler
/usr/ucb/cc

is there a way to make it use gcc?

-ishwar


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

* Re: [9fans] OT: plan9port question
  2005-03-06 18:54       ` boyd, rounin
@ 2005-03-06 19:14         ` William Josephson
  0 siblings, 0 replies; 13+ messages in thread
From: William Josephson @ 2005-03-06 19:14 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Sun, Mar 06, 2005 at 07:54:06PM +0100, boyd, rounin wrote:
> >Hence the hash builtin...
>
> builtin is not there to fix bugs in $PATH walks.

ENOPARSE.  The hash builtin lets you force the
shell to re-examine the path.  I didn't comment
on whether or not I thought it was a good idea.


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

* Re: [9fans] OT: plan9port question
  2005-03-06 18:47     ` William Josephson
@ 2005-03-06 18:54       ` boyd, rounin
  2005-03-06 19:14         ` William Josephson
  0 siblings, 1 reply; 13+ messages in thread
From: boyd, rounin @ 2005-03-06 18:54 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Hence the hash builtin...

builtin is not there to fix bugs in $PATH walks.
--
MGRS 31U DQ 52572 12604




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

* Re: [9fans] OT: plan9port question
  2005-03-05 14:43   ` Sam
@ 2005-03-06 18:47     ` William Josephson
  2005-03-06 18:54       ` boyd, rounin
  0 siblings, 1 reply; 13+ messages in thread
From: William Josephson @ 2005-03-06 18:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Sat, Mar 05, 2005 at 09:43:42AM -0500, Sam wrote:
> >>Linux ls works and $PLAN9/bin/ls also works..
> >
> >not sure i fully understand this but the shell could be caching
> >executable pathnames to avoid the $PATH walk.
>
> ... which bash definitely does.

Hence the hash builtin...


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

* Re: [9fans] OT: plan9port question
  2005-03-05  4:43 ` boyd, rounin
@ 2005-03-05 14:43   ` Sam
  2005-03-06 18:47     ` William Josephson
  0 siblings, 1 reply; 13+ messages in thread
From: Sam @ 2005-03-05 14:43 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

>> Linux ls works and $PLAN9/bin/ls also works..
>
> not sure i fully understand this but the shell could be caching
> executable pathnames to avoid the $PATH walk.

... which bash definitely does.

lappie. cat >bin/foo
#!/bin/sh

echo foo
lappie. chmod a+x bin/foo
lappie. foo
foo
lappie. rm bin/foo
lappie. foo
bash: /home/sah/bin/foo: No such file or directory
lappie.



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

* Re: [9fans] OT: plan9port question
  2005-03-04 16:31 I RATTAN
  2005-03-04 16:35 ` William Josephson
  2005-03-04 17:19 ` rog
@ 2005-03-05  4:43 ` boyd, rounin
  2005-03-05 14:43   ` Sam
  2 siblings, 1 reply; 13+ messages in thread
From: boyd, rounin @ 2005-03-05  4:43 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Linux ls works and $PLAN9/bin/ls also works..

not sure i fully understand this but the shell could be caching
executable pathnames to avoid the $PATH walk.

remember csh's 'rehash' command?
--
MGRS 31U DQ 52572 12604




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

* Re: [9fans] OT: plan9port question
  2005-03-04 16:35 ` William Josephson
@ 2005-03-04 19:37   ` Russ Cox
  0 siblings, 0 replies; 13+ messages in thread
From: Russ Cox @ 2005-03-04 19:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> On Fri, Mar 04, 2005 at 11:31:55AM -0500, I RATTAN wrote:
> > I installed plan9port (latest version) under Linux (2.6.7 kernel).
> > PATH=$PLAN9/bin:$PATH
>
> You'll almost certainly be better off with putting it at the end
> of your path.

Run "9 man 9.rc" for more information.

> What does alias ls say?  You're probably passing
> some bogous (colorization?) options from the
> system shell initialization scripts.

This is definitely your problem.

Russ


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

* Re: [9fans] OT: plan9port question
  2005-03-04 16:31 I RATTAN
  2005-03-04 16:35 ` William Josephson
@ 2005-03-04 17:19 ` rog
  2005-03-05  4:43 ` boyd, rounin
  2 siblings, 0 replies; 13+ messages in thread
From: rog @ 2005-03-04 17:19 UTC (permalink / raw)
  To: 9fans

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

what shell are you using?
perhaps you've got an alias set up for ls?

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

From: I RATTAN <rattan@cps.cmich.edu>
To: 9fans@cse.psu.edu
Subject: [9fans] OT: plan9port question
Date: Fri, 4 Mar 2005 11:31:55 -0500 (EST)
Message-ID: <Pine.GSO.4.58.0503041128070.2164@cps211.cps.cmich.edu>


I installed plan9port (latest version) under Linux (2.6.7 kernel).
PATH=$PLAN9/bin:$PATH

and use of ls produces the Usage: xxx message (Plan9 one)

PATH=$PATH:$PLAN9/bin

Linux ls works and $PLAN9/bin/ls also works..

Any ideas?
-ishwar

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

* Re: [9fans] OT: plan9port question
  2005-03-04 16:31 I RATTAN
@ 2005-03-04 16:35 ` William Josephson
  2005-03-04 19:37   ` Russ Cox
  2005-03-04 17:19 ` rog
  2005-03-05  4:43 ` boyd, rounin
  2 siblings, 1 reply; 13+ messages in thread
From: William Josephson @ 2005-03-04 16:35 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Fri, Mar 04, 2005 at 11:31:55AM -0500, I RATTAN wrote:
> I installed plan9port (latest version) under Linux (2.6.7 kernel).
> PATH=$PLAN9/bin:$PATH

You'll almost certainly be better off with putting it at the end
of your path.

> and use of ls produces the Usage: xxx message (Plan9 one)
>
> PATH=$PATH:$PLAN9/bin
>
> Linux ls works and $PLAN9/bin/ls also works..

What does alias ls say?  You're probably passing
some bogous (colorization?) options from the
system shell initialization scripts.

 -WJ


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

* [9fans] OT: plan9port question
@ 2005-03-04 16:31 I RATTAN
  2005-03-04 16:35 ` William Josephson
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: I RATTAN @ 2005-03-04 16:31 UTC (permalink / raw)
  To: 9fans


I installed plan9port (latest version) under Linux (2.6.7 kernel).
PATH=$PLAN9/bin:$PATH

and use of ls produces the Usage: xxx message (Plan9 one)

PATH=$PATH:$PLAN9/bin

Linux ls works and $PLAN9/bin/ls also works..

Any ideas?
-ishwar



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

end of thread, other threads:[~2006-09-13 22:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-13 21:05 [9fans] OT: plan9port question ISHWAR RATTAN
2006-09-13 22:15 ` Russ Cox
  -- strict thread matches above, loose matches on Subject: below --
2005-04-01 14:39 I RATTAN
2005-04-01 14:51 ` Russ Cox
2005-03-04 16:31 I RATTAN
2005-03-04 16:35 ` William Josephson
2005-03-04 19:37   ` Russ Cox
2005-03-04 17:19 ` rog
2005-03-05  4:43 ` boyd, rounin
2005-03-05 14:43   ` Sam
2005-03-06 18:47     ` William Josephson
2005-03-06 18:54       ` boyd, rounin
2005-03-06 19:14         ` William Josephson

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