-
I see, I guess I just didn't set the makefiles right. Never really did well with makefiles under Windows. I got it running fine under Interix, so it's all good.
I guess I was suggesting a Windows binary.
2009-08-24 03:50:20 UTC by kameo76890
-
I don't understand.
To my knowledge, the program runs as well on Windows as it does on any other OS.
What would "Windows Support" do?
--S.
2009-08-23 16:24:11 UTC by simonjwright
-
How possible would it be for this tool to support Windows?.
2009-08-22 19:12:27 UTC by kameo76890
-
Hi,
I followed the page below to build C2Ada on my ubuntu, and it successfully generated the executable c2ada file.
http://12000.org/my_notes/ada/c2ada_port/index.htm
Then I continued to follow the section "How to run it" in the page, and tried to translate the sample foo.c, but I failed in a syntax error:
/usr/include/_G_config.h, line 53, Error: syntax error
G_config...
2009-03-29 23:17:40 UTC by renxu
-
You should use the portability branch (must merge it back into trunk!)
This problem happens when PYTHONPATH isn't set up; the fix was to symset.c at revision 15.
PYTHONPATH needs to include the directory where the c2ada Python source files are to be found (eg, the build directory). Note, the portability branch Makefile picks up my build directory by default, not so clever...
2009-01-14 20:45:50 UTC by simonjwright
-
The portability branch in SVN builds on MAC OS X. At the moment it's set up for Python 2.3 (XCode 2.2.1); change the script setup to set PYTHON_VER to python2.5 for Leopard/XCode 3.
2009-01-14 20:35:42 UTC by simonjwright
-
Makefile settings:
GPERF = /usr/bin/gperf
PYTHON = /usr/lib/python2.5
PYTHON_LIB = python2.5
PYTHON_INCLUDE = /usr/include/python2.5
HERE = /home/keean/c2ada/trunk
Compiles fine, with some warnings about tempnam and tmpnam_r being dangerous.
However running c2ada produces the following error:
c2ada: symset.c:53: symset_init: Assertion `pymod_Symbol'...
2009-01-14 11:41:20 UTC by keean
-
Now uses C2ADA_PYTHONPATH or builtin default.
2008-01-08 22:16:56 UTC by simonjwright
-
(Posted by dirk_dickmanns in a response to 1797851)
The following patch removes superfluous pragma Convention (C, "..."); lines (at least GNAT complains otherwise):
--- trunk/gen.c (revision 14)
+++ trunk/gen.c (working copy)
@@ -2674,7 +2674,7 @@
boolean was_to_spec = output_is_spec();
output_to(is_spec);
- putf("%>pragma Convention(C, %s);", 4...
2008-01-08 22:14:23 UTC by simonjwright
-
PYTHONPATH now set properly before initializing Python interpreter.
2008-01-08 22:09:51 UTC by simonjwright