From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a2955b0d0322a323 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-15 04:53:32 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!peernews!peer.cwci.net!newspeer1-gui.server.ntli.net!ntli.net!news8-gui.server.ntli.net.POSTED!53ab2750!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada References: <3D320099.6000209@nbi.dk> Subject: Re: [ot] making stuff X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Mon, 15 Jul 2002 12:52:53 +0100 NNTP-Posting-Host: 80.5.140.234 X-Complaints-To: abuse@ntlworld.com X-Trace: news8-gui.server.ntli.net 1026734006 80.5.140.234 (Mon, 15 Jul 2002 12:53:26 BST) NNTP-Posting-Date: Mon, 15 Jul 2002 12:53:26 BST Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:27103 Date: 2002-07-15T12:52:53+01:00 List-Id: "Jacob Sparre Andersen" wrote in message news:3D320099.6000209@nbi.dk... > Chris Danx wrote: > > > is it possible to generate makefiles that will work on both unix/linux and > > windows? > > I think it is. Here's hoping! > > I wouldn't normally ask, but XML/Ada has to have separate > files > > for building on windows and unices and this has confused me. Why can't you > > just have 1 makefile file for both targets? Is it some XML/Ada specific > > issue or is there some other reason? > > The reason could be that there are different conventions for > where files are stored in Unix and in MS Windows. Using an editor that supports both formats makes this no problem. All you need is hard tabs since make isn't very tolerant (imo that's bad-d!). I have put aqua up at willowplan.tripod.com, I'm on holiday 'til Friday (there's no iterator functionality in the list yet). Additionally there is a problem forwarding a variable through make calls, which I'm unable to resolve. If someone could have a look at this while I'm away, it'd be appreciated. They haven't been tested on Linux yet only on Win2k, but should work ok if emacs was using Unix style line terminators when they were coded (I don't know how to change it yet, too busy)! > Another > possible reason is that the syntax of the command > interpreters in Unix and in MS Windows is rather different. the command interpreter calls are located in one file makefile.inc. This has caused a problem of either hardcoding paths or passing down a variable, but passing down the variable isn't working (lack of knowlege on my part). I don't have time to change it back now. > It should be possible to solve these problems, and merge > make files for different operating systems, using > conditional statements in the make files. eek! Bye, Chris (just running out the door!)