I don't think you need pcc for this anymore. You should be able to write ...
13 years, 2 months ago
(2012-02-04 04:41:12 UTC)
#3
I don't think you need pcc for this anymore.
You should be able to write a single plan9.c
that is separate from unix.c (does not depend
on linking unix.c in too), and plan9.c just has
to include stdio.h.
I think that will be easier than trying to balance
plan9 customizations in unix.c. The point
of having the single os-specific file is to have
a single os-specific file.
http://codereview.appspot.com/5608059/diff/3/src/cmd/dist/a.h
File src/cmd/dist/a.h (right):
http://codereview.appspot.com/5608059/diff/3/src/cmd/dist/a.h#newcode13
src/cmd/dist/a.h:13: #define USED(x) if(x){}else{}
Delete. The compiler knows what USED means.
On Feb 3, 2012 10:38 PM, <ality@pbrane.org> wrote: > > It silences a warning from ...
13 years, 1 month ago
(2012-02-04 19:29:57 UTC)
#9
On Feb 3, 2012 10:38 PM, <ality@pbrane.org> wrote:
>
> It silences a warning from the Plan 9 compiler,
> "empty if body".
I know you are working with an existing compiler, but that is a silly
warning. There is nothing wrong with an empty if body if the next token is
"else".
Ian
looks good but for the include question http://codereview.appspot.com/5608059/diff/24002/src/cmd/dist/build.c File src/cmd/dist/build.c (right): http://codereview.appspot.com/5608059/diff/24002/src/cmd/dist/build.c#newcode864 src/cmd/dist/build.c:864: vadd(&compile, bpathf(&b, ...
12 years, 11 months ago
(2012-04-25 02:40:34 UTC)
#14
Issue 5608059: code review 5608059: build: dist-based build for Plan 9
(Closed)
Created 13 years, 2 months ago by ality
Modified 12 years, 11 months ago
Reviewers:
Base URL:
Comments: 44