Date: Sat, 25 Dec 2004 00:04:18 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 483 ************************************************** Friday 24 December 2004 Number 483 ************************************************** Subjects for today 1 LIBC 6 b2 - pipe and sockets : lsunley at mb.sympatico.ca 2 CC1.EXE & SYS3176 : John Poltorak 3 Re: CC1.EXE & SYS3176 : lsunley at mb.sympatico.ca 4 Re: CC1.EXE & SYS3176 : Dave Yeo" 5 A pointer to a good guide to getting GCC (etc) installed : Harbinson, Jeremy" 6 Re: A pointer to a good guide to getting GCC (etc) installed : John Poltorak 7 Re: CC1.EXE & SYS3176 : John Poltorak **= Email 1 ==========================** Date: Thu, 23 Dec 2004 18:56:49 -0500 From: lsunley at mb.sympatico.ca Subject: LIBC 6 b2 - pipe and sockets Hi all, I noticed that you cannot use a pipe in a select() statement. Is this an error or a limitation? The code in postgreSQL allocates a couple of pipes for stats data collection and then attemtpts to use the pipe handle in select(). This returns a -1 error with a message of "invalid parameter". I adapted the win32 work around for the equivalent problem to OS/2 to avoid the error. The work around consists of allocating a couple of sockets to 127.0.0.1 to act as pipes. Lorne -- ----------------------------------------------------------- lsunley at mb.sympatico.ca ----------------------------------------------------------- **= Email 2 ==========================** Date: Fri, 24 Dec 2004 02:04:53 +0000 From: John Poltorak Subject: CC1.EXE & SYS3176 Has anyone come across a SYS3176 before? I got a couple of them earlier with a popup which said:- A program executed an illegal instruction at 000ce116 CC1.EXE 0001:000be116 I don't currently have the POPUPLOG.OS2 info at hand. This is CC1.EXE from EMX/GCC 2.8.1. Could this be hardware related? I've been re-assembling an old machine which made be showing signs of ageing. It's also a MCA/PCI hybrid which is bound to trip up a few programs at some point. -- John **= Email 3 ==========================** Date: Thu, 23 Dec 2004 21:04:12 -0500 From: lsunley at mb.sympatico.ca Subject: Re: CC1.EXE & SYS3176 That's an illegal instruction right? Could be spotty RAM that is causing the problem or the compiler is actually using an instruction the CPU does not support Lorne In <20041224020453.A45 at warpix.org>, on 12/24/04 at 02:04 AM, John Poltorak said: >Has anyone come across a SYS3176 before? >I got a couple of them earlier with a popup which said:- >A program executed an illegal instruction at 000ce116 >CC1.EXE 0001:000be116 >I don't currently have the POPUPLOG.OS2 info at hand. >This is CC1.EXE from EMX/GCC 2.8.1. >Could this be hardware related? I've been re-assembling an old machine >which made be showing signs of ageing. It's also a MCA/PCI hybrid which >is bound to trip up a few programs at some point. -- ----------------------------------------------------------- lsunley at mb.sympatico.ca ----------------------------------------------------------- **= Email 4 ==========================** Date: Thu, 23 Dec 2004 20:20:45 -0800 From: "Dave Yeo" Subject: Re: CC1.EXE & SYS3176 On Fri, 24 Dec 2004 02:04:53 +0000, John Poltorak wrote: >Has anyone come across a SYS3176 before? Sure I've got a bunch in popup.log, all related to imake trying to fork when built with innoteks libc. Also those sigils are also an illegal instruction. > > >I got a couple of them earlier with a popup which said:- > >A program executed an illegal instruction at 000ce116 >CC1.EXE 0001:000be116 > >I don't currently have the POPUPLOG.OS2 info at hand. > >This is CC1.EXE from EMX/GCC 2.8.1. > >Could this be hardware related? I've been re-assembling an old machine >which made be showing signs of ageing. It's also a MCA/PCI hybrid which is >bound to trip up a few programs at some point. Most likely is hardware related. Try reseating everything and running memtest or perhaps ramtest.zip that someone uploaded to Hobbes incoming just for you Dave **= Email 5 ==========================** Date: Fri, 24 Dec 2004 12:27:18 +0100 From: "Harbinson, Jeremy" Subject: A pointer to a good guide to getting GCC (etc) installed This is a multi-part message in MIME format. ------_=_NextPart_001_01C4E9AB.86E4FE5D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I have a look around for a good guide for installing GCC and related tools - there seem to be a few. Can someone suggest which is the most 'correct' and useful? Thanks, Jeremy Harbinson =20 ------_=_NextPart_001_01C4E9AB.86E4FE5D Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable A pointer to a good guide to getting GCC (etc) installed

Hi,
I have a look around for a good guide = for installing GCC and related tools - there seem to be a few. Can = someone suggest which is the most 'correct' and useful?

Thanks,
Jeremy Harbinson 

------_=_NextPart_001_01C4E9AB.86E4FE5D-- **= Email 6 ==========================** Date: Fri, 24 Dec 2004 11:46:20 +0000 From: John Poltorak Subject: Re: A pointer to a good guide to getting GCC (etc) installed On Fri, Dec 24, 2004 at 12:27:18PM +0100, Harbinson, Jeremy wrote: > Hi, > I have a look around for a good guide for installing GCC and related > tools - there seem to be a few. Can someone suggest which is the most > 'correct' and useful? You could try running UX2BS which provides you with a full build system. It's currently based on EMX/GCC v2.8.1 but is pretty useful and does allow you to build quite a lot of apps. There is no support for gcc 3.3.5 just yet but that is being worked on and may become available if/when Perl is buildable with it. You can find more details about UX2BS by subscribing to the UX2BS mailing list:- http://os2ports.com/mailman/listinfo/ux2bs If you are particulary adventurous and have a spare drive with around 1GB of free spaces you could build and install the whole thing by running this command:- wget ftp://unixos2: at 213.152.37.92/pub/unixos2/build_system/lib/ux2_bootstrap.cmd and then running ux2_bootstrap. > Thanks, > Jeremy Harbinson -- John **= Email 7 ==========================** Date: Fri, 24 Dec 2004 11:55:24 +0000 From: John Poltorak Subject: Re: CC1.EXE & SYS3176 On Thu, Dec 23, 2004 at 08:20:45PM -0800, Dave Yeo wrote: > On Fri, 24 Dec 2004 02:04:53 +0000, John Poltorak wrote: > > > >This is CC1.EXE from EMX/GCC 2.8.1. > > > >Could this be hardware related? I've been re-assembling an old machine > >which made be showing signs of ageing. It's also a MCA/PCI hybrid which is > >bound to trip up a few programs at some point. > > Most likely is hardware related. Try reseating everything and running memtest or > perhaps ramtest.zip that someone uploaded to Hobbes incoming just for you I ran RAMTEST but everything checked OK. I've also just got a system trap:- Exception in device driver: TRAP 000e It doesn't mention which device driver which is strange. Was it a particular kernel which started providing more useful information? I'm currently using Int. rev. 14.062_W4 on the machine having problems. > Dave -- John