User forums > General (but related to Code::Blocks)

program without mingw.dll

(1/2) > >>

dirk_1980:
Hi,

is it possible to build a program without using the mingw.dll?

I will link / include the dll inside my program.


zabzonk:
Sure - there is no reason for apps compiled with MinGW GCC to use that DLL at all, though this has nothing to do with Code::Blocks.

dirk_1980:
If i use threads than i need the stupid DLL.

Long time ago i was using DEV-C++ and all my programs didn't used this DLL.
But now i use Code::Blocks an i can't see the switch to build without this DLL.

zabzonk:
AFAIK it is not required - see http://sourceforge.net/mailarchive/message.php?msg_id=27601321 and the version of MinGW GCC I use (http://sourceforge.net/projects/mingwbuilds/files/host-windows/)  does not even ship with it.

dirk_1980:
So my version of mingw is to old. No problem.

Do you know witch version  is used in the Code::Blocks Setup with mingw?

Should i use the Code::Blocks Setup with mingw or should i install just a new version of mingw from their homepage?

Navigation

[0] Message Index

[#] Next page

Go to full version