Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2005:
[Freeciv-Dev] Re: (PR#13571) tolua and cross-compiling
Home

[Freeciv-Dev] Re: (PR#13571) tolua and cross-compiling

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: evyscr@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#13571) tolua and cross-compiling
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Aug 2005 19:26:34 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13571 >

Vasco Alexandre da Silva Costa wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=13571 >
> 
> On Tue, 2 Aug 2005, Jason Short wrote:
> 
> 
>><URL: http://bugs.freeciv.org/Ticket/Display.html?id=13571 >
>>
>>It occurred to me it might be possible to do it in one single configure
>>but having multiple runs.  The attached patch is my attempt at this, but
>>it doesn't work.
>>
>>And now I see that it is impossible anyway.  Both the server and tolua
>>rely on liblua.  So whatever arch liblua is built for the server and
>>tolua must also be built for.  So the server and tolua must be built for
>>the same architecture - unless we build two copies of liblua.
> 
> Yes, that is precisely what you would need. One copy of the libs per arch.
> 
> You make and run the source arch tolua to generate the necessary *.[ch]
> files.
> 
> Then you make a target arch version of the libs to link to the civserver
> executable.

Personally I think it would be simpler just to put the generated files 
into CVS.

-jason





[Prev in Thread] Current Thread [Next in Thread]