comp.lang.ada
 help / color / mirror / Atom feed
From: "chris.danx" <spamoff.danx@ntlworld.com>
Subject: Re: [ot] making stuff
Date: Mon, 15 Jul 2002 12:52:53 +0100
Date: 2002-07-15T12:52:53+01:00	[thread overview]
Message-ID: <WIyY8.915$dx3.39738@news8-gui.server.ntli.net> (raw)
In-Reply-To: 3D320099.6000209@nbi.dk


"Jacob Sparre Andersen" <sparre@nbi.dk> 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!)





  parent reply	other threads:[~2002-07-15 11:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-13 21:53 [ot] making stuff chris.danx
2002-07-14 22:52 ` Jacob Sparre Andersen
2002-07-15  2:38   ` Larry Kilgallen
2002-07-15 11:52   ` chris.danx [this message]
2002-07-16 13:30 ` Ted Dennison
2002-07-19  0:31 ` Robert A Duff
2002-07-20 12:43   ` Robert Dewar
2002-07-20 14:29     ` Pascal Obry
2002-07-20 17:57     ` Robert A Duff
2002-07-21 20:48       ` Ted Dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox