Date: Wed, 26 May 2004 00:04:15 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 386 ************************************************** Tuesday 25 May 2004 Number 386 ************************************************** Subjects for today 1 Re: posix threads library : Dave Yeo" 2 bootAble + UnixOS/2 : John Poltorak 3 Re: bootAble + UnixOS/2 : Jon Saxton" 4 Re: bootAble + UnixOS/2 : John Poltorak 5 Re: bootAble + UnixOS/2 : Jon Saxton" 6 Re: posix threads library : Dave Yeo" **= Email 1 ==========================** Date: Mon, 24 May 2004 08:50:37 -0800 From: "Dave Yeo" Subject: Re: posix threads library On Thu, 20 May 2004 17:35:37 -0400, Jon Saxton wrote: >I have just built the posix threads library from the xine/netlabs sources >(http://www.reamined.on.ca/doconnor/xine/xinepthread.zip) as suggested by JP. >During the process I found that most of the source files had a ^Z at the end >(which caused gcc to report an error) and a few did not end in a LF (which >caused gcc to emit a warning). After correcting few of these in the editor I >wrote a little program to fix the files which needed it. > >Question: Is this a common problem? Interestingly gcc 2.8.1 didn't complain about the missing newlines or the stray \32 (ctrl-Z) though it did die with emxomf: Symbol multiply defined: pthread_yield GCC 3.0.3 did complain about multiple defined symbols. Running the test suite gives sys3170s in doscalls1 even after fixing the DEF file. Dave **= Email 2 ==========================** Date: Mon, 24 May 2004 17:57:12 +0100 From: John Poltorak Subject: bootAble + UnixOS/2 I've been messing around with the bootAble package over the last few days aan thought it would be nice to set up a bootable CD whicj included a UnixOS/2 installation on it. I'm still not sure how to do it since I've only just worked out how to create a bootable CD, but in theory it shouldn't be too difficult, although I can't work out the drive letter of CD is assigned. -- John **= Email 3 ==========================** Date: Mon, 24 May 2004 13:40:13 -0400 From: "Jon Saxton" Subject: Re: bootAble + UnixOS/2 ** Reply to note from John Poltorak on Mon, 24 May 2004 17:57:12 +0100 > I've been messing around with the bootAble package over the last few days > aan thought it would be nice to set up a bootable CD whicj included a > UnixOS/2 installation on it. > > I'm still not sure how to do it since I've only just worked out how to > create a bootable CD, but in theory it shouldn't be too difficult, > although I can't work out the drive letter of CD is assigned. John: I did quite a bit of work with bootAble a while back, fixed some of the scripts and added some extras. I even have a batch file that creates the CD. I'll be happy to share those with you. -- Jon Saxton Developer of cross-platform software for UNIX, Windows and OS/2 U.S. agent for Triton Technologies International Ltd http://www.triton.vg/ **= Email 4 ==========================** Date: Mon, 24 May 2004 20:27:06 +0100 From: John Poltorak Subject: Re: bootAble + UnixOS/2 On Mon, May 24, 2004 at 01:40:13PM -0400, Jon Saxton wrote: > ** Reply to note from John Poltorak on Mon, 24 May 2004 > 17:57:12 +0100 > > > > I've been messing around with the bootAble package over the last few days > > aan thought it would be nice to set up a bootable CD whicj included a > > UnixOS/2 installation on it. > > > > I'm still not sure how to do it since I've only just worked out how to > > create a bootable CD, but in theory it shouldn't be too difficult, > > although I can't work out the drive letter of CD is assigned. > > John: > > I did quite a bit of work with bootAble a while back, fixed some of the scripts > and added some extras. I even have a batch file that creates the CD. I'll be > happy to share those with you. As it comes, bootAble is supposed to be able to create a CD. I havn't quite mastered it yet sinc ethe program is unable to pick out my CDRW automatically, but I'm slowly getting familiar with it. Once I get the standard functions working I'll quizz you on what you added, if that is OK... I'd like to add XFree86 at some point, but just now I can't even use TEDIT although I believe it has been packed into MEMDISK somewhere. Currently I just get a Z: drive on booting, which I guess must be a memdisk drive. I can't access the CDROM as a drive letter. That may be because I was using JJSCDROM, although I'm not sure that it was copied to the image. There are too many questions about how it works at the moment for me to be able to take too much more in. I'd like to know if there is any way to see inside those *.pf files so that I can get an idea of what goes inside them. > -- > Jon Saxton Developer of cross-platform software for UNIX, Windows and OS/2 > U.S. agent for Triton Technologies International Ltd > http://www.triton.vg/ -- John **= Email 5 ==========================** Date: Tue, 25 May 2004 00:07:18 -0400 From: "Jon Saxton" Subject: Re: bootAble + UnixOS/2 ** Reply to note from John Poltorak on Mon, 24 May 2004 20:27:06 +0100 bootAble has a lot of prerequisites. Assuming those are all in place then the main thing is that you create your own personalised configuration file for bootAble and supply its name on the command line. A sample is provided in bootAble.mycfg. Mine (bootAble.jrs) starts off with things like WRITERDRIVE = "R:" VIRTUALDRIVE = "U:" RESERVEDRIVELETTER = "Q" CDROMDRIVE = "R:" The one you're probably missing is WRITERDRIVE. You should be fine with JJSCDROM. It works. Here is my makecd.cmd: cdattach r: cdwfmt r: /erase vfctrl u: 4 call bootable bootable.jrs bootable.tshell at echo Flushing CD cdattach r: -s which does everything automatically for me. The bootable.tshell is an extra thing I wrote to load the OS/2 1.0 style text mode multi-tasker so I can do more than one thing at a time when booted from the CD. I use bootAble for creating system recovery CDs so I have other scripts which zip up the C: drive and back up my email and other volatile directories. I've added stuff to load tools and utilities (such as dfsee) that I want to be able to use in recovery mode. It does take a bit of time and effort to become familiar with bootAble but it is really worth the trouble. Once you have it set up, it is really easy to use, so much so that I make a system backup any time I am about to do something more than trivial to my system. I am not sure what you mean by the .pf files. I don't have any of those. -- Jon Saxton Developer of cross-platform software for UNIX, Windows and OS/2 U.S. agent for Triton Technologies International Ltd http://www.triton.vg/ **= Email 6 ==========================** Date: Mon, 24 May 2004 23:04:42 -0800 From: "Dave Yeo" Subject: Re: posix threads library On Fri, 21 May 2004 14:49:06 -0400, Jon Saxton wrote: > >These are pretty minor issues but there's another that I have not yet resolved, >namely that "make test" fails with a missing DLL. The DLL isn't built in the >main phase. If I recall correctly, it is because of duplicate exports. Did you run dopthread.cmd after finishing the make? This also installs into /emx Dave