Plan 9 from Bell Labs’s /usr/web/sources/contrib/maht/acme/bin/C

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc

tags=`{cat /mnt/acme/$winid/tag}

switch($objtype){
case 386
	c=8c
	l=8l
	o=8
case arm
	c=5c
	l=5l
	o=5
}

if(~ $#c 0)
	echo objtype $objtype missing
if not {
	s = `{echo $tags(1) | sed 's/\.c$//'}
	$c $s.c && $l -o $s $s.$o 
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].