From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7513c032d88fa1de X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!y43g2000cwc.googlegroups.com!not-for-mail From: "Lance" Newsgroups: comp.lang.ada Subject: Re: c2ada Date: 3 Jun 2006 21:59:34 -0700 Organization: http://groups.google.com Message-ID: <1149397174.731660.52120@y43g2000cwc.googlegroups.com> References: <1149226465.148165.303800@h76g2000cwa.googlegroups.com> NNTP-Posting-Host: 65.101.59.24 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1149397180 3257 127.0.0.1 (4 Jun 2006 04:59:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 4 Jun 2006 04:59:40 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418 (KHTML, like Gecko) Safari/417.9.3,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: y43g2000cwc.googlegroups.com; posting-host=65.101.59.24; posting-account=Ax24hA0AAABV39UFqUVhb0kauOuAbI3T Xref: g2news2.google.com comp.lang.ada:4671 Date: 2006-06-03T21:59:34-07:00 List-Id: Nasser Abbasi wrote: > "Lance" wrote in message > news:1149226465.148165.303800@h76g2000cwa.googlegroups.com... > > Has anyone used c2ada recently? I've found (mentioned in this group's > > archives) this link: > > > > http://12000.org/my_notes/ada/#_Toc106481150 > > > > and it seems to be a substantial piece of work, but it won't compile on > > OS X 10.4.6 and I'm having negative fun trying to fix the C source (I > > don't know much about C). > > > > Jerry > > > > hi; > > When I did the above 'port' it was few years ago to red hat linux. > > I have not visited this since then. I really need to try to build this > again on new linux systems when I have some time. I do not have access to OS > X to try it. > > It might be just a matter of making some changes to the Makefile, or small > tweek of the header files. without knowing what errors you are getting, hard > to know. > > If you do manage to port it to OS X, I can post it on my web page above with > credit to you for porting it. > > Nasser I could give a few more details but one of the main problems was apparently every occurrence of _bool. The compiler didn't like it at all. (Note the underline at the beginning.) I just started commenting it out whenever it popped up, to help the compiler get over the immediate problem, but I didn't think that was a very robust solution. There were a couple of other things that seemed fairly minor as well. But I wasn't at all sure that my commenting-out exercise would work when it was all done, and all I needed was to make a thin binding (to PLplot) and it seemed more direct to learn a bit of regex and do the rest by hand. Also, there seemed to be two or three lines at the beginning of gperf-related file which caused gperf to choke, but deleting them seemed to solve that problem. If I return to the project I'll post back here, or I can fill you in on some more details of what I did a couple days ago. Like I mentioned in my first post, it is a substantial piece of work and it would be a shame to have it wither away. I understand the company that was was responsible for creating it was purchased several years ago. Jerry