Author Topic: program without mingw.dll  (Read 5186 times)

Offline dirk_1980

  • Multiple posting newcomer
  • *
  • Posts: 25
program without mingw.dll
« on: April 11, 2013, 12:30:54 pm »
Hi,

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

I will link / include the dll inside my program.



zabzonk

  • Guest
Re: program without mingw.dll
« Reply #1 on: April 11, 2013, 12:38:35 pm »
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.
« Last Edit: April 11, 2013, 12:40:52 pm by Neil Butterworth »

Offline dirk_1980

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: program without mingw.dll
« Reply #2 on: April 11, 2013, 01:27:32 pm »
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

  • Guest
Re: program without mingw.dll
« Reply #3 on: April 11, 2013, 02:03:26 pm »
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.

Offline dirk_1980

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: program without mingw.dll
« Reply #4 on: April 11, 2013, 02:28:02 pm »
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?

Offline dirk_1980

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: program without mingw.dll
« Reply #5 on: April 11, 2013, 02:36:22 pm »
GCC 3.4.5 is just 6 years old and is still working.

I will use the Code::Blocks Setup the 4.7.1 is about 5 years newer than the installed version!

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: program without mingw.dll
« Reply #6 on: April 11, 2013, 04:53:54 pm »
Not related to Code::Blocks. Locking topic.

Ask in a MinGW related forum. We don't support compiler (MinGW) related question here as we don't develop this compiler. So we cannot seriously answer such questions.

Please comply with the forum rules you agreed to when registering here. This topic might be removed silently.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ