On Mon, Dec 01, 2008 at 02:29:13PM -0200, Ernesto Domato wrote:
> Well, I set this enviroment variables:
> 
> PATH=/usr/i586-mingw32msvc/bin:/usr/local/cross-tools/i386-mingw32/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
> CC=/usr/bin/i586-mingw32msvc-gcc
> 
> and the win32 sdl and freetype libraries are on
> /usr/local/cross-tools/i386-mingw32.
> 
> The configure script of agar-1.3.3 runs fine but when I do make, it

Can you post the contents of config.log?

> fails with this:
<snip>
> 
> I guess that the main problem is that
> /home/edomato/dev/Juegos/cross/agar-1.3.3 is not included on the -I
> parameter of the compiler so for example config/sharedir.h can be
> found.

Was the "include" directory properly generated in the build directory?

> Thanks.
> Ernesto
> 
> On Mon, Dec 1, 2008 at 1:37 AM, Julien Nadeau <[EMAIL PROTECTED]> wrote:
> > On Mon, Dec 01, 2008 at 01:23:36AM -0200, Ernesto Domato wrote:
> >> Hello, I would like to know if there's some way to compile Agar with
> >> mingw32 on a Linux host (I'm using Debian).
> >
> > You can probably cross-compile like you would with any other target. Try
> > setting $CC to your mingw32 gcc. Use the --disable-network configure
> > option. configure looks for "sdl-config" and "freetype-config" so make
> > sure that these refer to the mingw32 versions.
> >
> >

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to