User forums > Using Code::Blocks

As without any distinct extraneous dll?

(1/2) > >>

Дмитро:

It seems, on the other side of the machine, compiled programs are not working. It seems that they are looking libgcc_s_dw2-1.dll.
How can no any various dll, no various third-party dependencies?

Otherwise, this is not good.  :-[

stahta01:

--- Quote from: Дмитро on June 11, 2016, 11:54:07 pm ---
It seems, on the other side of the machine, compiled programs are not working. It seems that they are looking libgcc_s_dw2-1.dll.
How can no any various dll, no various third-party dependencies?

Otherwise, this is not good.  :-[

--- End quote ---

Find out the information about YOUR compiler; ask the support for your compiler what options are needed!

Once, you figure out what compiler options are needed; then, you can ask here where/how to set them in Code::Blocks.

Tim S.

Дмитро:
Indeed, it is a problem.

I have a friend on the computer run the program.
I had to put this near libgcc_s_dw2-1.dll,
then another libstdc ++ - 6.dll. After that, the program began to fall immediately, calling the debugger.

My compiler is probably C: \ MinGW \ bin
How to switch compilers for the project?
A few weeks earlier, I switched the different compilers, without straining.
Now I can not find .. I can not ... I klatsat long very long drop-down lists, and not znajshov.
I'm starting to rage. And it was before I switched well.

The program should call natural things, such as Sleep: KERNEL32 which without doubt is at all, and never look unnatural various others.

raynebc:
Point being it is a problem that has nothing to do with Code::Blocks.  Look into statically linking, such as with the "-static-libgcc" link option (exact steps may vary depending on exactly what compiler you are using).

Дмитро:
I added it inside

Other linker options: -static-libgcc

Still looking for libstdc ++ - 6.dll

Compiler I now see that
mingw32-g ++. exe



And how, indeed, to switch between different compilers? I do not find this option.
For example there are significantly Open Watcom.
Still other compilers should be as well.

Navigation

[0] Message Index

[#] Next page

Go to full version