Date: Sun, 28 Mar 2004 00:04:03 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 327 ************************************************** Saturday 27 March 2004 Number 327 ************************************************** Subjects for today 1 Crosscompiling : Johannes Fahrenkrug 2 Re: Building subversion (was /vfs?) : John Poltorak 3 Re: Building subversion (was /vfs?) : Johannes Fahrenkrug 4 Re: Building subversion (was /vfs?) : John Poltorak 5 Re: Building subversion (was /vfs?) : IanM" 6 Re: Building subversion (was /vfs?) : Johannes Fahrenkrug 7 Makefile - default target : John Poltorak 8 Re: Makefile - default target : Steven Levine" 9 Re: Crosscompiling : Steve Wendt 10 Re: Crosscompiling : John Poltorak 11 Re: Makefile - default target : John Poltorak 12 Readline : John Poltorak 13 Building Make v3.79.1 : John Poltorak **= Email 1 ==========================** Date: Fri, 26 Mar 2004 15:27:03 GMT From: Johannes Fahrenkrug Subject: Crosscompiling Hi, I have a short question: is it possible to crosscompile something on a linux box so that it will run on OS/2? I read somewhere that you can install gcc with emx on a linux box and then create OS/2 binaries... but I wasn't able to find anything that talks about HOW to actually do it... -Johannes. **= Email 2 ==========================** Date: Fri, 26 Mar 2004 14:28:25 +0000 From: John Poltorak Subject: Re: Building subversion (was /vfs?) On Fri, Mar 26, 2004 at 01:01:35PM +0000, Johannes Fahrenkrug wrote: > > > > I'm also using the UX2BS. > > > When did you get hold of it? > > I freshly re-installed it with ux2_inst this morning. Where from? You should only install UX2BS using ux2_bootstrap.cmd. If you don't then certain variables don't get set. > > It would be great to be build it, and even better to do it without > > needing to change any source code, which means we don't need a > maintainer. > > That is true... well, for now the point is to build it at all. Then we > could at least release a binary until it works with the build command. > Because there is not a single subversion client out there for OS/2... Well, I tried another build starting out with autogen.sh and got exactly the same error as yesterday - a problem with arc4random. > -Johannes. -- John **= Email 3 ==========================** Date: Fri, 26 Mar 2004 16:07:03 GMT From: Johannes Fahrenkrug Subject: Re: Building subversion (was /vfs?) Hi, > Where from? From unixos2.com > You should only install UX2BS using ux2_bootstrap.cmd. If you don't then > certain variables don't get set. Ok, I'll try that. Do I also get it on unixos2.com? > > > It would be great to be build it, and even better to do it without > > > needing to change any source code, which means we don't need a > > maintainer. > > > > That is true... well, for now the point is to build it at all. Then we > > could at least release a binary until it works with the build command. > > Because there is not a single subversion client out there for OS/2.. **= Email 4 ==========================** Date: Fri, 26 Mar 2004 15:16:48 +0000 From: John Poltorak Subject: Re: Building subversion (was /vfs?) On Fri, Mar 26, 2004 at 04:07:03PM +0000, Johannes Fahrenkrug wrote: > Hi, > > > Where from? > > From unixos2.com > > > You should only install UX2BS using ux2_bootstrap.cmd. If you don't > then > > certain variables don't get set. > > Ok, I'll try that. Do I also get it on unixos2.com? No. Things seem to have got out of synch... You need to run this first:- wget ftp://unixos2: at 213.152.37.92/pub/unixos2/build_system/lib/ux2_bootstrap.cmd I you have already downloaded a number of file archives, you should move them to another location and set %repository% to that location. For that variable to be effective, it should be added to ux2_bootstrap.cmd before you run it. You may also want to subscribe to the UX2BS list as well since that focuses on using UX2BS. Best of luck. -- John **= Email 5 ==========================** Date: Sat, 27 Mar 2004 02:47:10 +1100 (EDT) From: "IanM" Subject: Re: Building subversion (was /vfs?) > > Ok, I'll try that. Do I also get it on unixos2.com? > > No. Things seem to have got out of synch... Just updated ux2_bootstrap.cmd on unixos2.com, date displayed will be wrong until the next html update but its the same as from Johns site now. Cheers IanM http://www.os2site.com/ WHOA!!! That was close! You almost caught me caring. **= Email 6 ==========================** Date: Fri, 26 Mar 2004 16:55:29 GMT From: Johannes Fahrenkrug Subject: Re: Building subversion (was /vfs?) Hi again, > No. Things seem to have got out of synch... > You need to run this first:- > wget ftp://unixos2: at 213.152.37.92/pub/unixos2/build_system/lib/ux2_bootstrap.cmd ok, got it... > I you have already downloaded a number of file archives, you should move > them to another location and set %repository% to that location. For that > variable to be effective, it should be added to ux2_bootstrap.cmd before > you run it. > You may also want to subscribe to the UX2BS list as well since that > focuses on using UX2BS. Ok, I'll do all that on monday, weekend's calling now :) Thank you so much for you help already, we'll continue on monday :) Have a nice weekend! Johannes. **= Email 7 ==========================** Date: Fri, 26 Mar 2004 21:11:46 +0000 From: John Poltorak Subject: Makefile - default target Is there any way to create a default target in a Makefile so that when a target is specified which does actually exist a given rule will be invoked? ie if you run make abc, and there is no abc: target in the Makefile, the default: will be used instead. -- John **= Email 8 ==========================** Date: Fri, 26 Mar 2004 15:17:48 -0800 From: "Steven Levine" Subject: Re: Makefile - default target In <20040326211146.W44505 at warpix.org>, on 03/26/04 at 09:11 PM, John Poltorak said: >Is there any way to create a default target in a Makefile so that when a >target is specified which does actually exist a given rule will be >invoked? TTBOMK, no. You could put a wrapper around make to check the error code and restart. What are you actually trying to accomplish? HTH, Steven -- ---------------------------------------------------------------------- "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) ---------------------------------------------------------------------- **= Email 9 ==========================** Date: Fri, 26 Mar 2004 18:06:12 -0800 (PST) From: Steve Wendt Subject: Re: Crosscompiling On Fri, 26 Mar 2004, Johannes Fahrenkrug wrote: > I have a short question: is it possible to crosscompile something on a > linux box so that it will run on OS/2? Cross-compiling with GCC is a nightmare for supported platforms, without even mentioning OS/2. When the Linux port of OpenWatcom has been completed, then you might want to try cross-compiling. ;) **= Email 10 ==========================** Date: Sat, 27 Mar 2004 09:57:33 +0000 From: John Poltorak Subject: Re: Crosscompiling On Fri, Mar 26, 2004 at 06:06:12PM -0800, Steve Wendt wrote: > On Fri, 26 Mar 2004, Johannes Fahrenkrug wrote: > > > I have a short question: is it possible to crosscompile something on a > > linux box so that it will run on OS/2? > > Cross-compiling with GCC is a nightmare for supported platforms, without > even mentioning OS/2. When the Linux port of OpenWatcom has been > completed, then you might want to try cross-compiling. ;) Is there any chance of OpenWatcom being able to build major open source apps like Perl in the not too distant future, if ever? -- John **= Email 11 ==========================** Date: Sat, 27 Mar 2004 09:55:29 +0000 From: John Poltorak Subject: Re: Makefile - default target On Fri, Mar 26, 2004 at 03:17:48PM -0800, Steven Levine wrote: > In <20040326211146.W44505 at warpix.org>, on 03/26/04 > at 09:11 PM, John Poltorak said: > > >Is there any way to create a default target in a Makefile so that when a > >target is specified which does actually exist a given rule will be > >invoked? > > TTBOMK, no. You could put a wrapper around make to check the error code > and restart. > > What are you actually trying to accomplish? I'm thinking of developing a Makefile for UX2BS to handle dependencies. It's pointless building certain apps, for instance something like dialog, unless ncurses has already been built, so, since make was developed to handle dependencies I thought I'd try and use make for managing this inter dependency. But since many apps are not dependent on other apps, I didn't want to include them specifically in the Makefile but have a default rule which would catch all targets not mentioned. It seems I can't do that. > HTH, > > Steven > > > -- > ---------------------------------------------------------------------- > "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 > www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) > ---------------------------------------------------------------------- > -- John **= Email 12 ==========================** Date: Sat, 27 Mar 2004 10:54:22 +0000 From: John Poltorak Subject: Readline What is the most recent version of READLINE which is available for OS/2? Does the GNU version build from source? -- John **= Email 13 ==========================** Date: Sat, 27 Mar 2004 11:57:18 +0000 From: John Poltorak Subject: Building Make v3.79.1 Is anyone able to build Make v3.79.1 from source? There is a source package on Hobbes:- http://hobbes.nmsu.edu/pub/os2/dev/util/make-3_79_1.zip I've tried to follow the instructions but haven't quite mastered it. Maybe someone else has... -- John