Re: [AD] cross compile helper script.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Henrik Stokseth wrote:
> 
> Tom Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> 
> > If you know how to do it, fixing the configure script would
> > be best. I have no clue how... :(
> 
> we don't _need_ a configure script for this i think. if i have understood
> the configure scripts properly, what it does it to check how your system is
> set up if you have the needed libraries etc. 

and checks to see if your using a cross compiler :P
in fact it could probably check which version of the DX headers are
installed,
etc...

> and compose a makefile with the
> functionality you have specified (--with-x --enable-dga etc...). since we
> already have a makefile for mingw32 which works 100% with the
> cross-compiler, i don't think adding an entirely new configure script will
> be a good idea. dead meat... and i don't really know how to write a
> configure.in source either. i've just hacked it once to add
> a --enable-pentiumopts option.
> 
> > or maybe just make the build process the same across all platforms,
> > i.e.: have a fixming.sh and a fixdj.sh that setup the correct variables
> > in the makefile then 'include' the regular makefile.mgw or makefile.dj
> 
> that was certainly not a bad idea. if it works then it will be better than
> having a sepparate xmake.sh script.
> 
> > or I could have no idea what i'm talking about :)
> 
> hardly... ;o)
> 

:)

-- 
Tom Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net/



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/