From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Wed, 22 May 2002 04:26:05 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 222 ************************************************** Tuesday 21 May 2002 Number 222 ************************************************** Subjects for today 1 Re: make 3.79.1 and compiling emacs : John Poltorak 2 Re: GTAK / Gnu Tar / Newbie : John Poltorak 3 Re: OpenWatcom : Ken Ames 4 Re: OpenWatcom : glhudso at attglobal.net 5 Re: OpenWatcom : Dave and Natalie" 6 OpenWatcom : John Poltorak 7 Re: OpenWatcom : Jack Troughton 8 Re: OpenWatcom : Jack Troughton **= Email 1 ==========================** Date: Wed, 22 May 2002 09:42:32 +0100 From: John Poltorak Subject: Re: make 3.79.1 and compiling emacs On Tue, May 21, 2002 at 08:07:03AM -0400, Arnstein.Prytz at jcu.edu.au wrote: > > > AFAICR, I had problems trying to compile EMACS with the previous release. > > > Do you think it should work now? > > > > It should. But I haven't tested this special case. > > Does this mean someone may be able to update emacs for us (says > he hopefully, with little experience of his own)? I am using > 20.6.1 by Jeremy Bowen, but this has some serious bugs when > spawning processes to send mail and such. I was referring to v20.7... There were some instructions on the list a couple of months ago about how to build emacs v20.7 provided by Masaru Nomiya. I'll repost them here for anyone who missed them the first time:- These files are required. ftp://ftp.mirror.ac.uk/sites/ftp.gnu.org/pub/gnu/emacs/emacs-20.7.tar.gz ftp://ftp.mirror.ac.uk/sites/ftp.gnu.org/pub/gnu/emacs/leim-20.7.tar.gz http://www.asahi-net.or.jp/~ik3a-nsmr/emacs-20.7-KIT1.9.tgz To build Emacs-20.7, 1. tar zxf SOMEWHERE\emacs-20.7.tar.gz 2. tar zxf SOMEWHERE\leim-20.7.tar.gz 3. cd emacs-20.7 4. chmod +rw -R* 5. untgz SOMEWHERE\emacs-20.7-KIT1.9.tgz 6. configure.cmd --with-bsd-socket --with-xf86sup-pty Execution of configure.cmd ask you twice, just press Enter key 8. edit src\puresize.h as follows (line 36-43); #ifndef SYSTEM_PURESIZE_EXTRA /* #define SYSTEM_PURESIZE_EXTRA 0 */ #define SYSTEM_PURESIZE_EXTRA 200000 $B"+(B this number #endif #ifndef SITELOAD_PURESIZE_EXTRA #define SITELOAD_PURESIZE_EXTRA 200000 $B"+(B this nimber #endif Moreover, I have edited src\config.h as follows (line 246-248); #define EMACS_CONFIGURATION "AthlonXP OS/2_Warp_V4.51 emx09d_fix04" #define EMACS_CONFIG_OPTIONS "--emacs-configuration=AthlonXP OS/2_Warp_V4.51 emx 7. SET INCLUDE=x:/emx/include SET NAME=John Poltorak $B"+(B ADD this in CONDIF.SYS 8. make 9. del src\emacs.exe 10. make 11. add emacs-20.7\src to SET PATH in the CONFIG.SYS In my case, SET PATH=....;\g:\usr\local\emacs-20.7\src; And add these 3 lines SET EMACSROOT=g:/usr/local/emacs-20.7 SET EMACSLOADPATH=g:/usr/local/emacs-20.7/lisp;g:/usr/local/emacs-20.7/site-lisp;g:/usr/local/emacs-20.7/leim SET NAME=Arnstein Prytz (Yes, I executed make under the g:\usr\local directory.) 12. make emacs.cmd like this g:\usr\local\emacs-20.7\src\emacs.exe then relate with a nice icon (emacs.ico) which is in the ..\emacs-20.7\os2. 13. Reboot That's all. It took me a couple of attempts, but I did manage to build it eventually, although I did have a problem with a previous release of Make 3.79.1. > Regards, Arnstein > ------------------------------------------------------------------ > Arnstein Prytz Arnstein.Prytz at jcu.edu.au > School of Maths and Physics ph: 61-7-47815183 > James Cook University fax: 61-7-47815880 > Townsville, Queensland 4811, Australia > ------------------------------------------------------------------ > -- John **= Email 2 ==========================** Date: Wed, 22 May 2002 10:22:55 +0100 From: John Poltorak Subject: Re: GTAK / Gnu Tar / Newbie On Tue, May 21, 2002 at 03:23:30PM -0700, Dan Drake wrote: > >... This list should be regarded as complementary to > >the XFree86OS/2 list and is only concerned with base utils, > >scripting and installation. EMX development and porting guides > >are covered elsewhere. > > I'm not sure whether this is the right place for my queries; if not, is there a > better one? If this isn't the right list, ignore the following: > > I'd like to be able to build GTAK or any sort of Gnu Tar for OS/2. This would > let me work on a couple of little things, like its practice of crashing at an > indefinite time *after* reloading certain Desktop folders that it previously > dumped with the --posix option. This list is for anyone interested in having a Unix-like environment on OS/2, and TAR is a particularly important component of that environment, but is unfortunately way behind the current Unix version. It would be great to have an update. > The most recent distributions don't have source for certain parts, like tape.c, > which aren't officially open source and never claimed to be. This is an even > bigger barrier to building it than the fact that the Make file assumes > different directories from those in the distribution. > > There is at least one very old version that seems to have all the necessary > source -- in ancient 16-bit form. Which version is this? I never found anything which had the complete source code. > The project of hacking that to work with > the recent source is one that I'd rather not try -- assuming it can be done at > all -- if anyone else has already done it. > > Does anyone have a build? Or leads to one? Or the leads to track down > the long-gone author from his former job with a German streetcar > company? Naturally, if I ever get anywhere on this project, the results will > go up on my Web site, insofar as it seems to be legal to redistribute the > stuff I work from. AIUI Kai Uwe Rommel, who did make some contribution to the original port was going to try and get hold of the source from the porter's former employer, but he didn't have any intention of updating the OS/2 version. Maybe contatct him to see if he has been successful. As for the included source code, does anyone know what it actually does provide? Maybe it can be used for manipulating TAR files without necessarily using tapes. Maybe the tape functionality itself could be re-written to use some more generic like ASPIROUT.SYS, if that is possible. > -- > Dan Drake > dd at dandrake.com > http://www.dandrake.com/ > -- John **= Email 3 ==========================** Date: Wed, 22 May 2002 18:39:00 -0400 (EDT) From: Ken Ames Subject: Re: OpenWatcom Holger says x apps can only be built with gcc/emx. I am hoping Openwatcom will start to do some of the open source software. Ken On Wed, 22 May 2002 21:43:05 +0100, John Poltorak wrote: > >Is it possible to use OpenWatcom to build certain open source apps? > > >-- >John > > > **= Email 4 ==========================** Date: Wed, 22 May 2002 19:16:35 -0700 From: glhudso at attglobal.net Subject: Re: OpenWatcom > Jack Troughton wrote: > Here's one for the gamers out there... Descent and Descent II were > compiled with version 10 of watcom, and are now open source. I have the > source rars here... I've been thinking of taking a shot at them with > watcom, but admit to feeling a little intimidated:) IANAP, and when I > look at the source files I get a strong feeling of Not Having a Clue. > > Though I guess I have to say that I think other things are a higher > priority than an eight year old videogame... but wotta game, ladies and > gents, wotta game:) I agree. I think Descent is one of the best games ever made. When Descent I came out I would do OS/2 demos with Descent running in a DOS box while downloading from a BBS. **= Email 5 ==========================** Date: Wed, 22 May 2002 20:34:24 -0800 From: "Dave and Natalie" Subject: Re: OpenWatcom On Wed, 22 May 2002 21:43:05 +0100, John Poltorak wrote: > >Is it possible to use OpenWatcom to build certain open source apps? Also does anyone know how to setup OpenWhatcom to use the toolkit headers or the EMX headers? So I can at least compile Hello World Dave **= Email 6 ==========================** Date: Wed, 22 May 2002 21:43:05 +0100 From: John Poltorak Subject: OpenWatcom Is it possible to use OpenWatcom to build certain open source apps? -- John **= Email 7 ==========================** Date: Wed, 22 May 2002 21:56:49 -0400 From: Jack Troughton Subject: Re: OpenWatcom Ken Ames wrote: > Holger says x apps can only be built with gcc/emx. I am hoping Openwatcom will start > to do some of the open source software. Well, open source is more about the license than the tools. It just so happens _so far_ that the bulk of the open source stuff out there is done with gcc... but that's not true for all of them. Here's one for the gamers out there... Descent and Descent II were compiled with version 10 of watcom, and are now open source. I have the source rars here... I've been thinking of taking a shot at them with watcom, but admit to feeling a little intimidated:) IANAP, and when I look at the source files I get a strong feeling of Not Having a Clue. Though I guess I have to say that I think other things are a higher priority than an eight year old videogame... but wotta game, ladies and gents, wotta game:) Actually, one thing that could come out with the open watcom project that would be very good would be if some of the other languages and target hardware platforms that are currently available under gcc could make their way into openwatcom... I think that the cross pollination between the two compilers could result in very powerful tools in the longer term. > On Wed, 22 May 2002 21:43:05 +0100, John Poltorak wrote: > >>Is it possible to use OpenWatcom to build certain open source apps? -- ------------------------------------------------------------------- * Jack Troughton jake at consultron.ca * * http://consultron.ca irc.ecomstation.ca * * Laval Qu‚bec Canada news://news.consultron.ca * ------------------------------------------------------------------- **= Email 8 ==========================** Date: Wed, 22 May 2002 22:35:13 -0400 From: Jack Troughton Subject: Re: OpenWatcom glhudso at attglobal.net wrote: >>Jack Troughton wrote: >>Here's one for the gamers out there... Descent and Descent II were >>compiled with version 10 of watcom, and are now open source. I have the >>source rars here... I've been thinking of taking a shot at them with >>watcom, but admit to feeling a little intimidated:) IANAP, and when I >>look at the source files I get a strong feeling of Not Having a Clue. >> >>Though I guess I have to say that I think other things are a higher >>priority than an eight year old videogame... but wotta game, ladies and >>gents, wotta game:) > > > I agree. I think Descent is one of the best games ever made. I'm thinking I might try to make it my "learn C" project... when I have more time;) Certain aspects of it are quite complex... but some of it is also very simple. > When Descent I came out I would do OS/2 demos with Descent running in a > DOS box while downloading from a BBS. OS/2 has always been the best Descent platform period. Did you ever try Descent with KaliOS/2? It was a much better performer than it ever was under DOS or under Windows (Kali95). Under '95, my ping to the kali descent server inside the game would be ~700, while with KaliOS/2 it would be two to three hundred. This was all over dialup, and was a great demonstration of the superiority of the OS/2 networking stack over the one in Win95. -- ------------------------------------------------------------------- * Jack Troughton jake at consultron.ca * * http://consultron.ca irc.ecomstation.ca * * Laval Qu‚bec Canada news://news.consultron.ca * -------------------------------------------------------------------