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: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Wed, 3 Aug 2005 18:41:26 -0700
Reply-to: bugs@xxxxxxxxxxx

<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.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa







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