> % 6c example_gc.c
> example_gc.c:14 6c: No such file or directory: runtime.h
>
> Am I missing something? - it's throwing: example_gc.c:14 6c: No such
> file or directory: runtime.h
You probably need to set GOROOT in the environment. 6g has gotten smart
enough that it remembers GOROOT from when you compiled, but I don't
think that is true for 6c.
Ian
You need to pass a -I option so that 6c can find runtime.h.
Typically this is -I ${GOROOT}/pkg/${GOOS}_${GOARCH}.
Russ
> I have the following already set:
Hmmm, perhaps you do need the explicit -I option after all for 6c. It
would be -I $${GOROOT}/pkg/$${GOOS}_$${GOARCH}.
For 64bit you also currently need -D_64BIT with 6c.
I plan to get back to this after my current set of fires.
Ian