Date: Mon, 1 Nov 2004 00:04:20 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 434 ************************************************** Sunday 31 October 2004 Number 434 ************************************************** Subjects for today 1 Re: Parrot : Henry Sobotka 2 GNUDIFF : John Poltorak 3 Re: GNUDIFF : Henry Sobotka 4 Removing RO during 'tar -x' : John Poltorak 5 Re: GNUDIFF : John Poltorak 6 Re: Parrot : Alexander Newman 7 Re: Parrot : Alexander Newman 8 Re: Removing RO during 'tar -x' : Thomas Dickey 9 Re: Removing RO during 'tar -x' : Thomas Dickey 10 Re: GNUDIFF : Henry Sobotka 11 Re: Parrot : John Poltorak 12 Re: Parrot : Thomas Dickey 13 Re: GNUDIFF : John Poltorak 14 Re: Parrot : John Poltorak 15 Re: Removing RO during 'tar -x' : John Poltorak **= Email 1 ==========================** Date: Sat, 30 Oct 2004 12:12:53 -0400 From: Henry Sobotka Subject: Re: Parrot John Poltorak wrote: > > Is Parrot a prerequisite for being able to get Perl 6 built? It'll be needed to run Perl 6, which is still being designed and then has to be implemented before it can be built (http://dev.perl.org/perl6/). h~ **= Email 2 ==========================** Date: Sat, 30 Oct 2004 18:02:11 +0100 From: John Poltorak Subject: GNUDIFF The GNUDIFF package:- http://hobbes.nmsu.edu/pub/os2/util/file/gnudiff.zip contains a diff.exe which is 38417 bytes. If I take this package and run make against the supplied makefile the new diff.exe is 313780 bytes - around 10 times as big! Can anyone explain why? I'm using gcc 2.8.1. -- John **= Email 3 ==========================** Date: Sat, 30 Oct 2004 14:09:21 -0400 From: Henry Sobotka Subject: Re: GNUDIFF John Poltorak wrote: > The GNUDIFF package:- > > http://hobbes.nmsu.edu/pub/os2/util/file/gnudiff.zip > > contains a diff.exe which is 38417 bytes. > > If I take this package and run make against the supplied makefile the new > diff.exe is 313780 bytes - around 10 times as big! > > Can anyone explain why? > > I'm using gcc 2.8.1. aout build. Do "make os2-release" and it'll come out 41489 bytes; the extra 3K probably come from differences between gcc 2.7.2 and 2.8.1. h~ **= Email 4 ==========================** Date: Sat, 30 Oct 2004 21:45:35 +0100 From: John Poltorak Subject: Removing RO during 'tar -x' Is there any way of removing RO attributes from files while extracting them from a tar file? -- John **= Email 5 ==========================** Date: Sat, 30 Oct 2004 22:02:14 +0100 From: John Poltorak Subject: Re: GNUDIFF On Sat, Oct 30, 2004 at 02:09:21PM -0400, Henry Sobotka wrote: > John Poltorak wrote: > > The GNUDIFF package:- > > > > http://hobbes.nmsu.edu/pub/os2/util/file/gnudiff.zip > > > > contains a diff.exe which is 38417 bytes. > > > > If I take this package and run make against the supplied makefile the new > > diff.exe is 313780 bytes - around 10 times as big! > > > > Can anyone explain why? > > > > I'm using gcc 2.8.1. > > aout build. Do "make os2-release" and it'll come out 41489 bytes; the > extra 3K probably come from differences between gcc 2.7.2 and 2.8.1. I guess I should have looked at the first line in the Makefile:- default: debug Duh! Having said that, I'm still not to clear how the debug target ends up triggering os2-debug. How make manoevures its way round these dependencies always ties me up in knots. debug dos-debug: config.h $(MAKE) all \ 'CFLAGS=-g -O -Wall' \ LDFLAGS= dos-release: config.h all os2-debug : dos-debug os2-release: config.h $(MAKE) all gnuregex.dll \ 'CFLAGS=-Zomf -Zmt -O2 -Wall' \ 'LDFLAGS=-s -Zcrtdll' \ o=.obj \ REGEX=regex.lib When running 'make os2-release', diff.exe ended up much smaller - in fact it ended up as 38417 - same as the original. > h~ > -- John **= Email 6 ==========================** Date: Sun, 31 Oct 2004 09:04:21 +1100 From: Alexander Newman Subject: Re: Parrot Foot in mouth again - Andy Macintyre is Pythn, not Perl. My apologies to all concerned. Alex. **= Email 7 ==========================** Date: Sun, 31 Oct 2004 09:03:06 +1100 From: Alexander Newman Subject: Re: Parrot >On Fri, Oct 29, 2004 at 11:09:19AM -0400, Henry Sobotka wrote: >> John Poltorak wrote: >> > >> > Anyone know anything about Parrot? >> > >> > See:- >> > >> > http://www.parrotcode.org >> > >> > It's something to do with the upcoming Perl v6 but I'm not exactly >sure >> > what it is for. >> >> It's a new interpreter being developed for Perl 6 (which is still in >the >> design stage) that will also be capable of handling Perl 5 and other >> bytecode-compiled languages (e.g. Java, Python, Ruby etc.). With a >fair >> amount of hairpulling I built 0.0.10 with gcc 3.2.1 in March '03, but >> there were all kinds of problems with the tests that I no longer >recall. >> Biggest headache is that it builds a slew of foo.o and classes/foo.o >> modules, either of which has to be renamed to keep emxomfar from >carping >> about duplicates. > >Is Parrot a prerequisite for being able to get Perl 6 built? > >> h~ I would imagine that Andrew Macintyre (the OS/2 Perl port “owner”) would be working on this (see Perl/2 docs for contact details). Alex. **= Email 8 ==========================** Date: Sat, 30 Oct 2004 19:28:46 -0400 (EDT) From: Thomas Dickey Subject: Re: Removing RO during 'tar -x' On Sat, 30 Oct 2004, John Poltorak wrote: > Is there any way of removing RO attributes from files while extracting > them from a tar file? after extracting, I'd do chmod -R u+x . -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net **= Email 9 ==========================** Date: Sat, 30 Oct 2004 19:28:46 -0400 (EDT) From: Thomas Dickey Subject: Re: Removing RO during 'tar -x' On Sat, 30 Oct 2004, John Poltorak wrote: > Is there any way of removing RO attributes from files while extracting > them from a tar file? after extracting, I'd do chmod -R u+x . -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net **= Email 10 ==========================** Date: Sat, 30 Oct 2004 20:28:54 -0400 From: Henry Sobotka Subject: Re: GNUDIFF John Poltorak wrote: > > Having said that, I'm still not to clear how the debug target ends up > triggering os2-debug. How make manoevures its way round these dependencies > always ties me up in knots. > > debug dos-debug: config.h > $(MAKE) all \ > 'CFLAGS=-g -O -Wall' \ > LDFLAGS= > dos-release: config.h all > > os2-debug : dos-debug It doesn't trigger os2-debug, but debug (which is the same as dos-debug and os2-debug). os2-debug would have to be called explicitly. > When running 'make os2-release', diff.exe ended up much smaller - in > fact it ended up as 38417 - same as the original. Same here ultimately. The 41K .exe came from gcc 2.95.3, which I hadn't realized was still emxloaded. h~ **= Email 11 ==========================** Date: Sun, 31 Oct 2004 11:47:50 +0000 From: John Poltorak Subject: Re: Parrot On Sun, Oct 31, 2004 at 09:04:21AM +1100, Alexander Newman wrote: > Foot in mouth again - Andy Macintyre is Pythn, not Perl. You probably mean Ilya Zakharevich... He's been the official OS/2 maintainer of Perl for a number of years, AFAIK, but I have no idea if he intends to get Parrot ported to OS/2. > Alex. -- John **= Email 12 ==========================** Date: Sun, 31 Oct 2004 06:14:58 -0500 (EST) From: Thomas Dickey Subject: Re: Parrot On Sun, 31 Oct 2004, John Poltorak wrote: > On Sun, Oct 31, 2004 at 09:04:21AM +1100, Alexander Newman wrote: > > Foot in mouth again - Andy Macintyre is Pythn, not Perl. > > You probably mean Ilya Zakharevich... He's been the official OS/2 > maintainer of Perl for a number of years, AFAIK, but I have no idea > if he intends to get Parrot ported to OS/2. Perhaps - but I recall reading a couple of years ago that he stopped. (Though google occasionally shows me his name in OS/2 newsgroups). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net **= Email 13 ==========================** Date: Sun, 31 Oct 2004 12:24:23 +0000 From: John Poltorak Subject: Re: GNUDIFF On Sat, Oct 30, 2004 at 08:28:54PM -0400, Henry Sobotka wrote: > John Poltorak wrote: > > > > Having said that, I'm still not to clear how the debug target ends up > > triggering os2-debug. How make manoevures its way round these dependencies > > always ties me up in knots. > > > > debug dos-debug: config.h > > $(MAKE) all \ > > 'CFLAGS=-g -O -Wall' \ > > LDFLAGS= > > dos-release: config.h all > > > > os2-debug : dos-debug > > It doesn't trigger os2-debug, but debug (which is the same as dos-debug > and os2-debug). os2-debug would have to be called explicitly. I didn't realise you could equate targets like debug and dos-debug on the same line like that, but I still don't see how the debug target triggers os2-debug. It looks to me like 'os2-debug' has a dependency on 'dos-debug' not the other way round. I'm obviously missing something here. > > When running 'make os2-release', diff.exe ended up much smaller - in > > fact it ended up as 38417 - same as the original. > > Same here ultimately. The 41K .exe came from gcc 2.95.3, which I hadn't > realized was still emxloaded. What I did notice in this package was that there was no built in facility for building with an external regex. I wondered how that could be incorporated. It looks as though configure.in would need some kind of test for regex which ends up with a tests like these:- checking for library containing re_compile_pattern... -lregex checking for working re_compile_pattern... yes configure: use external regex configure: WARNING: Included src/regex.c not used Unfortunately I don't know my way around autoconf to know which lines need adding to configure.in to generate these tests. Any suggestions? > h~ -- John **= Email 14 ==========================** Date: Sun, 31 Oct 2004 12:32:45 +0000 From: John Poltorak Subject: Re: Parrot On Sun, Oct 31, 2004 at 06:14:58AM -0500, Thomas Dickey wrote: > On Sun, 31 Oct 2004, John Poltorak wrote: > > > On Sun, Oct 31, 2004 at 09:04:21AM +1100, Alexander Newman wrote: > > > Foot in mouth again - Andy Macintyre is Pythn, not Perl. > > > > You probably mean Ilya Zakharevich... He's been the official OS/2 > > maintainer of Perl for a number of years, AFAIK, but I have no idea > > if he intends to get Parrot ported to OS/2. > > Perhaps - but I recall reading a couple of years ago that he stopped. Yes, I think I recall that too... > (Though google occasionally shows me his name in OS/2 newsgroups). He still does use OS/2 and appears to be responsible for any OS/2 updates according to the change logs - latest entry was 2004/01/01 and in the latest tarball README.os2 is dated 6/7/04. > -- > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net -- John **= Email 15 ==========================** Date: Sun, 31 Oct 2004 12:50:34 +0000 From: John Poltorak Subject: Re: Removing RO during 'tar -x' On Sat, Oct 30, 2004 at 07:28:46PM -0400, Thomas Dickey wrote: > On Sat, 30 Oct 2004, John Poltorak wrote: > > > Is there any way of removing RO attributes from files while extracting > > them from a tar file? > > after extracting, I'd do > > chmod -R u+x . I currently have this chmod -R a+w * Not sure if that is materially different to what you have, but I thought tar may have some built in option for changing attributes. The reason I wanted to change the command above was because of the amount of time it takes when proessing something like a Mozilla diretory tree. Not sure why it takes as long as it does. Maybe it would be quicker running the command against files which needed it since few are likely to be RO, although I can't think how to change only the files which need changing. > -- > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net -- John