User forums > Help

C::B adn Mingw: compiler options

<< < (2/3) > >>

nenin:

--- Quote from: oBFusCATed on December 28, 2020, 12:28:50 pm ---These are passed to the linker I think, when doing LTO.

Generally someone should add a capability to show comboboxes here and probably specify a way to specify options which are compiler and linker or even if they depend on other options.

--- End quote ---
Concerning compler-linker options I found a strange glitch, but cannot describe it clearly now. Problem is that -Wl,warp=symbol does not emitted properly by C::B. However looks like it not works properly under Win by any way.

oBFusCATed:

--- Quote from: nenin on December 29, 2020, 10:35:18 am ---Problem is that -Wl,warp=symbol does not emitted properly by C::B.

--- End quote ---
What does this mean? Where have you added it? Example project?

nenin:
Looks like "--wrap=symbol" not working under windows/mingw gcc  by any way. I tried few examples from command line, and all were erratic.

oBFusCATed:
Is this related to C::B in any way?

nenin:
I cannot check it under Linux.
Under Win implementation of the option in ld does not work. It looked like that during compilation from CB gcc considered  this option as erratic or ignored it (depending of some altrerations), and from command line this option was accepted, but compilation ended with errors.
I suggest to drop this topic.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version