mingw32

Discussions about ET modding (sdk code, player/weapon modeling)

Moderators: Forum moderators, developers

Post Reply
spoon
Posts: 48
Joined: Mon Feb 03, 2003 5:51 pm
Location: San Antonio
Contact:

mingw32

Post by spoon »

Hey,

Just wondering if there are any hints on what the proper build steps are for cross-compiling with mingw32 under Linux are. I've been mucking around with and I've managed to make enough small tweaks to get the code to compile into objects, but linking it all together is giving me some problems.

You should be using dlltool as opposed to ld, correct? What does the final command that wraps everything up need to look like?

Any help would be much appreciated. :)
User avatar
zinx
Posts: 267
Joined: Fri Jan 16, 2004 12:37 pm
Location: US
Contact:

Post by zinx »

We're using $(CC) to link it, with the -shared flag, and . small .def, as follows:

EXPORTS
dllEntry
vmMain
Zinx Verituse http://zinx.xmms.org/
spoon
Posts: 48
Joined: Mon Feb 03, 2003 5:51 pm
Location: San Antonio
Contact:

Post by spoon »

D'oh. I see what's going on now.

Thanks for the clue. :)
Post Reply