Recent Posts

Pages: 1 2 3 [4] 5 6 7 8 9 10
31
Using Code::Blocks / Mixing C and C++ code linker option
« Last post by stefanofranzoni on July 19, 2021, 03:17:10 pm »
My project contains C code and uses an external library written in C++.
The linker is normally g++ but on an Ubuntu 20.04 installation he automatic linker choice is gcc and it generates many errors.
I don't find an option to force the linker to g++ while keeping the compiler to gcc.

Thanks in advance
Stefano Franzoni
32
General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by Sprog on July 19, 2021, 07:49:45 am »
I am Here
33
@stahta01

Either of following sites.
https://jmeubank.github.io/tdm-gcc/download/
https://sourceforge.net/projects/tdm-gcc/files/v10.3.0-tdm64-1/

The https://sourceforge.net/projects/tdm-gcc/ page has the following:
TDM-GCC is now hosted on Github at https://jmeubank.github.io/tdm-gcc/.

Wikipedia TDM link to the two sites above on their TDM page:
https://en.wikipedia.org/wiki/TDM-GCC
34
@oBFusCATed There are 6 forum posts after 2010 that reference TDM I have listed below. I also looked at the tickets and there is noting about TDM  "it is broken and produces failing code" that I could find.

2019: Topic: Error getting 32 bits aplication with CB, TDM and wxWidgets 
2018: gfortran TDM 5.1 problem
2017: Debugging with TDM GCC 32bit + CodeBlocks- can't find member variables
2017: multilib mingw-w64 TDM compiler
2015: TDM mingw 5.1 breaks XMLResourceHandler?
2012: problems with 32-bit executables in TDM mingw64 installation

In the 2015 post @stahta01 posted that -o3 often results in bad code. This is a GCC issue and not a specific TDM issue.
In the 2018 post there was a GCC bug report is referenced. Yet another GCC issue that is not specific TDM.

As such I cannot find any references to justify not including TDM as the two issues are GCC issues that would affect all of the compilers based on affected GCC source code.
35
I have been able to build CB with TDM-64 10.3.0 and use the CB produced to compiler a simple app and debug it.

Can you point me at the posts about "it is broken and produces failing code"?

You may wish to say where you got the TDM-64 10.3.0 from?

Because I have no idea if you mean the real original website or the second website that was NOT the same person or some new third website.

Tim S.
 
36
Nope, search the forum, I'm a linux user mainly and for windows I'm just a spectator...
37
I have been able to build CB with TDM-64 10.3.0 and use the CB produced to compiler a simple app and debug it.

Can you point me at the posts about "it is broken and produces failing code"?
38
Help / Re: Extra g++ command breaking my compiles?
« Last post by elganif on July 17, 2021, 07:33:52 pm »
Well that is the problem, thanks for spotting that. I made the correction, Now I just need to figure out my new issue with my misspelled tag being stuck in the arguments list even when every argument is turned off. nevermind, it 'fixed itself' after a few restarts of Code blocks (first 3, including remaking my project didnt do it, but the 4th did?). Why changes not reacting directly to my click of OK in the options menu seems very 'bug like' but if it works I can move on.
39
Just because the TDM 10.3 does not build CB should not be a criteria for not including it as allot of the supported compilers also do not compile CB.
"does not build CB" is more like "it is broken and produces failing code". No idea why, but there are reports that CB is crashing when built with this compiler. I don't want to promote broken compilers. We've used TDM for a long time, but currently it is not well supported by TDragon and so we have to move on.
40
Help / Re: Extra g++ command breaking my compiles?
« Last post by gd_on on July 17, 2021, 09:49:10 am »
may be a typo : -lptherad or -lpthread ?
Pages: 1 2 3 [4] 5 6 7 8 9 10