Zen And The Art Of Cross-Compiling DLLs

Well, this isn’t directly SDL related, but SDL is one of the libs that
will cross-compile just fine without me setting HOST_CC/CC_FOR_BUILD,
precompiling impgen.c + hacking libtool, or anything brutal like
that.

How? What am I doing in my scripts to hit this old and known libtool
issue - or maybe, what is SDL and some other libs doing to avoid it
without any special options? I can’t seem to find any special cases
for cross-compiling in SDL’s build scripts…

No panic, though. I can make it work here, but I’d rather just have my
libs build clean out of the box, at least in the popular Linux->Win32
cross situation.

//David Olofson - Programmer, Composer, Open Source Advocate

.- Audiality -----------------------------------------------.
| Free/Open Source audio engine for games and multimedia. |
| MIDI, modular synthesis, real time effects, scripting,… |
`-----------------------------------> http://audiality.org -’
http://olofson.nethttp://www.reologica.se

I have custom libtool scripts which do “The Right Thing ™”. :slight_smile:

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Assuming you’re referring to something not in the distribution, would you
care to share those scripts with us?

Thanks,
JeffOn Tuesday 30 September 2003 11:22 am, Sam Lantinga wrote:

I have custom libtool scripts which do “The Right Thing ™”. :slight_smile:

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

It’s just the libtool section of acinclude.m4 and ltconfig and ltmain.sh
in the SDL source archive.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment> On Tuesday 30 September 2003 11:22 am, Sam Lantinga wrote:

I have custom libtool scripts which do “The Right Thing ™”. :slight_smile:

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Assuming you’re referring to something not in the distribution, would you
care to share those scripts with us?