Date: Tue, 23 Aug 2005 00:05:19 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 604 ************************************************** Monday 22 August 2005 Number 604 ************************************************** Subjects for today 1 Re: coreutils with gcc 3.3.5 b4 : Andy Willis 2 translate program : Igor Kresnik 3 Checking version : Dave Yeo" 4 Re: Checking version : Henry Sobotka 5 Re: coreutils with gcc 3.3.5 b4 : Dave Yeo" 6 question : Igor Kresnik 7 Re: coreutils with gcc 3.3.5 b4 : Knut St. Osmundsen" 8 Re: coreutils with gcc 3.3.5 b4 : Dave Yeo" **= Email 1 ==========================** Date: Sun, 21 Aug 2005 09:06:33 -0600 From: Andy Willis Subject: Re: coreutils with gcc 3.3.5 b4 Steven Levine wrote: > In <41F03753.5070503 at comcast.net>, on 01/20/05 > at 03:57 PM, Andy Willis said: > > >> I am seeing a few other things as I try to use them to build Mozilla. >> Touch gets an access denied as did mv when trying to copy over an >> existing file. cp couldn't understand a path that the Mozilla build >> process through at it that contained a dot (eg. foo/foo/./foo/foo). I >> really don't know of any reason that the existing tools need replacing, >> I just wanted to see if I could build them. >> > > If you get the urge, you might test md5sum. mdsum v2.0.11 can not check > file using the md5 lists it builds. Try: > > md5sum * >tmp.md5 > md5sum -c tmp.md5 > > Steven > > > If it is of interest still, I built the coreutils 5.2.1 which seems to be working pretty well so far. I used the new -Zargs-wild when I built and tested the above. It works fine, there is one variation between creating the list using ash or from running in the 4os2 screen. If I create the list from the 4os2 command line it also creates a md5sum for tmp.md5 which shows failed when doing the check (the failure of course is expected as it changed) but if I create the list while in ash it does not include tmp.md5 in the list thus does not show an error for it. As for the rest of the tools even su.exe built but isn't useful as it just tells me: "su.exe: user root does not exist". Andy **= Email 2 ==========================** Date: Sun, 21 Aug 2005 18:31:01 +0200 From: Igor Kresnik Subject: translate program Hello My name its Igor. In OS/2. In Linux i use QT designer for designer program and Kdeveloper for deweloping program. Now i like know witch tool i must use for translate my programs for OS/2? Regards, Igor -- Lep pozdrav / Best regards / Cordiali Saluti Igor Kresnik Odprto kodni programi(Open source programs) http://kresnikigor.freewebpage.org, kresnik.igor at gmail.com, igorkresnik at netscape.net ICQ:146957380 GSM: 040 325 843 **= Email 3 ==========================** Date: Sun, 21 Aug 2005 10:24:59 -0800 From: "Dave Yeo" Subject: Checking version If I want a define that only gets defined for Innotek_libc < 6 what is the correct syntax? #ifdef __INNOTEK_LIBC__ < 6 #define foo 1 #endif Would be my guess but doesn't seem right Dave **= Email 4 ==========================** Date: Sun, 21 Aug 2005 14:25:46 -0400 From: Henry Sobotka Subject: Re: Checking version Dave Yeo wrote: > If I want a define that only gets defined for Innotek_libc < 6 what is the correct syntax? > #ifdef __INNOTEK_LIBC__ < 6 > #define foo 1 > #endif > > Would be my guess but doesn't seem right Just replace #ifdef with #if and you should be ok. h~ **= Email 5 ==========================** Date: Sun, 21 Aug 2005 11:39:29 -0800 From: "Dave Yeo" Subject: Re: coreutils with gcc 3.3.5 b4 On Sun, 21 Aug 2005 09:06:33 -0600, Andy Willis wrote: >If it is of interest still, I built the coreutils 5.2.1 which seems to >be working pretty well so far. I used the new -Zargs-wild when I built >and tested the above. It works fine, there is one variation between >creating the list using ash or from running in the 4os2 screen. If I >create the list from the 4os2 command line it also creates a md5sum for >tmp.md5 which shows failed when doing the check (the failure of course >is expected as it changed) but if I create the list while in ash it does >not include tmp.md5 in the list thus does not show an error for it. >As for the rest of the tools even su.exe built but isn't useful as it >just tells me: "su.exe: user root does not exist". >Andy What exactly does -Zargs-wild do? Also you might want to try installing the SSES package which will give you a root user and might be picked up by configure. I know the odd time here packages find root. Dave **= Email 6 ==========================** Date: Sun, 21 Aug 2005 22:10:51 +0200 From: Igor Kresnik Subject: question Hello My name its Igor. In OS/2. In Linux i use QT designer for designer program and Kdeveloper for deweloping program. Now i like know witch tool i must use for translate my programs for OS/2? Regards, Igor -- Lep pozdrav / Best regards / Cordiali Saluti Igor Kresnik Odprto kodni programi(Open source programs) http://kresnikigor.freewebpage.org, kresnik.igor at gmail.com, igorkresnik at netscape.net ICQ:146957380 GSM: 040 325 843 **= Email 7 ==========================** Date: Mon, 22 Aug 2005 00:02:45 +0200 From: "Knut St. Osmundsen" Subject: Re: coreutils with gcc 3.3.5 b4 Dave Yeo wrote: > On Sun, 21 Aug 2005 09:06:33 -0600, Andy Willis wrote: > > >> If it is of interest still, I built the coreutils 5.2.1 which seems >> to be working pretty well so far. I used the new -Zargs-wild when >> I built and tested the above. It works fine, there is one >> variation between creating the list using ash or from running in >> the 4os2 screen. If I create the list from the 4os2 command line >> it also creates a md5sum for tmp.md5 which shows failed when doing >> the check (the failure of course is expected as it changed) but if >> I create the list while in ash it does not include tmp.md5 in the >> list thus does not show an error for it. As for the rest of the >> tools even su.exe built but isn't useful as it just tells me: >> "su.exe: user root does not exist". Andy > > > What exactly does -Zargs-wild do? Same as _wildcard(&argc, &argv) - it's a feature request origining from this list some time ago. There is also -Zargs-resp which does the _response(&argc, &argv) thingy. > Also you might want to try installing the SSES package which will > give you a root user and might be picked up by configure. I know the > odd time here packages find root. No, there is no SSES/2 interface or whatever in LIBC (at least not from me). What you have to do to get users and suchlike is to initialize the password and group databases using BSD pwd_mkdb. I'm working on a baselayout like packet (idle time priority) which will provide that. I'll make sure it shows up in the netlabs CVS within the next few days. BTW. chroot should work fine too. It'll will not provide a "jail" like on BSD, but something I like calling a "unix compartment" with lot's of OS/2 exits. :-) Kind Regards, knut **= Email 8 ==========================** Date: Sun, 21 Aug 2005 23:11:29 -0800 From: "Dave Yeo" Subject: Re: coreutils with gcc 3.3.5 b4 On Mon, 22 Aug 2005 00:02:45 +0200, Knut St. Osmundsen wrote: >No, there is no SSES/2 interface or whatever in LIBC (at least not from >me). What you have to do to get users and suchlike is to initialize the >password and group databases using BSD pwd_mkdb. I'm working on a >baselayout like packet (idle time priority) which will provide that. >I'll make sure it shows up in the netlabs CVS within the next few days. > >BTW. chroot should work fine too. It'll will not provide a "jail" like >on BSD, but something I like calling a "unix compartment" with lot's of >OS/2 exits. :-) Actually I think it was just /etc/passwd that was picked up by configure. Thanks for the explaination about -Zargs-wild and other work Dave