From MAILER-DAEMON Wed May 03 09:31:53 2006 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FbHSL-0003VT-Qj for mharc-gm2@gnu.org; Wed, 03 May 2006 09:31:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FbHSK-0003VO-RW for gm2@nongnu.org; Wed, 03 May 2006 09:31:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FbHSI-0003Ur-17 for gm2@nongnu.org; Wed, 03 May 2006 09:31:51 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbHSH-0003Uo-RM for gm2@nongnu.org; Wed, 03 May 2006 09:31:49 -0400 Received: from [203.176.60.254] (helo=nasc-out-2.nasc.inter.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FbHSf-0006Ov-Q6 for gm2@nongnu.org; Wed, 03 May 2006 09:32:13 -0400 Received: from 1cust177.tnt12.dial.tor2.uunet.ca ([66.48.181.177]) by app1.nasc.inter.net with esmtp (Exim 3.36 #2) id 1FbHSC-0005Ly-00 for gm2@nongnu.org; Wed, 03 May 2006 09:31:44 -0400 Message-ID: <4458A44C.40200@ca.inter.net> Date: Wed, 03 May 2006 08:38:36 -0400 From: john o goyo User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gnu modula-2 References: <445105D9.9010305@ca.inter.net> <87hd4e839h.fsf@glam.ac.uk> In-Reply-To: <87hd4e839h.fsf@glam.ac.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Gm2] Problem on HP-UX (BIS) X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 13:31:53 -0000 Greetings: Gaius Mulley wrote: [...] > > Hi John, > > thanks for the report. I think I'd try editing TimeIO.mod in function > 'NextSy' and commenting out various lines until you can make the > compile work and then fail by the addition of a line or construct. > The function is 8 lines so shouldn't take too long. You might > want to change the parameter from VAR to a non var parameter - don't > worry about the runtime effects (!). I suspect its something to do > with nested procedure and var parameter and sets. Trial and error yielded the following. ============================================= MODULE hpuxProblem; (*** Compiling this module with xgm2 produces the following result. ../../../src/gcc-3.3.2-gm2/gcc/gm2/ulm-lib-gm2/std/hpuxProblem.mod: In function `_M2_hpuxProblem_init': ../../../src/gcc-3.3.2-gm2/gcc/gm2/ulm-lib-gm2/std/hpuxProblem.mod:14: error: unrecognizable insn: (insn 19 18 20 0 00000000 (set (zero_extract:SI (reg:SI 97) (const_int 32 [0x20]) (const_int 0 [0x0])) (const_int 1 [0x1])) -1 (nil) (nil)) ../../../src/gcc-3.3.2-gm2/gcc/gm2/ulm-lib-gm2/std/hpuxProblem.mod:14: internal compiler error: in extra ct_insn, at recog.c:2175 Please report this crash to the GNU Modula-2 mailing list ***) TYPE CharSet = SET OF CHAR; VAR charset :CharSet; BEGIN charset := CharSet{ 0C }; END hpuxProblem. ============================================= Gm2 does not seem to support the -ba option of gcc so I am unsure how to proceed. (Incidentally, the build succeeds without the offending code but there are problems building gm2.paranoid. Reports to follow.) Sincerely, john > > regards, > Gaius > From MAILER-DAEMON Thu May 11 08:00:33 2006 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Fe9qL-0004aP-5f for mharc-gm2@gnu.org; Thu, 11 May 2006 08:00:33 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fe9qJ-0004ZT-8x for gm2@nongnu.org; Thu, 11 May 2006 08:00:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fe9qG-0004Xi-OX for gm2@nongnu.org; Thu, 11 May 2006 08:00:30 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fe9qG-0004XW-J7 for gm2@nongnu.org; Thu, 11 May 2006 08:00:28 -0400 Received: from [193.63.147.97] (helo=jess.glam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fe9rl-0007DY-IW for gm2@nongnu.org; Thu, 11 May 2006 08:02:01 -0400 Received: from mailserv1.isd.glam.ac.uk ([192.168.244.1]) by jess.glam.ac.uk with esmtp (Exim 3.35 #1) id 1Fe9gg-0003qA-00 for gm2@nongnu.org; Thu, 11 May 2006 12:50:34 +0100 Received: from floppsie ([193.63.148.84]) by MAILSERV1.isd.glam.ac.uk with Microsoft SMTPSVC(6.0.3790.1830); Thu, 11 May 2006 13:00:26 +0100 Received: from gaius by floppsie with local (Exim 4.61) (envelope-from ) id 1Fe9cF-00088F-4c for gm2@nongnu.org; Thu, 11 May 2006 12:45:59 +0100 To: gm2@nongnu.org From: Gaius Mulley Date: 11 May 2006 12:45:59 +0100 Message-ID: <87r730ss20.fsf@glam.ac.uk> Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 11 May 2006 12:00:26.0495 (UTC) FILETIME=[7D9C70F0:01C674F2] Subject: [Gm2] Modula-2 news X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 12:00:31 -0000 Hi, As there has been little traffic on the mailing list I thought I'd outline a few items of Modula-2 news and areas currently being worked upon. I'm currently deep in the middle of bringing the GM2 front end up to gcc-4.1.0. I'd like to pursue pushing into the GCC mainline tree (although this could be some way off.. read much work :-). Another motivation for bringing GM2 upto gcc-4.1.0 is so that GM2 can target the AVR embedded microprocessors - an area where Modula-2 should excel imho.. Also the Modula-2 language patches for gdb have been overhauled and are about to be applied to the mainline gdb cvs tree which should reduce the inconvenience of maintaining patches relative to gdb versions etc. Finally, is anyone going to the GCC developers conference in Ottawa? regards, Gaius From MAILER-DAEMON Thu May 11 20:17:44 2006 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FeLLj-0001j8-U5 for mharc-gm2@gnu.org; Thu, 11 May 2006 20:17:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FeLLi-0001j2-HU for gm2@nongnu.org; Thu, 11 May 2006 20:17:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FeLLg-0001iq-02 for gm2@nongnu.org; Thu, 11 May 2006 20:17:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeLLf-0001in-RZ for gm2@nongnu.org; Thu, 11 May 2006 20:17:39 -0400 Received: from [206.46.252.42] (helo=vms042pub.verizon.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FeLNI-00066f-Ay for gm2@nongnu.org; Thu, 11 May 2006 20:19:20 -0400 Received: from [192.168.1.100] ([141.156.178.77]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IZ4009HTM5DDE01@vms042.mailsrvcs.net> for gm2@nongnu.org; Thu, 11 May 2006 19:17:38 -0500 (CDT) Date: Thu, 11 May 2006 20:17:36 -0400 From: Ed Smith-Rowland <3dw4rd@verizon.net> Subject: Re: [Gm2] Modula-2 news In-reply-to: <87r730ss20.fsf@glam.ac.uk> To: Gaius Mulley Message-id: <4463D420.2000906@verizon.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <87r730ss20.fsf@glam.ac.uk> User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) Cc: gm2@nongnu.org X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 00:17:42 -0000 Gaius Mulley wrote: > Hi, > > As there has been little traffic on the mailing list I thought I'd > outline a few items of Modula-2 news and areas currently being worked > upon. I'm currently deep in the middle of bringing the GM2 front end > up to gcc-4.1.0. I'd like to pursue pushing into the GCC mainline tree > (although this could be some way off.. read much work :-). > > Another motivation for bringing GM2 upto gcc-4.1.0 is so that GM2 > can target the AVR embedded microprocessors - an area where Modula-2 > should excel imho.. > > Also the Modula-2 language patches for gdb have been overhauled and > are about to be applied to the mainline gdb cvs tree which should > reduce the inconvenience of maintaining patches relative to gdb > versions etc. > > Finally, is anyone going to the GCC developers conference in Ottawa? > > regards, > Gaius > > > _______________________________________________ > Gm2 mailing list > Gm2@nongnu.org > http://lists.nongnu.org/mailman/listinfo/gm2 > > I was wondering about the move to gcc-4.1. I noticed that Waldeck Hebisch and others got GNU Pascal to work under gcc-4.0 and gcc-4.1. If it isn't already too late it might be a good idea to talk to them. I was going to ask but work flared up and I know next to nothing about gcc internals. Merging Modula2 would have been a great way to learn though. ;-) Ed From MAILER-DAEMON Fri May 12 05:35:27 2006 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FeU3T-0004P2-JW for mharc-gm2@gnu.org; Fri, 12 May 2006 05:35:27 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FeU3R-0004Ob-NP for gm2@nongnu.org; Fri, 12 May 2006 05:35:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FeU3P-0004Nm-FZ for gm2@nongnu.org; Fri, 12 May 2006 05:35:24 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeU3P-0004Nj-B6 for gm2@nongnu.org; Fri, 12 May 2006 05:35:23 -0400 Received: from [193.63.147.97] (helo=jess.glam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FeU57-0000Xy-08 for gm2@nongnu.org; Fri, 12 May 2006 05:37:09 -0400 Received: from mailserv1.isd.glam.ac.uk ([192.168.244.1]) by jess.glam.ac.uk with esmtp (Exim 3.35 #1) id 1FeTtm-0006ps-01; Fri, 12 May 2006 10:25:26 +0100 Received: from floppsie ([193.63.148.84]) by MAILSERV1.isd.glam.ac.uk with Microsoft SMTPSVC(6.0.3790.1830); Fri, 12 May 2006 10:34:50 +0100 Received: from gaius by floppsie with local (Exim 4.61) (envelope-from ) id 1FeTok-0000VW-Q8; Fri, 12 May 2006 10:20:14 +0100 To: Ed Smith-Rowland <3dw4rd@verizon.net> Subject: Re: [Gm2] Modula-2 news References: <87r730ss20.fsf@glam.ac.uk> <4463D420.2000906@verizon.net> From: Gaius Mulley Date: 12 May 2006 10:20:14 +0100 In-Reply-To: <4463D420.2000906@verizon.net> Message-ID: <87k68rd2gh.fsf@glam.ac.uk> Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 12 May 2006 09:34:50.0917 (UTC) FILETIME=[5136C550:01C675A7] Cc: gm2@nongnu.org X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 09:35:26 -0000 Ed Smith-Rowland <3dw4rd@verizon.net> writes: Hi, > I noticed that Waldeck Hebisch and others got GNU Pascal to work under > gcc-4.0 and gcc-4.1. ahh, I hadn't noticed this, thanks. Last time I looked GNU Pascal was using gcc-3.4. This will be extremely useful and they will have had to solve the loss of SET_TYPE data type as a base back end data type. I suspect they may have solved it via gimple.. and this could be really useful for GM2.. > If it isn't already too late it might be a good idea to talk to them. > I was going to ask but work flared up and I know next to nothing about > gcc internals. Merging Modula2 would have been a great way to learn > though. ;-) very true! I'd welcome any help.. :-) regards, Gaius From MAILER-DAEMON Tue May 16 16:48:01 2006 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Fg6SX-00079W-5B for mharc-gm2@gnu.org; Tue, 16 May 2006 16:48:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fg6SW-00079F-5d for gm2@nongnu.org; Tue, 16 May 2006 16:48:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fg6SS-00078V-FZ for gm2@nongnu.org; Tue, 16 May 2006 16:47:59 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fg6SS-00078S-AE for gm2@nongnu.org; Tue, 16 May 2006 16:47:56 -0400 Received: from [203.176.60.254] (helo=nasc-out-2.nasc.inter.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fg6VA-0001ec-LD for gm2@nongnu.org; Tue, 16 May 2006 16:50:44 -0400 Received: from 1cust14.tnt12.dial.tor2.uunet.ca ([66.48.181.14]) by app2.nasc.inter.net with esmtp (Exim 3.36 #2) id 1Fg6SQ-0002gX-00 for gm2@nongnu.org; Tue, 16 May 2006 16:47:55 -0400 Message-ID: <446A2DF7.1090002@ca.inter.net> Date: Tue, 16 May 2006 15:54:31 -0400 From: john o goyo User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gnu modula-2 References: <87r730ss20.fsf@glam.ac.uk> In-Reply-To: <87r730ss20.fsf@glam.ac.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Gm2] Re: Modula-2 news X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 20:48:00 -0000 Greetings: Gaius Mulley wrote: > Hi, > > As there has been little traffic on the mailing list I thought I'd > outline a few items of Modula-2 news and areas currently being worked > upon. I'm currently deep in the middle of bringing the GM2 front end > up to gcc-4.1.0. I'd like to pursue pushing into the GCC mainline tree > (although this could be some way off.. read much work :-). How would this effect the boot-strapping p2c? > > Another motivation for bringing GM2 upto gcc-4.1.0 is so that GM2 > can target the AVR embedded microprocessors - an area where Modula-2 > should excel imho.. Your worthy opinion reminds of where I first read about Modula-2. The old Byte magazine had a hardware column called "Ciarcia's Circuit Cellar" written by Steve Ciarcia. One project dealt with building a wee computer with a microprocessor -- the 8051, I believe -- and he positively gushed about a new language that he just learned about, namely Modula-2. He cross-compiled the code on a CP/M box with Turbo Modula-2 and moved it over. (Well, he may used dual-ported RAM -- I cannot really remember.) He was quite happy with the results. Sincerely, john > > Also the Modula-2 language patches for gdb have been overhauled and > are about to be applied to the mainline gdb cvs tree which should > reduce the inconvenience of maintaining patches relative to gdb > versions etc. > > Finally, is anyone going to the GCC developers conference in Ottawa? > > regards, > Gaius > From MAILER-DAEMON Tue May 16 17:45:17 2006 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Fg7Lx-0002pg-DO for mharc-gm2@gnu.org; Tue, 16 May 2006 17:45:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fg7Lv-0002pN-J3 for gm2@nongnu.org; Tue, 16 May 2006 17:45:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fg7Lu-0002os-8j for gm2@nongnu.org; Tue, 16 May 2006 17:45:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fg7Lu-0002oj-1g for gm2@nongnu.org; Tue, 16 May 2006 17:45:14 -0400 Received: from [193.63.147.97] (helo=jess.glam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fg7Oc-0006Ug-QT for gm2@nongnu.org; Tue, 16 May 2006 17:48:03 -0400 Received: from mailserv3.isd.glam.ac.uk ([192.168.244.3]) by jess.glam.ac.uk with esmtp (Exim 3.35 #1) id 1Fg7CI-0005XX-00; Tue, 16 May 2006 22:35:18 +0100 Received: from MAILSERV1.isd.glam.ac.uk ([192.168.244.1]) by mailserv3.isd.glam.ac.uk with Microsoft SMTPSVC(6.0.3790.1830); Tue, 16 May 2006 22:46:43 +0100 Received: from floppsie ([193.63.148.84]) by MAILSERV1.isd.glam.ac.uk with Microsoft SMTPSVC(6.0.3790.1830); Tue, 16 May 2006 22:45:11 +0100 Received: from gaius by floppsie with local (Exim 4.61) (envelope-from ) id 1Fg76z-0001B8-Os; Tue, 16 May 2006 22:29:49 +0100 To: john o goyo Subject: Re: [Gm2] Re: Modula-2 news References: <87r730ss20.fsf@glam.ac.uk> <446A2DF7.1090002@ca.inter.net> From: Gaius Mulley Date: 16 May 2006 22:29:49 +0100 In-Reply-To: <446A2DF7.1090002@ca.inter.net> Message-ID: <87wtclslo2.fsf@glam.ac.uk> Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 16 May 2006 21:45:11.0270 (UTC) FILETIME=[01D50060:01C67932] Cc: gnu modula-2 X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 21:45:15 -0000 john o goyo writes: > Greetings: > > Gaius Mulley wrote: > > Hi, > > As there has been little traffic on the mailing list I thought I'd > > outline a few items of Modula-2 news and areas currently being worked > > upon. I'm currently deep in the middle of bringing the GM2 front end > > up to gcc-4.1.0. I'd like to pursue pushing into the GCC mainline tree > > (although this could be some way off.. read much work :-). > > How would this effect the boot-strapping p2c? Hi John, I'm not altogether sure. Two major options I think: either p2c can be integrated into the gcc tree (just like the current situation with gm2) - this is my preferred solution. Or alternatively, if the GCC maintainers insist, p2c could be removed and the translated C sources checked in to the tree and the build process modified so that these C sources are compiled into a PIM compiler which compile the M2 sources into the final gm2. But p2c is held under the GPL and has been accepted in the savannah registration process so hopefully it can remain.. but it rather hinges on whether the p2c copyright was actually assigned to the FSF.. > > Another motivation for bringing GM2 upto gcc-4.1.0 is so that GM2 > > can target the AVR embedded microprocessors - an area where Modula-2 > > should excel imho.. > > Your worthy opinion reminds of where I first read about Modula-2. The > old Byte magazine had a hardware column called "Ciarcia's Circuit > Cellar" written by Steve Ciarcia. One project dealt with building a > wee computer with a microprocessor -- the 8051, I believe -- and he > positively gushed about a new language that he just learned about, > namely Modula-2. He cross-compiled the code on a CP/M box with Turbo > Modula-2 and moved it over. (Well, he may used dual-ported RAM -- I > cannot really remember.) He was quite happy with the results. the AVRs look quite fun.. some of the least expensive have really low flash and ram (Kbytes) - M2/C should be fine, some of the larger languages would struggle to fit in such a small space, I think.. I guess it needs someone to translate many of the libc avr library includes (also on savannah) into Modula-2 definition modules.. but thats for someone else to do :-), or alternatively fix h2def :-) regards, Gaius From MAILER-DAEMON Wed May 17 12:16:57 2006 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FgOhk-0007oG-Uj for mharc-gm2@gnu.org; Wed, 17 May 2006 12:16:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FgOhj-0007o2-Mm for gm2@nongnu.org; Wed, 17 May 2006 12:16:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FgOhh-0007nN-7y for gm2@nongnu.org; Wed, 17 May 2006 12:16:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgOhh-0007nF-5G for gm2@nongnu.org; Wed, 17 May 2006 12:16:53 -0400 Received: from [203.176.60.254] (helo=nasc-out-2.nasc.inter.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FgL8O-0002NV-Rl for gm2@nongnu.org; Wed, 17 May 2006 08:28:14 -0400 Received: from 1cust163.tnt12.dial.tor2.uunet.ca ([66.48.181.163]) by app1.nasc.inter.net with esmtp (Exim 3.36 #2) id 1FgL5P-0003x0-00 for gm2@nongnu.org; Wed, 17 May 2006 08:25:07 -0400 Message-ID: <446B09C4.1040306@ca.inter.net> Date: Wed, 17 May 2006 07:32:20 -0400 From: john o goyo User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gnu modula-2 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Gm2] Report on GM2 0.51 on sparc*-sun-solaris2.10 X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 16:16:56 -0000 Greetings: I report belated successful results with GM2 Rev. 0.51 on sparcv9-sun-solaris2.10 (equivalent to sparc64-sun-solaris2.10) and sparc-sun-solaris2.10. Everything passes save the usual address arithmetic on the i32lp64 version. Sincerely, john From MAILER-DAEMON Wed May 17 18:05:22 2006 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FgU8v-0005aV-Vj for mharc-gm2@gnu.org; Wed, 17 May 2006 18:05:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FgU8u-0005aC-H2 for gm2@nongnu.org; Wed, 17 May 2006 18:05:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FgU8q-0005Zs-Ab for gm2@nongnu.org; Wed, 17 May 2006 18:05:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgU8q-0005Zp-85 for gm2@nongnu.org; Wed, 17 May 2006 18:05:16 -0400 Received: from [156.17.86.1] (helo=hera.math.uni.wroc.pl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FgUBm-0002ep-W7 for gm2@nongnu.org; Wed, 17 May 2006 18:08:19 -0400 Received: from hebisch by hera.math.uni.wroc.pl with local (Exim 3.36 #1 (Debian)) id 1FgU7y-0003V6-00 for ; Thu, 18 May 2006 00:04:22 +0200 Subject: Re: [Gm2] Modula-2 news In-Reply-To: <87k68rd2gh.fsf@glam.ac.uk> To: gm2@nongnu.org Date: Thu, 18 May 2006 00:04:22 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL100 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: From: Waldek Hebisch X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 22:05:20 -0000 Gaius Mulley wrote: > Ed Smith-Rowland <3dw4rd@verizon.net> writes: > > Hi, > > > I noticed that Waldeck Hebisch and others got GNU Pascal to work under > > gcc-4.0 and gcc-4.1. > > ahh, I hadn't noticed this, thanks. Last time I looked GNU Pascal was > using gcc-3.4. This will be extremely useful and they will have had to > solve the loss of SET_TYPE data type as a base back end data type. > I suspect they may have solved it via gimple.. and this could be > really useful for GM2.. > I have just re-added the code that backend folks removed. I had to expand set constructors in a gimpilifier hook. For 4.1 port I also added another hook which expands set constructors initializing global variables (gimplifier hook only sees expression inside functions). IIRC the rest of set code in the backend just worked. Note that GNU Pascal expands all set operations into calls to the runtime library, so most of the backend just have to pass trough set type. Non-trivial part is emitting debug info, handling set constructors (done via hooks), layout_type and some type dependent tweaks to calling conventions. > > If it isn't already too late it might be a good idea to talk to them. > > I was going to ask but work flared up and I know next to nothing about > > gcc internals. Merging Modula2 would have been a great way to learn > > though. ;-) > > very true! I'd welcome any help.. :-) > You may look at `plant.[ch]' files in recent GNU Pascal. The files together are less then 600 lines and encapsulate most of GIMPLE specific stuff. The idea is that you replace `expand_something' by `plant_something'. The plant_something variant remembers all trees passed as arguments and builds tree representation of the whole function. -- Waldek Hebisch hebisch@math.uni.wroc.pl From MAILER-DAEMON Mon May 22 06:17:17 2006 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Fi7TR-0000Kh-EG for mharc-gm2@gnu.org; Mon, 22 May 2006 06:17:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fi7TP-0000KM-SO for gm2@nongnu.org; Mon, 22 May 2006 06:17:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fi7TO-0000K9-DN for gm2@nongnu.org; Mon, 22 May 2006 06:17:15 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fi7TO-0000K6-9m for gm2@nongnu.org; Mon, 22 May 2006 06:17:14 -0400 Received: from [193.63.147.97] (helo=jess.glam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fi7XM-0002jI-9i for gm2@nongnu.org; Mon, 22 May 2006 06:21:20 -0400 Received: from mailserv1.isd.glam.ac.uk ([192.168.244.1]) by jess.glam.ac.uk with esmtp (Exim 3.35 #1) id 1Fi7Jl-000219-00; Mon, 22 May 2006 11:07:17 +0100 Received: from floppsie ([193.63.148.84]) by MAILSERV1.isd.glam.ac.uk with Microsoft SMTPSVC(6.0.3790.1830); Mon, 22 May 2006 11:17:08 +0100 Received: from gaius by floppsie with local (Exim 4.61) (envelope-from ) id 1Fi7DW-00046G-Uq; Mon, 22 May 2006 11:00:50 +0100 To: Waldek Hebisch Subject: Re: [Gm2] Modula-2 news References: From: Gaius Mulley Date: 22 May 2006 11:00:50 +0100 In-Reply-To: Message-ID: <873bf22xbh.fsf@glam.ac.uk> Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 22 May 2006 10:17:08.0176 (UTC) FILETIME=[E1AB4500:01C67D88] Cc: gm2@nongnu.org X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 10:17:16 -0000 Waldek Hebisch writes: > I have just re-added the code that backend folks removed. I had to expand > set constructors in a gimpilifier hook. For 4.1 port I also added another > hook which expands set constructors initializing global variables > (gimplifier hook only sees expression inside functions). IIRC the rest > of set code in the backend just worked. Note that GNU Pascal expands all > set operations into calls to the runtime library, so most of the backend > just have to pass trough set type. Non-trivial part is emitting debug > info, handling set constructors (done via hooks), layout_type and > some type dependent tweaks to calling conventions. Hi Waldek, > > You may look at `plant.[ch]' files in recent GNU Pascal. The files > together are less then 600 lines and encapsulate most of GIMPLE specific > stuff. The idea is that you replace `expand_something' by `plant_something'. > The plant_something variant remembers all trees passed as arguments and > builds tree representation of the whole function. > thanks for the email - could you give me a url to download the gpc source? I've downloaded gpc-20050331.tar.bz2 but I suspect this is too old.. as there is no plant.[ch] there. Is there a cvs tar ball maybe? regards, Gaius From MAILER-DAEMON Mon May 22 06:52:13 2006 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Fi81F-0004cA-1o for mharc-gm2@gnu.org; Mon, 22 May 2006 06:52:13 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fi81C-0004bc-Ly for gm2@nongnu.org; Mon, 22 May 2006 06:52:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fi81A-0004at-M7 for gm2@nongnu.org; Mon, 22 May 2006 06:52:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fi81A-0004ap-FU for gm2@nongnu.org; Mon, 22 May 2006 06:52:08 -0400 Received: from [156.17.86.1] (helo=hera.math.uni.wroc.pl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fi858-0005Wr-KD for gm2@nongnu.org; Mon, 22 May 2006 06:56:14 -0400 Received: from hebisch by hera.math.uni.wroc.pl with local (Exim 3.36 #1 (Debian)) id 1Fi80C-0008Hv-00 for ; Mon, 22 May 2006 12:51:08 +0200 Subject: Re: [Gm2] Modula-2 news In-Reply-To: <873bf22xbh.fsf@glam.ac.uk> To: gm2@nongnu.org Date: Mon, 22 May 2006 12:51:08 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL100 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: From: Waldek Hebisch X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 10:52:11 -0000 Gaius Mulley wrote: > Waldek Hebisch writes: > > > > > You may look at `plant.[ch]' files in recent GNU Pascal. The files > > together are less then 600 lines and encapsulate most of GIMPLE specific > > stuff. The idea is that you replace `expand_something' by `plant_something'. > > The plant_something variant remembers all trees passed as arguments and > > builds tree representation of the whole function. > > > > > thanks for the email - could you give me a url to download the gpc > source? I've downloaded gpc-20050331.tar.bz2 but I suspect this is > too old.. as there is no plant.[ch] there. Is there a cvs tar ball > maybe? > Yes, gpc-20050331 is too old. Get: http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20060325.tar.bz2 and http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-4.1-4.diff.gz http://www.math.uni.wroc.pl/~hebisch/gpc/gcc-4.1-4.diff.gz (4.0 support appeared first in gpc-20060325 tarball, earlier was in separate patches, 4.1 support is still in patches). -- Waldek Hebisch hebisch@math.uni.wroc.pl From MAILER-DAEMON Mon May 22 06:58:40 2006 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Fi87U-0006LR-CZ for mharc-gm2@gnu.org; Mon, 22 May 2006 06:58:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fi87S-0006Km-Sz for gm2@nongnu.org; Mon, 22 May 2006 06:58:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fi87Q-0006KN-EI for gm2@nongnu.org; Mon, 22 May 2006 06:58:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fi87Q-0006KK-8a for gm2@nongnu.org; Mon, 22 May 2006 06:58:36 -0400 Received: from [193.63.147.97] (helo=jess.glam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fi8BO-0006Hu-F1 for gm2@nongnu.org; Mon, 22 May 2006 07:02:42 -0400 Received: from mailserv1.isd.glam.ac.uk ([192.168.244.1]) by jess.glam.ac.uk with esmtp (Exim 3.35 #1) id 1Fi7xm-0002YM-01; Mon, 22 May 2006 11:48:38 +0100 Received: from floppsie ([193.63.148.84]) by MAILSERV1.isd.glam.ac.uk with Microsoft SMTPSVC(6.0.3790.1830); Mon, 22 May 2006 11:58:21 +0100 Received: from gaius by floppsie with local (Exim 4.61) (envelope-from ) id 1Fi7rQ-00048k-3O; Mon, 22 May 2006 11:42:04 +0100 To: Waldek Hebisch Subject: Re: [Gm2] Modula-2 news References: From: Gaius Mulley Date: 22 May 2006 11:42:04 +0100 In-Reply-To: Message-ID: <87psi6ibnn.fsf@glam.ac.uk> Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 22 May 2006 10:58:21.0581 (UTC) FILETIME=[A3EEEBD0:01C67D8E] Cc: gm2@nongnu.org X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 10:58:39 -0000 Waldek Hebisch writes: > Yes, gpc-20050331 is too old. Get: > > http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20060325.tar.bz2 > > and > > http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-4.1-4.diff.gz > http://www.math.uni.wroc.pl/~hebisch/gpc/gcc-4.1-4.diff.gz > > (4.0 support appeared first in gpc-20060325 tarball, earlier was in > separate patches, 4.1 support is still in patches). Hi Waldek, many thanks for such a quick reply! regards, Gaius From MAILER-DAEMON Mon May 22 16:55:49 2006 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FiHRN-0005LQ-Hx for mharc-gm2@gnu.org; Mon, 22 May 2006 16:55:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FiHRL-0005LJ-Qv for gm2@nongnu.org; Mon, 22 May 2006 16:55:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FiHRJ-0005L6-SL for gm2@nongnu.org; Mon, 22 May 2006 16:55:47 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FiHRJ-0005L3-My for gm2@nongnu.org; Mon, 22 May 2006 16:55:45 -0400 Received: from [193.63.147.97] (helo=jess.glam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FiHVN-00070E-Lj for gm2@nongnu.org; Mon, 22 May 2006 16:59:57 -0400 Received: from mailserv1.isd.glam.ac.uk ([192.168.244.1]) by jess.glam.ac.uk with esmtp (Exim 3.35 #1) id 1FiHHh-00013r-00; Mon, 22 May 2006 21:45:49 +0100 Received: from floppsie ([193.63.148.84]) by MAILSERV1.isd.glam.ac.uk with Microsoft SMTPSVC(6.0.3790.1830); Mon, 22 May 2006 21:45:47 +0100 Received: from gaius by floppsie with local (Exim 4.61) (envelope-from ) id 1FiH1q-00055V-6H; Mon, 22 May 2006 21:29:26 +0100 To: john o goyo Subject: Re: [Gm2] Report on GM2 0.51 on sparc*-sun-solaris2.10 References: <446B09C4.1040306@ca.inter.net> From: Gaius Mulley Date: 22 May 2006 21:29:26 +0100 In-Reply-To: <446B09C4.1040306@ca.inter.net> Message-ID: <871wulreft.fsf@glam.ac.uk> Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 22 May 2006 20:45:47.0882 (UTC) FILETIME=[B45DA4A0:01C67DE0] Cc: gnu modula-2 X-BeenThere: gm2@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNU Modula-2 development and user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 20:55:48 -0000 john o goyo writes: > Greetings: > > I report belated successful results with GM2 Rev. 0.51 on > sparcv9-sun-solaris2.10 (equivalent to sparc64-sun-solaris2.10) and > sparc-sun-solaris2.10. Everything passes save the usual address > arithmetic on the i32lp64 version. Hi John, many thanks for the report - I'll add it to the webpage, regards, Gaius