Various projects have worked on 8c to make it generate code for other OSs,
have any of these resulted in code that could generate a very _very_ simple
ELF shared library sutiable for linux?
-Steve
is there such an animal? compiling the current version fails:
screen.c:749: error: ‘Cursor’ undeclared (first use in this function)
screen.c:749: error: (Each undeclared identifier is reported only once
screen.c:749: error: for each function it appears in.)
screen.c:749: error: expected ‘;’ befor
I may suggest that you are still able to compile with CFLAGS like
-isysroot /Developer/SDKs/MacOSX10.6.sdk
Where sdk 10.6 is taken from Xcode 3.x (Xcode 3.x had a set of sdks in
/Developer/SDKs
to distinguish between target osx versions)
Also Xcode4 has this sdk available in:
/Applications/Xcode.
On Wed, 11 Jul 2012 17:15:26 +0100
"Steve Simon" wrote:
> Various projects have worked on 8c to make it generate code for other OSs,
> have any of these resulted in code that could generate a very _very_ simple
> ELF shared library sutiable for linux?
>
> -Steve
>
The 8l in Go can produce ELF
> Thinking it over, I'd rather use the regular Linux toolchain for the
> task. You can still write sensible C for gcc to compile, and I think
we don't know what the task is.
> you'll have a lot less work to do. Besides, it's the approach taken by
> p9p, inferno, and drawterm, it works well for