From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Thu, 30 Jan 2003 04:49:21 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 29 ************************************************** Wednesday 29 January 2003 Number 29 ************************************************** Subjects for today 1 Building DMAKE with gcc : John Poltorak 2 Re: Building DMAKE with gcc : John Poltorak 3 Re: Building DMAKE with gcc : Stefan Neis 4 SYSLOG source : John Poltorak 5 Re: Building DMAKE with gcc : Stefan Neis 6 Re: UnixOS/2 docs : Andreas Buening **= Email 1 ==========================** Date: Thu, 30 Jan 2003 10:10:26 +0000 From: John Poltorak Subject: Building DMAKE with gcc Has anyone tried building DMAKE using gcc ? The supplied command for building on OS/2 is with icc. I guess I should try to combine the one for OS/2 with the one for Linux which uses gcc... -- John **= Email 2 ==========================** Date: Thu, 30 Jan 2003 13:53:37 +0000 From: John Poltorak Subject: Re: Building DMAKE with gcc On Thu, Jan 30, 2003 at 01:59:13PM +0100, Stefan Neis wrote: > On Thu, 30 Jan 2003, John Poltorak wrote: > > > > > Has anyone tried building DMAKE using gcc ? > > > > The supplied command for building on OS/2 is with icc. > > > > I guess I should try to combine the one for OS/2 with the one for Linux > > which uses gcc... > > Note: > If that's for rebuilding "gcc", then you probably do not want to have the > latest version of dmake - IIRC, the EMX documentation when describing how > to rebuild everything explicitly mentions which version of dmake has to be > used... It mentions v3.8, but I suspect that it is was that version used in previous versions of EMX. I'd be very surprised if v4.1 would not be able to use Makefiles for previous releases... As far as changing things goes, I've converted this:- gcc /c /I. /Ios2 /Ios2\ibm /Ios2\ibm\emx /Sp1 /Q /Fi- /O infer.c to this:- gcc -c -Zomf -I. -Ios2 -Ios2/ibm -Ios2/ibm/emx -O infer.c And the same for every other source file. Does that seem OK? It does eventually fail here:- [R:\unixos2\workdir\dmake]gcc -c -Zomf -I. -Ios2 -Ios2/ibm -Ios2/ibm/emx -O os2/ibm\tempnam.c os2/ibm\tempnam.c: In function `tempnam': os2/ibm\tempnam.c:51: argument `dir' doesn't match prototype c:\emx\include\stdio.h:234: prototype declaration os2/ibm\tempnam.c:51: argument `prefix' doesn't match prototype c:\emx\include\stdio.h:234: prototype declaration Maybe tempnam.c is not portable... > Regards, > Stefan > -- > Micro$oft is not an answer. It is a question. The answer is 'no'. > -- John **= Email 3 ==========================** Date: Thu, 30 Jan 2003 13:59:13 +0100 (CET) From: Stefan Neis Subject: Re: Building DMAKE with gcc On Thu, 30 Jan 2003, John Poltorak wrote: > > Has anyone tried building DMAKE using gcc ? > > The supplied command for building on OS/2 is with icc. > > I guess I should try to combine the one for OS/2 with the one for Linux > which uses gcc... Note: If that's for rebuilding "gcc", then you probably do not want to have the latest version of dmake - IIRC, the EMX documentation when describing how to rebuild everything explicitly mentions which version of dmake has to be used... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 4 ==========================** Date: Thu, 30 Jan 2003 14:49:42 +0000 From: John Poltorak Subject: SYSLOG source Can anyone tell me where I can get the original source for SYSLOG? -- John **= Email 5 ==========================** Date: Thu, 30 Jan 2003 18:55:06 +0100 (CET) From: Stefan Neis Subject: Re: Building DMAKE with gcc On Thu, 30 Jan 2003, John Poltorak wrote: > It mentions v3.8, but I suspect that it is was that version used in > previous versions of EMX. I'd be very surprised if v4.1 would not be able > to use Makefiles for previous releases... I seem to remember havind read that dmake v4.x and later are rather incompatible to older versions. There was a time when I had two dmake versions and GNUmake on my box in order to be able to compile all the things I wanted to compile. > As far as changing things goes, I've converted this:- > > gcc /c /I. /Ios2 /Ios2\ibm /Ios2\ibm\emx /Sp1 /Q /Fi- /O infer.c > > to this:- > > gcc -c -Zomf -I. -Ios2 -Ios2/ibm -Ios2/ibm/emx -O infer.c > > And the same for every other source file. Does that seem OK? I think so, I just wonder if it is needed... > It does eventually fail here:- > > > [R:\unixos2\workdir\dmake]gcc -c -Zomf -I. -Ios2 -Ios2/ibm -Ios2/ibm/emx -O os2/ibm\tempnam.c > os2/ibm\tempnam.c: In function `tempnam': > os2/ibm\tempnam.c:51: argument `dir' doesn't match prototype > c:\emx\include\stdio.h:234: prototype declaration > os2/ibm\tempnam.c:51: argument `prefix' doesn't match prototype > c:\emx\include\stdio.h:234: prototype declaration More likely the prototype has changed in the header file and requires a corresponding fix in the source file... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 6 ==========================** Date: Thu, 30 Jan 2003 21:35:42 +0100 From: Andreas Buening Subject: Re: UnixOS/2 docs Jeff Robinson wrote: [snip] > Something like this would be quite do-able. What I'd like to be able to > do, to help minimise (both my work! and) potential errors is to set up a > script that'd parse all these details from a file and setup these > tables. [snip] I think this won't be doable. What you could get from a PKGINFO file is just the name and version of the package. Whether it has NLS is more difficult but for other things (like what is the latest stable/beta version, whether is it recommended to upgrade, whether there are restrictions) it's (IMHO) impossible. For this you need direct human input. Only the responsible developer has this info. At least every developer would have to send you a (short) mail with this info. Just sending one sentence shouldn't be too much work. Then you could incorporate this info into some kind of data base and create an automatical build system for your web pages. :-) 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 Mordor where the Shadows lie.