From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: Bengt Kleberg Message-ID: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit References: , Subject: Re: [9fans] plan 9 ports churn Date: Tue, 27 Apr 2004 12:44:27 +0000 Topicbox-Message-UUID: 6f7dd44a-eacd-11e9-9e20-41e7f4b1d025 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' ;; *)