Extracting native code from C
Andy Stoffel
Andrew.Stoffel at jenzabar.net
Wed Mar 13 17:37:01 UTC 2002
> I would like to find out if this C example works on other platforms.
Does one that currently doesn't have a Squeak port count ?
> Is GNU used/available for most other platforms.
"available" and "useful" have varying degrees of truthness.
> Ie. can we base our portability on GNU-C instead
> of just ANSI-C?
IMHO - Only if the assorted information on porting Squeak
to other platforms includes some instructions on
what to do if gcc isn't available on that platform.
Just for curiosity's sake & FWIW - Your test program doesn't
compile with:
Compaq C V6.4-008 on OpenVMS Alpha V7.3
(It's ANSI compliant)
No surprise.... probably the whole "GNU C goto" thing
you mentioned. So it actually running isn't an issue.
but that could just be my ignorance in setting the appropriate
compiler flags (Though I did try the "Do things the GNU C way"
flag it had no positive results.) since I rarely go near C.
-Andy-
More information about the Squeak-dev
mailing list
|