User forums > Help
Compiler flags -static-libgcc -static-libstdc++ don't work
Miguel Gimenez:
Compare the buid logs; in the one you posted the -static flag is missing.
Gnomoron:
-static didn't help :c
stahta01:
--- Quote from: Gnomoron on May 05, 2020, 12:08:38 pm ---But when compiling a 64-bit application using mingw-w64 from the same sources using sfml, such an error does not occur. Perhaps I did something wrong when setting up the compiler?
--- End quote ---
There are differences in the 32 bit and 64 bit MinGW GCC Compilers.
The main one is how exception handling is done.
You might try turning off exception handling and see if that fixes the issue.
Tim S.
oBFusCATed:
@Gnomoron: Are you sure that the compiler you're using supports the flags you're passing to it? As far as I know not all releases do support static linking of the runtime.
Navigation
[0] Message Index
[*] Previous page
Go to full version