From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Sat, 2 Mar 2002 04:18:46 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 151 ************************************************** Friday 01 March 2002 Number 151 ************************************************** Subjects for today 1 Re: Autoconf 2.52h : Andreas Buening 2 Re: Autoconf 2.52h : John Poltorak 3 Re: Bzip2 v1.0.2 : Dave and Natalie" 4 Bzip2 v1.0.2 : John Poltorak 5 Re: Gnat 3.14p OS/2 binaries available : DWParsons at t-online.de (Dave Parsons) 6 Re: Autoconf 2.52h : Andreas Buening 7 Re: Bzip2 v1.0.2 : Kris Steenhaut 8 Re: Autoconf 2.52h : John Poltorak 9 Re: Bzip2 v1.0.2 : Kris Steenhaut 10 Re: gcc 3.0.3 - cross-compiler? : lamikr 11 Re: Bzip2 v1.0.2 : Stepan Kazakov 12 Re: Bzip2 v1.0.2 : John Poltorak 13 Re: Bzip2 v1.0.2 : John Poltorak 14 Re: Bzip2 v1.0.2 : Dave and Natalie" 15 Re: Bzip2 v1.0.2 : Stepan Kazakov **= Email 1 ==========================** Date: Sat, 02 Mar 2002 01:12:49 +0100 From: Andreas Buening Subject: Re: Autoconf 2.52h John Poltorak wrote: [snip] > I found Perl was quite easy to build for myself using a simple cmd file > such as:- > > > set AWK=c:/usr/bin/awk.exe > set C_INCLUDE_PATH=c:/emx/include; > set CPLUS_INCLUDE_PATH=c:/emx/include/cpp;c:/emx/include > set LIBRARY_PATH=c:/emx/lib > set PATH=c:\emx\bin;c:\usr\bin;c:\os2; > md \tmp > md \tmp\perl > cd \tmp\perl > test -f stable.tar.gz || wget -c http://www.cpan.org/src/stable.tar.gz > tar zxf stable.tar.gz > cd perl-5.6.1 > patch -p0 < os2\diff.configure > sh -x ./Configure -des -D prefix=c:/usr/lib/perl > make > make test > make install Ouch! What the hell is that configure script doing? 8-O I would also add unset CFLAGS unset LDFLAGS to your script. This can remove some (but not all) strange behaviour. However, make does not really work. /config.sh is not found (which is not really surprising). I'll try again tomorrow. > This will result in any hardcoded paths including c:/usr/lib/perl. > If I build it the way that suits me, I don't need to set any variables, Does it mean there is no working binary distribution available? > just copy perl.exe to somewhere on my path (c:\usr\bin) and the perl DLL > to somewhere on my libpath. PDKSH needs to be used to build Perl - bash > doesn't work for some reason. I've just noticed that. :-( [advanced problems] bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Redmond where the Shadows lie. **= Email 2 ==========================** Date: Sat, 2 Mar 2002 09:37:05 +0000 From: John Poltorak Subject: Re: Autoconf 2.52h On Sat, Mar 02, 2002 at 01:12:49AM +0100, Andreas Buening wrote: > John Poltorak wrote: > > [snip] > > > I found Perl was quite easy to build for myself using a simple cmd file > > such as:- > > > > > > set AWK=c:/usr/bin/awk.exe > > set C_INCLUDE_PATH=c:/emx/include; > > set CPLUS_INCLUDE_PATH=c:/emx/include/cpp;c:/emx/include > > set LIBRARY_PATH=c:/emx/lib > > set PATH=c:\emx\bin;c:\usr\bin;c:\os2; > > md \tmp > > md \tmp\perl > > cd \tmp\perl > > test -f stable.tar.gz || wget -c http://www.cpan.org/src/stable.tar.gz > > tar zxf stable.tar.gz > > cd perl-5.6.1 > > patch -p0 < os2\diff.configure > > sh -x ./Configure -des -D prefix=c:/usr/lib/perl > > make > > make test > > make install > > Ouch! What the hell is that configure script doing? 8-O Do you mean? 'sh -x' When I want a log of what has gone on, I invoke the shell in debug mode. > I would also add > unset CFLAGS > unset LDFLAGS > to your script. Why? > This can remove some (but not all) > strange behaviour. However, make does not really work. > /config.sh is not found (which is not really surprising). > I'll try again tomorrow. > > > > This will result in any hardcoded paths including c:/usr/lib/perl. > > If I build it the way that suits me, I don't need to set any variables, > > Does it mean there is no working binary distribution available? There is this one on Hobbes:- http://hobbes.nmsu.edu/pub/os2/dev/perl/perl-5.6.1.zip but I having embedded paths pointing to F: often causes me problems, so I prefer using the one I built. > bye, > Andreas > > -- > One OS to rule them all, One OS to find them, > One OS to bring them all and in the darkness bind them > In the Land of Redmond where the Shadows lie. -- John **= Email 3 ==========================** Date: Sat, 02 Mar 2002 09:43:30 +0000 From: "Dave and Natalie" Subject: Re: Bzip2 v1.0.2 On Sat, 02 Mar 2002 15:12:00 -0500, Stepan Kazakov wrote: >John Poltorak wrote: > >> There is port of the latest Bzip2 here:- >> http://www.vsu.ru/~vy/prj/bzip2/bzip2-1.0.2-os2-bin.zip >> Unfortunately no docs, no diff. >> I've never come across this porter before, but he has a homepage here:- >> http://www.vsu.ru/~vy/ >> but you need to understand Russian to be able to read it. > >he he he :) >unforunately, this man, VYX - hates unixway, opensources, gnu, gpl, gcc, >etc etc etc .... :) >he using only VAC & Java. >and this bzip2 port writeln on VAC.. Then why does the archive include gcc29166.dll? Also how hard would it be to add EA support to bzip2? Dave **= Email 4 ==========================** Date: Sat, 2 Mar 2002 09:47:17 +0000 From: John Poltorak Subject: Bzip2 v1.0.2 There is port of the latest Bzip2 here:- http://www.vsu.ru/~vy/prj/bzip2/bzip2-1.0.2-os2-bin.zip Unfortunately no docs, no diff. I've never come across this porter before, but he has a homepage here:- http://www.vsu.ru/~vy/ but you need to understand Russian to be able to read it. -- John **= Email 5 ==========================** Date: Sat, 02 Mar 2002 10:15:41 +0100 (CET) From: DWParsons at t-online.de (Dave Parsons) Subject: Re: Gnat 3.14p OS/2 binaries available On Thu, 28 Feb 2002 14:29:13 -0500, Kees de LezenneCoulander wrote: > I have given the new Gnat 3.14p a good workout. I threw it all my > Ada code (700 files, 14+ Mb) and it ran without a hitch at the O2 > optimization level. It is the first Gnat version to have achieved > this feat. All previous versions choked on some of the more difficult > units and I would have to go to a lower optimization level to make > them compile. I have given the resulting executables only a cursory > try, but what I have seen looks good. When running under OS/2, > that is. Pleased to hear it, thanks for the feedback. > But I have run into one major stumbling block. The created > executables do not run in the DOS box of either OS/2 or Windows > (using rsx.exe). I get either 'process 2 get hardware fault 13 > (general protection) at ..' (SIGSEGV) or 'process 2 get hardware > fault 6 (invalid opcode) at ..' (SIGILL). Further investigation has > shown that even the basic 'Hello world!' program shows the same > problems as long as the output is created by Ada.Text_IO. When > switching to GNAT.IO the 'Hello World!' program runs ok. A test > program without calls to any output procedures also runs fine, > but that is not very useful. > I have tried various combinations of switches for rsx.exe to > specify stack or heap space. One can see it makes a difference (Hello > World either runs or not in a more or less random fashion). But I > have not yet stumbled upon the winning combination which ensures good > running in all cases. And then 'Hello World" is not exactly large > compared to an operational program. > When going back over previous versions of Gnat, I find that Hello > World runs fine in a DOS box when compiled with Gnat 3.09 or 3.12p > (the last version for which an OS/2 executable was provided by ACT). > It is just 3.13p and 3.14p which give problems. > I've never tried to run anything from Gnat in a DOS box. However, can you send me, by direct email, an example program which works with earlier versions, (I have 3.10p) but not with the later versions and I will investigate it for the OS/2 DOS box. I don't have rsx. Can you also include the full error messages you are getting, the instructions you used to build the executables, ie makefiles, cmd scripts whatever and any other information which you think might be helpful including OS and EMX/gcc versions. -- Dave **= Email 6 ==========================** Date: Sat, 02 Mar 2002 11:53:38 +0100 From: Andreas Buening Subject: Re: Autoconf 2.52h John Poltorak wrote: > > On Sat, Mar 02, 2002 at 01:12:49AM +0100, Andreas Buening wrote: > > John Poltorak wrote: > > > > [snip] > > > > > I found Perl was quite easy to build for myself using a simple cmd file > > > such as:- > > > > > > > > > set AWK=c:/usr/bin/awk.exe > > > set C_INCLUDE_PATH=c:/emx/include; > > > set CPLUS_INCLUDE_PATH=c:/emx/include/cpp;c:/emx/include > > > set LIBRARY_PATH=c:/emx/lib > > > set PATH=c:\emx\bin;c:\usr\bin;c:\os2; > > > md \tmp > > > md \tmp\perl > > > cd \tmp\perl > > > test -f stable.tar.gz || wget -c http://www.cpan.org/src/stable.tar.gz > > > tar zxf stable.tar.gz > > > cd perl-5.6.1 > > > patch -p0 < os2\diff.configure > > > sh -x ./Configure -des -D prefix=c:/usr/lib/perl > > > make > > > make test > > > make install > > > > Ouch! What the hell is that configure script doing? 8-O > > Do you mean? > > 'sh -x' > > When I want a log of what has gone on, I invoke the shell in debug mode. > > > I would also add > > unset CFLAGS > > unset LDFLAGS > > to your script. > > Why? Because if you've set those variables for the built of another package strange things may happen. [snip] > > Does it mean there is no working binary distribution available? > > There is this one on Hobbes:- > > http://hobbes.nmsu.edu/pub/os2/dev/perl/perl-5.6.1.zip Yes, I tried that, but except some segmentation faults I didn't really help. :-( > but I having embedded paths pointing to F: often causes me problems, so I > prefer using the one I built. Hmm, this I meant with "is there a working binary distribution". However, I get stuck with the following error message: Making x2p stuff make[1]: Entering directory `/development/perl-5.6.1/x2p' `sh cflags hash.obj` -DPERL_FOR_X2P hash.c CCCMD = -c cflags.: .: /config.sh: not found f:/bin/sh.exe: -c: not found make[1]: *** [hash.obj] Error 127 make[1]: Leaving directory `/development/perl-5.6.1/x2p' make: *** [translators] Error 2 Any ideas? bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Redmond where the Shadows lie. **= Email 7 ==========================** Date: Sat, 02 Mar 2002 12:12:01 +0100 From: Kris Steenhaut Subject: Re: Bzip2 v1.0.2 John Poltorak schreef: > There is port of the latest Bzip2 here:- > > http://www.vsu.ru/~vy/prj/bzip2/bzip2-1.0.2-os2-bin.zip > > Unfortunately no docs, no diff. > > I've never come across this porter before, but he has a homepage here:- > > http://www.vsu.ru/~vy/ > > but you need to understand Russian to be able to read it. > No, you have to go one step more :-) http://sources.redhat.com/bzip2/index.html. -- Groeten uit Gent, Kris **= Email 8 ==========================** Date: Sat, 2 Mar 2002 12:13:39 +0000 From: John Poltorak Subject: Re: Autoconf 2.52h On Sat, Mar 02, 2002 at 11:53:38AM +0100, Andreas Buening wrote: > John Poltorak wrote: > > > > On Sat, Mar 02, 2002 at 01:12:49AM +0100, Andreas Buening wrote: > > > > Does it mean there is no working binary distribution available? > > > > There is this one on Hobbes:- > > > > http://hobbes.nmsu.edu/pub/os2/dev/perl/perl-5.6.1.zip > > Yes, I tried that, but except some segmentation faults > I didn't really help. :-( > > > but I having embedded paths pointing to F: often causes me problems, so I > > prefer using the one I built. > > Hmm, this I meant with "is there a working binary distribution". I've just zipped up my build of 5.6.0, so you can try that if you want:- ftp://www.eyup.org/perl.zip > bye, > Andreas > > -- > One OS to rule them all, One OS to find them, > One OS to bring them all and in the darkness bind them > In the Land of Redmond where the Shadows lie. -- John **= Email 9 ==========================** Date: Sat, 02 Mar 2002 12:24:41 +0100 From: Kris Steenhaut Subject: Re: Bzip2 v1.0.2 John Poltorak schreef: > There is port of the latest Bzip2 here:- > > http://www.vsu.ru/~vy/prj/bzip2/bzip2-1.0.2-os2-bin.zip > > Unfortunately no docs, no diff. > > I've never come across this porter before, but he has a homepage here:- > > http://www.vsu.ru/~vy/ > > but you need to understand Russian to be able to read it. > 5 minutes later........... I'm not sure whether I've copied the link properly, so now the good one at any rate: http://www.muraroa.demon.co.uk/ Apologies for having confused you. -- Groeten uit Gent, Kris **= Email 10 ==========================** Date: Sat, 02 Mar 2002 13:50:02 +0100 From: lamikr Subject: Re: gcc 3.0.3 - cross-compiler? Cross-compiler for ARM as a target could be quite useful for people who has replaced WinCE in PocketPC with Linux and wants to develope software for that in OS/2. (Programs can be transfered to these beast via terminal programs like ZOC) Mika John Poltorak wrote: > On Thu, Feb 28, 2002 at 12:50:34AM +0100, Holger Veit wrote: > > On Wed, Feb 27, 2002 at 09:50:02PM +0000, John Poltorak wrote: > > > > > > Is the recent OS/2 port of gcc 3.0.3 a cross-compiler? > > > > It's been possible since the earliest versions of gcc to construct a > > cross-compiler. The ELF EMX/gcc 2.8.1 I use to produce ELF modules for > > XFree86-4.x is such a beast. > > > > What do you want to achieve? > > I came across someone who was trying to run the Win32 version of gcc under > Odin whose target platform was the ARM embedded processor. This sounded > like an exercise in masochism, but apparently the Win32 version does > support ARM as a target platform. > > > > Holger > > > > -- > > Please update your tables to my new e-mail address: > > holger.veit$ais.fhg.de (replace the '$' with ' at ' -- spam-protection) > > > > -- > John **= Email 11 ==========================** Date: Sat, 02 Mar 2002 15:12:00 -0500 From: Stepan Kazakov Subject: Re: Bzip2 v1.0.2 John Poltorak wrote: > There is port of the latest Bzip2 here:- > http://www.vsu.ru/~vy/prj/bzip2/bzip2-1.0.2-os2-bin.zip > Unfortunately no docs, no diff. > I've never come across this porter before, but he has a homepage here:- > http://www.vsu.ru/~vy/ > but you need to understand Russian to be able to read it. he he he :) unforunately, this man, VYX - hates unixway, opensources, gnu, gpl, gcc, etc etc etc .... :) he using only VAC & Java. and this bzip2 port writeln on VAC.. -- madded. [Red Hot Chili Hackers] **= Email 12 ==========================** Date: Sat, 2 Mar 2002 19:14:42 +0000 From: John Poltorak Subject: Re: Bzip2 v1.0.2 On Sat, Mar 02, 2002 at 09:43:30AM +0000, Dave and Natalie wrote: > On Sat, 02 Mar 2002 15:12:00 -0500, Stepan Kazakov wrote: > > >John Poltorak wrote: > > > >> There is port of the latest Bzip2 here:- > >> http://www.vsu.ru/~vy/prj/bzip2/bzip2-1.0.2-os2-bin.zip > >> Unfortunately no docs, no diff. > >> I've never come across this porter before, but he has a homepage here:- > >> http://www.vsu.ru/~vy/ > >> but you need to understand Russian to be able to read it. > > > >he he he :) > >unforunately, this man, VYX - hates unixway, opensources, gnu, gpl, gcc, > >etc etc etc .... :) > >he using only VAC & Java. > >and this bzip2 port writeln on VAC.. > > Then why does the archive include gcc29166.dll? You must be looking at someone else's port of v1.0.1... > Dave -- John **= Email 13 ==========================** Date: Sat, 2 Mar 2002 19:32:15 +0000 From: John Poltorak Subject: Re: Bzip2 v1.0.2 On Sat, Mar 02, 2002 at 03:12:00PM -0500, Stepan Kazakov wrote: > John Poltorak wrote: > > > There is port of the latest Bzip2 here:- > > http://www.vsu.ru/~vy/prj/bzip2/bzip2-1.0.2-os2-bin.zip > > Unfortunately no docs, no diff. > > I've never come across this porter before, but he has a homepage here:- > > http://www.vsu.ru/~vy/ > > but you need to understand Russian to be able to read it. > > he he he :) > unforunately, this man, VYX - hates unixway, opensources, gnu, gpl, gcc, > etc etc etc .... :) > he using only VAC & Java. > and this bzip2 port writeln on VAC.. If you know him, will you be able to get a diff file from him? BZIP2 is supposed to be fairly platform neutral anyway so may build quite easily using gcc on OS/2... > -- > madded. [Red Hot Chili Hackers] -- John **= Email 14 ==========================** Date: Sat, 02 Mar 2002 21:51:34 +0000 From: "Dave and Natalie" Subject: Re: Bzip2 v1.0.2 On Sat, 2 Mar 2002 19:14:42 +0000, John Poltorak wrote: >> >he he he :) >> >unforunately, this man, VYX - hates unixway, opensources, gnu, gpl, gcc, >> >etc etc etc .... :) >> >he using only VAC & Java. >> >and this bzip2 port writeln on VAC.. >> >> Then why does the archive include gcc29166.dll? > >You must be looking at someone else's port of v1.0.1... Sorry, my little script which unzips combined 2 DLs in one directory. After looking at the archive I notice there is no DLL. Bzip2 is sopposed to mostly be a shared lib with an executable which just uses the shared lib. Dave **= Email 15 ==========================** Date: Sat, 02 Mar 2002 22:47:43 -0500 From: Stepan Kazakov Subject: Re: Bzip2 v1.0.2 Dave and Natalie wrote: > >and this bzip2 port writeln on VAC.. > Then why does the archive include gcc29166.dll? drop drugs!! stop narcotics! :) Archive: bzip2-1.0.2-os2-bin.zip Length EAs ACLs Date Time Name ------ --- ---- ---- ---- ---- 88205 72 0 28-02-02 23:07 bzip2.exe 30816 72 0 28-02-02 23:07 bzip2recover.exe ------ ----- ----- ------- 119021 144 0 2 files and .exe do not needs any emx/gcc dlls to run. and no any emx or gcc strings inside it. and after lxlite /x too ;) > Also how hard would it be to add EA support to bzip2? i dont know anything about it.. i think bzip2 design not supported EA. i dont know about it, but i think so ;) -- madded. [Red Hot Chili Hackers]