From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Tue, 28 May 2002 04:26:13 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 226 ************************************************** Monday 27 May 2002 Number 226 ************************************************** Subjects for today 1 OpenOffice and OpenWatcom : John Poltorak 2 Re: Perl testers wanted : John Poltorak 3 Re: OpenOffice and OpenWatcom : csaba.raduly at sophos.com 4 Re: Perl testers wanted : csaba.raduly at sophos.com 5 Re: OpenOffice and OpenWatcom : John Poltorak 6 Re: Perl testers wanted : John Poltorak 7 Re: Perl testers wanted : csaba.raduly at sophos.com 8 Re: OpenOffice and OpenWatcom : Steve Wendt" **= Email 1 ==========================** Date: Tue, 28 May 2002 14:34:24 +0100 From: John Poltorak Subject: OpenOffice and OpenWatcom With the recent release of OpenWatcom would it provide a better compiler for building OpenOffice? I would imagine it would be more natural to develop an OS/2 app with Watcom C rather than gcc... In any case, is there any news on an OS/2 port of OpenOffice? -- John **= Email 2 ==========================** Date: Tue, 28 May 2002 14:47:53 +0100 From: John Poltorak Subject: Re: Perl testers wanted On Mon, May 27, 2002 at 09:57:22PM +0100, John Poltorak wrote: > > Can anyone give this latest Perl snapshot a try? :- > > > ftp://ftp.funet.fi/pub/languages/perl/snap/perl at 16816.tgz > > > v5.8.0 RC1 is due out next week, so it would be good to get any OS/2 > problems reported beforehand. Can anyone point out what caused the problems I got here? :- sh ../makedepend MAKE=make make[2]: Entering directory `C:/eval/perl-5.8/perl/x2p' echo hash.c str.c util.c walk.c | tr ' ' '\n\r' >.clist make[2]: Leaving directory `C:/eval/perl-5.8/perl/x2p' Finding dependencies for hash.obj. Finding dependencies for str.obj. Finding dependencies for util.obj. Finding dependencies for walk.obj. make[2]: Entering directory `C:/eval/perl-5.8/perl/x2p' echo Makefile.SH cflags.SH | tr ' ' '\n\r' >.shlist make[2]: Leaving directory `C:/eval/perl-5.8/perl/x2p' Updating GNUmakefile... make[1]: Leaving directory `C:/eval/perl-5.8/perl/x2p' Now you must run 'make'. If you compile perl5 on a different machine or from a different object directory, copy the Policy.sh file from this object directory to the new one before you run Configure -- this will help you with most of the policy defaults. `sh cflags "optimize='-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s'" malloc.obj` -Zdll malloc.c CCCMD = gcc -DPERL_CORE -c -Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -D_EMX_CRT_REV_=64 -O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s -Wall os2ish.h: In function `_PERLIO_IS_BINMODE_FD': In file included from perl.h:1816, from malloc.c:244: os2ish.h:378: warning: implicit declaration of function `_fd_flags' os2ish.h:378: warning: initialization makes pointer from integer without a cast os2ish.h:380: `O_BINARY' undeclared (first use in this function) os2ish.h:380: (Each undeclared identifier is reported only once os2ish.h:380: for each function it appears in.) os2ish.h:381: warning: control reaches end of non-void function make: *** [malloc.obj] Error 1 `sh cflags "optimize='-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s'" malloc.obj` -Zdll malloc.c CCCMD = gcc -DPERL_CORE -c -Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -D_EMX_CRT_REV_=64 -O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s -Wall os2ish.h: In function `_PERLIO_IS_BINMODE_FD': In file included from perl.h:1816, from malloc.c:244: os2ish.h:378: warning: implicit declaration of function `_fd_flags' os2ish.h:378: warning: initialization makes pointer from integer without a cast os2ish.h:380: `O_BINARY' undeclared (first use in this function) os2ish.h:380: (Each undeclared identifier is reported only once os2ish.h:380: for each function it appears in.) os2ish.h:381: warning: control reaches end of non-void function make: *** [malloc.obj] Error 1 make install.perl install.man STRIPFLAGS= make[1]: Entering directory `C:/eval/perl-5.8/perl' `sh cflags "optimize='-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s'" malloc.obj` -Zdll malloc.c CCCMD = gcc -DPERL_CORE -c -Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -D_EMX_CRT_REV_=64 -O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s -Wall os2ish.h: In function `_PERLIO_IS_BINMODE_FD': In file included from perl.h:1816, from malloc.c:244: os2ish.h:378: warning: implicit declaration of function `_fd_flags' os2ish.h:378: warning: initialization makes pointer from integer without a cast os2ish.h:380: `O_BINARY' undeclared (first use in this function) os2ish.h:380: (Each undeclared identifier is reported only once os2ish.h:380: for each function it appears in.) os2ish.h:381: warning: control reaches end of non-void function make[1]: *** [malloc.obj] Error 1 make[1]: Leaving directory `C:/eval/perl-5.8/perl' make: *** [install] Error 2 -- John **= Email 3 ==========================** Date: Tue, 28 May 2002 16:17:47 +0100 From: csaba.raduly at sophos.com Subject: Re: OpenOffice and OpenWatcom On 28/05/2002 14:34:24 owner-os2-unix wrote: >With the recent release of OpenWatcom would it provide a better compiler >for building OpenOffice? > >I would imagine it would be more natural to develop an OS/2 app with >Watcom C rather than gcc... > Maybe, but makefiles are likely to exist for GCC, if at all. Unless there is a build environment prepared for Watcom (on any platform), setting it up from the ground is going to be painf^H^H^H^H^H left as an exercise. -- 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: Tue, 28 May 2002 16:26:42 +0100 From: csaba.raduly at sophos.com Subject: Re: Perl testers wanted On 28/05/2002 14:47:53 owner-os2-unix wrote: > >Can anyone point out what caused the problems I got here? :- > [snip] >os2ish.h: In function `_PERLIO_IS_BINMODE_FD': >In file included from perl.h:1816, >from malloc.c:244: >os2ish.h:378: warning: implicit declaration of function `_fd_flags' >os2ish.h:378: warning: initialization makes pointer from integer without a cast >os2ish.h:380: `O_BINARY' undeclared (first use in this function) >os2ish.h:380: (Each undeclared identifier is reported only once >os2ish.h:380: for each function it appears in.) >os2ish.h:381: warning: control reaches end of non-void function >make: *** [malloc.obj] Error 1 O_BINARY is #defined in fcntl.h _fd_flags is declared in io.h It would seem these headers weren't included. As to why... -- 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 5 ==========================** Date: Tue, 28 May 2002 16:30:47 +0100 From: John Poltorak Subject: Re: OpenOffice and OpenWatcom On Tue, May 28, 2002 at 04:17:47PM +0100, csaba.raduly at sophos.com wrote: > > On 28/05/2002 14:34:24 owner-os2-unix wrote: > > >With the recent release of OpenWatcom would it provide a better compiler > >for building OpenOffice? > > > >I would imagine it would be more natural to develop an OS/2 app with > >Watcom C rather than gcc... > > > > Maybe, but makefiles are likely to exist for GCC, if at all. > Unless there is a build environment prepared for Watcom > (on any platform), setting it up from the ground is going to be > painf^H^H^H^H^H left as an exercise. Maybe there are Makefiles suitable for NMAKE, although I don't know if Watcom would be able to make use of them... -- John **= Email 6 ==========================** Date: Tue, 28 May 2002 16:57:38 +0100 From: John Poltorak Subject: Re: Perl testers wanted On Tue, May 28, 2002 at 04:26:42PM +0100, csaba.raduly at sophos.com wrote: > > On 28/05/2002 14:47:53 owner-os2-unix wrote: > > > > >Can anyone point out what caused the problems I got here? :- > > > [snip] > >os2ish.h: In function `_PERLIO_IS_BINMODE_FD': > >In file included from perl.h:1816, > >from malloc.c:244: > >os2ish.h:378: warning: implicit declaration of function `_fd_flags' > >os2ish.h:378: warning: initialization makes pointer from integer without a > cast > >os2ish.h:380: `O_BINARY' undeclared (first use in this function) > >os2ish.h:380: (Each undeclared identifier is reported only once > >os2ish.h:380: for each function it appears in.) > >os2ish.h:381: warning: control reaches end of non-void function > >make: *** [malloc.obj] Error 1 > > O_BINARY is #defined in fcntl.h OK, I've added that to os2ish.h... > _fd_flags is declared in io.h but I don't see this in my io.h. Are you sure about this one? If so can you give me details of the file you're using? -- John **= Email 7 ==========================** Date: Tue, 28 May 2002 17:09:30 +0100 From: csaba.raduly at sophos.com Subject: Re: Perl testers wanted On 28/05/2002 16:57:38 owner-os2-unix wrote: >On Tue, May 28, 2002 at 04:26:42PM +0100, csaba.raduly at sophos.com wrote: [snip] >> _fd_flags is declared in io.h > >but I don't see this in my io.h. Are you sure about this one? If so can >you give me details of the file you're using? > Doh ! make that -- 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 8 ==========================** Date: Tue, 28 May 2002 21:13:54 -0700 (PDT) From: "Steve Wendt" Subject: Re: OpenOffice and OpenWatcom On Tue, 28 May 2002 16:30:47 +0100, John Poltorak wrote: >Maybe there are Makefiles suitable for NMAKE, although I don't know if >Watcom would be able to make use of them... I don't know how useful these are, but wmake has these options: /ms Microsoft NMAKE mode /u UNIX compatibility mode ----------- "Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws." - Plato (427-347 B.C.)