From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Mon, 25 Feb 2002 04:16:30 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 146 ************************************************** Sunday 24 February 2002 Number 146 ************************************************** Subjects for today 1 Re: cpp0.exe error msg : John Poltorak 2 Re: UnixOS/2 Build System - proposal : csaba.raduly at sophos.com 3 Re: gcc 3.0.3. _optlink questions for Andy : csaba.raduly at sophos.com 4 Building \emx\lib : John Poltorak 5 Gnat 3.14p OS/2 binaries available : DWParsons at t-online.de (Dave Parsons) 6 Re: Gnat 3.14p OS/2 binaries available : John Poltorak 7 new packages : T.Sikora" 8 Re: Building \emx\lib : John Poltorak 9 Re: sendmail 8-12-0 : John Poltorak 10 Re: Gnat 3.14p OS/2 binaries available : DWParsons at t-online.de (Dave Parsons) 11 Re: Gnat 3.14p OS/2 binaries available : Vincent Marciante **= Email 1 ==========================** Date: Mon, 25 Feb 2002 00:50:21 +0000 From: John Poltorak Subject: Re: cpp0.exe error msg On Sat, Feb 23, 2002 at 11:07:08AM -0500, Henry Sobotka wrote: > John Poltorak wrote: > > > > Can someone translate this error msg? :- > > > > There's nothing wrong with malloc.c nor cpp0.exe, I had a look through cpp0.exe and found the string:- %s is shorter than expected so I would have expected %s to be converted to something... > but your gcc3 > installation is somehow messed up. Doublecheck the instructions to make > sure you didn't miss anything. After running 'sh -x configure', I located this in the output:- + : see if this is a dirent system + echo + ./findhdr dirent.h + xinc=r:/emx/include/dirent.h + test r:/emx/include/dirent.h + val=define + echo found. + >&4 found. + set i_dirent + eval var=$1; eval "was=\$$1"; td=$define; tu=$undef; case "$val$was" in $define$undef) . ./whoa; eval "$var=\$td";; $undef$define) . ./whoa; eval "$var=\$tu";; *) eval "$var=$val";; esac + var=i_dirent + eval was=$i_dirent + was=define + td=define + tu=undef + eval i_dirent=define + i_dirent=define + : Look for type of directory structure. + echo + gcc -E -Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -D_EMX_CRT_REV_=64 -fno-strict-aliasing - + < r:/emx/include/dirent.h + > try.c cpp0.exe: warning: is shorter than expected :7:2: warning: #warning requires :45:2: #endif without #if :47:2: #endif without #if + guess1=struct dirent + guess2=struct direct + grep struct dirent try.c + > /dev/null + 2>&1 + direntrytype=struct dirent + echo Your directory entries are struct dirent. + >&4 Your directory entries are struct dirent. + c:/usr/bin/rm -f try.c + : see if the directory entry stores field length Using this I ran:- gcc -E -Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -D_EMX_CRT_REV_=64 -fno-strict-aliasing - < r:/emx/include/dirent.h > try.c Which produced try.c and the usual error msg:- cpp0.exe: warning: is shorter than expected :7:2: warning: #warning requires :45:2: #endif without #if :47:2: #endif without #if Can anyone discern what is going on here? > h~ -- John **= Email 2 ==========================** Date: Mon, 25 Feb 2002 10:37:18 +0000 From: csaba.raduly at sophos.com Subject: Re: UnixOS/2 Build System - proposal On 23/02/2002 17:17:50 owner-os2-unix wrote: >On Sat, Feb 23, 2002 at 08:39:34AM -0800, Neil Waldhauer wrote: >> On Sat, 23 Feb 2002 15:58:52 +0000, John Poltorak wrote: >> >> > The UnixOS/2 Build System >> >> I'd like a sanity check as part of the build system to ensure that the >> prerequisites are in place. The sanity check would check if an appropriate >> shell, make, gcc and other parts were there before doing any building. > >Yes, that's a good idea. The trouble is knowing which utils to check.. **= Email 3 ==========================** Date: Mon, 25 Feb 2002 10:41:40 +0000 From: csaba.raduly at sophos.com Subject: Re: gcc 3.0.3. _optlink questions for Andy On 23/02/2002 21:56:56 owner-os2-unix wrote: >...which I'm posting here for the benefit of anyone else interested in >these issues. > >Simple tests indicate that gcc's _optlink is compatible with VAC++'s >_Optlink both ways: [snip] > >I noticed that _optlink only kicks in with optimization. Without -O or >higher, args are moved from the registers to the stack instead of used >in situ. Is this a bug or just an unfortunate necessity due to gcc >internals and implementation details or...? > Note that Micros~1 compilers do the same thing, in debug at least. There are two possible reasons: 1) Need to set up a proper stack frame 2) Shortage of registers on the Intel platform :-( -- Csaba Ráduly, Software Engineer Sophos Anti-Virus email: csaba.raduly at sophos.com http://www.sophos.com US Support: +1 888 SOPHOS 9 UK Support: +44 1235 559933 **= Email 4 ==========================** Date: Mon, 25 Feb 2002 14:37:26 +0000 From: John Poltorak Subject: Building \emx\lib Does anyone have any tips on building \emx\lib from \emx\src? There's a directory, \emx\src\lib, which seems to contain all the required source along with Makefiles, but there is no option to make all, so I don't really know where to start. Any hints would be appreciated. -- John **= Email 5 ==========================** Date: Mon, 25 Feb 2002 17:27:35 +0100 (CET) From: DWParsons at t-online.de (Dave Parsons) Subject: Gnat 3.14p OS/2 binaries available Hello all, I have just finished testing Gnat 3.14p and all seems to be well. If anyone would like to try it, it is now available as:- http://dwparsons.bei.t-online.de/gnat-3.14p-os2-bin-20020225.zip See the readme for more details. Dave **= Email 6 ==========================** Date: Mon, 25 Feb 2002 20:02:02 +0000 From: John Poltorak Subject: Re: Gnat 3.14p OS/2 binaries available On Mon, Feb 25, 2002 at 05:27:35PM +0100, Dave Parsons wrote: > Hello all, > > I have just finished testing Gnat 3.14p and all seems to be well. > > If anyone would like to try it, it is now available as:- > > http://dwparsons.bei.t-online.de/gnat-3.14p-os2-bin-20020225.zip Is this considered a beta? Don't forget to get various links updated, such as unix.os2site.com/ada. And getting something posted on the OS2Voice news mailing list and the comp.lang.ada newsgroup wouldn't hurt either. > See the readme for more details. > > Dave > > -- John **= Email 7 ==========================** Date: Mon, 25 Feb 2002 20:50:44 -0500 From: "T.Sikora" Subject: new packages You may want to go to http://209.54.72.110 for unixos2.com (link on unixos2 main page) I stopped updating the original site and hope to have this one complete by the weekend. I finally put the messaging in nuke to use. All new ports/packages will be listed on the main page with a link to them from now on. I need feedback guys tell me what you hate/like? -- Ted Sikora tsikora at unixos2.com http://unixos2.com **= Email 8 ==========================** Date: Mon, 25 Feb 2002 21:30:34 +0000 From: John Poltorak Subject: Re: Building \emx\lib On Mon, Feb 25, 2002 at 02:37:26PM +0000, John Poltorak wrote: > > > Does anyone have any tips on building \emx\lib from \emx\src? > > > There's a directory, \emx\src\lib, which seems to contain all the > required source along with Makefiles, but there is no option to make all, > so I don't really know where to start. > > Any hints would be appreciated. emx\doc\build.doc in case anyone wants to know. Do I really need MASM to build emx\lib? -- John **= Email 9 ==========================** Date: Mon, 25 Feb 2002 22:08:47 +0000 From: John Poltorak Subject: Re: sendmail 8-12-0 On Tue, Feb 26, 2002 at 01:59:53AM -0500, Stepan Kazakov wrote: > sendmail 8-12-0 at hobbes.nmsu.edu/pub/incoming/ > with openssl / smtp auth.. Yes, I noticed that, and would like to give it a go some time. I tried an earlier port about a year ago, but found it just wouldn't handle a mailing list manager. BTW if anyone is interested in using Sendmail on OS/2, you are very welcome to subscribe to the os2-sendmail mailing list:- mailto:os2-sendmail-request at eyup.org?body=subscribe > -- > madded. [Red Hot Chili Hackers] -- John **= Email 10 ==========================** Date: Mon, 25 Feb 2002 22:32:54 +0100 (CET) From: DWParsons at t-online.de (Dave Parsons) Subject: Re: Gnat 3.14p OS/2 binaries available On Mon, 25 Feb 2002 20:02:02 +0000, John Poltorak wrote: > On Mon, Feb 25, 2002 at 05:27:35PM +0100, Dave Parsons wrote: > > Hello all, > > > > I have just finished testing Gnat 3.14p and all seems to be well. > > > > If anyone would like to try it, it is now available as:- > > > > http://dwparsons.bei.t-online.de/gnat-3.14p-os2-bin-20020225.zip > > Is this considered a beta? No, not really, but build related feedback is welcome. > > Don't forget to get various links updated, such as unix.os2site.com/ada. > > And getting something posted on the OS2Voice news mailing list and the > comp.lang.ada newsgroup wouldn't hurt either. > My original mail was also sent to VOICE and I will inform the administrators at cs.nyu.edu of its availability. If they choose to mirror it, then I will announce its location on CLA once it has been copied. -- Dave **= Email 11 ==========================** Date: Mon, 25 Feb 2002 23:28:56 -0500 From: Vincent Marciante Subject: Re: Gnat 3.14p OS/2 binaries available Dave Parsons wrote: > > Hello all, > > I have just finished testing Gnat 3.14p and all seems to be well. > > If anyone would like to try it, it is now available as:- > > http://dwparsons.bei.t-online.de/gnat-3.14p-os2-bin-20020225.zip > > See the readme for more details. > > Dave Hi Dave, First of all, thanks for making this available! Two questions: 1) There is no gdb.exe included - what one should be used? The one from 3.12p? 2) I always get mixed up with "/" vs "\" in the environmental variables, then I just got to thinking that maybe I have been running from the wrong type of shell all these years - should gnatmake be run from an OS/2 command line (cmd.exe) or from a unix type shell like bash? With great appreciation, Vinny