From: Korval <Ko...@co...> - 2004-09-22 06:02:25
|
I thought that I had cleared this up with my post on Allegro.cc. There is no Lua install. There is no "has Lua". Lua is an embedded language. This means that the interpreter becomes part of the executable that uses it. As such, if you have an executable that uses it (like Premake), then you have all that you need. It isn't like Python or Perl, where you run a single executable that executes the script. Running Premake requires nothing more than the Premake executable (that, and the Lua script, of course). Also, as it turns out, Premake's source distribution actually ships the Lua 4.0.1 distribution. So it comes with everything you need to build it. A good thing too. I'm not sure that the 4.0.1 really exists anywhere anymore. Which is a good thing, because Lua 5 is much nicer and more consistent. -----Original Message----- From: all...@li... [mailto:all...@li...]On Behalf Of Ron Ophir Sent: Tuesday, September 21, 2004 11:05 AM To: all...@li... Subject: Re: [Allegropro-dev] Updates to CVS/new file release OK, I'll take a look at it. Maybe we should have an executable that would be statically linked to Lua so even if you don't have Lua you can run the code? Anyway, you can count on me looking at it (prolly tommorow). On Mon, 20 Sep 2004 23:08:15 -0700, Korval <ko...@co...> wrote: > The makefile was generated by PreMake. I'm not adverse to having a specially > modified version of Premake (or one we could even get into the actual > Premake distribution) that builds a makefile that doesn't require POSIX. > Unfortunately, I have no idea how to write one, nor have I taken a serious > look at Premake. > > If you're considering this, don't let the fact that Lua is in use scare you > off. While Premake does use Lua to build the makefile, all the Lua stuff has > already happened by the time you get the data. In theory (from what little > I've seen of the codebase), you would be making a new --target type ('mingw' > as opposed to the 'gnu' one. Premake is annoyingly case-sensitive), and that > target type would receive some form of data structures (likely not Lua > objects). > > I've been thinking about modifying Premake anyway. It has a few slightly > annoying habbits, like outputting all the projects into the same folder. If > you decide to adjust Premake to be able to output POSIX-independent > makefiles, let me know so that we can coordinate our Premake changes. > > > > -----Original Message----- > From: all...@li... > [mailto:all...@li...]On Behalf Of > Ryan Patterson > Sent: Monday, September 20, 2004 4:27 AM > To: all...@li... > Subject: Re: [Allegropro-dev] Updates to CVS/new file release > > On Monday 20 September 2004 3:22 am, Korval wrote: > > However, I can't test it since I don't have a Cygwin environment (the > > makefile requires it), nor do I have even the slightest clue as to how to > > set one up. > If you write your dependency files to multiple files rather than just one, > you > will not need sed to filter them. I'm betting this is your only POSIX > dependency, am I right? > > -- > Regards, > Ryan Patterson <mailto:rpa...@cf...> > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Allegropro-development mailing list > All...@li... > https://lists.sourceforge.net/lists/listinfo/allegropro-development > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Allegropro-development mailing list > All...@li... > https://lists.sourceforge.net/lists/listinfo/allegropro-development > ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Allegropro-development mailing list All...@li... https://lists.sourceforge.net/lists/listinfo/allegropro-development |