9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Bengt Kleberg <bengt.kleberg@ericsson.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] plan 9 ports churn
Date: Tue, 27 Apr 2004 12:44:27 +0000	[thread overview]
Message-ID: <c6lk1c$2d7$1@newstree.wise.edt.ericsson.se> (raw)
In-Reply-To: <c6irf6$lf3$1@newstree.wise.edt.ericsson.se>

Bengt Kleberg wrote:
> Russ Cox wrote:
> 
>> There's a lot of new stuff in the Plan 9 ports tarball/CVS
>> but the downside is that I don't know how well it
>> builds on systems other than FreeBSD and Linux.
> 
> 

i have a suggestion on how to make ''9c'' perform as intended on sunos, 
with sun-cc. the ''uname -p'' change is only there to be consistent with 
the changes to $OBJTYPE that i have already made in other places. if 
sun4u is better value than sparc this change should be ignored:


*** /tmp/plan9/bin/9c	Sat Apr 24 07:03:32 2004
--- /home/eleberg/private/plan9/bin/9c	Tue Apr 27 14:30:05 2004
***************
*** 16,22 ****
   	cflags="$ngflags -ggdb"
   }

! tag="${SYSNAME:-`uname`}-${OBJTYPE:-`uname -m`}-${CC9:-cc}"
   case "$tag" in
   *BSD*)		usegcc ;;
   *Darwin*)	usegcc
--- 16,22 ----
   	cflags="$ngflags -ggdb"
   }

! tag="${SYSNAME:-`uname`}-${OBJTYPE:-`uname -p`}-${CC9:-cc}"
   case "$tag" in
   *BSD*)		usegcc ;;
   *Darwin*)	usegcc
***************
*** 45,51 ****

   case "$tag" in
   *SunOS*-cc)
! 	exec $cc -I$PLAN9/include $cflags "$@" |
   		/bin/sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g'
   	;;
   *)
--- 45,51 ----

   case "$tag" in
   *SunOS*-cc)
! 	exec $cc -I$PLAN9/include $cflags "$@" 2>&1 |
   		/bin/sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g'
   	;;
   *)


      reply	other threads:[~2004-04-27 12:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-24  5:03 Russ Cox
2004-04-26 11:52 ` Bengt Kleberg
2004-04-27 12:44   ` Bengt Kleberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='c6lk1c$2d7$1@newstree.wise.edt.ericsson.se' \
    --to=bengt.kleberg@ericsson.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).