Search found 68 matches

by tigerbeard
Mon Jan 11, 2021 12:40 am
Forum: Compiler / Linking / IDE Related
Topic: using wxThread with different MinGW-W64 Compiler versions
Replies: 7
Views: 1070

Re: using wxThread with different MinGW-W64 Compiler versions

I assume you also found this https://stackoverflow.com/a/30390278/7267315 Indeed i did. Maybe I do not see the obvious. Isn't that what that posts said (just resorted the text) posix: enable C++11/C11 multithreading features. means native std:thread win32: No C++11 multithreading features. means: l...
by tigerbeard
Sun Jan 10, 2021 8:22 pm
Forum: Compiler / Linking / IDE Related
Topic: using wxThread with different MinGW-W64 Compiler versions
Replies: 7
Views: 1070

Re: using wxThread with different MinGW-W64 Compiler versions

appreciate your feedback I believe thread and exception handling models may be related to how the compiler was built, when you run gcc -v targets=all --enable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable...
by tigerbeard
Sun Jan 10, 2021 6:59 pm
Forum: Compiler / Linking / IDE Related
Topic: using wxThread with different MinGW-W64 Compiler versions
Replies: 7
Views: 1070

Re: using wxThread with different MinGW-W64 Compiler versions

I am not saying I know a lot about threads or GCC but are you sure a different thread model affects wxThread at all? You are right, not I am not sure. Thats part of why I asked the question. I was coming from the compiler selection: MinGW-W64 offers 2 compiler models and says better not use win32 t...
by tigerbeard
Sun Jan 10, 2021 2:54 pm
Forum: Compiler / Linking / IDE Related
Topic: using wxThread with different MinGW-W64 Compiler versions
Replies: 7
Views: 1070

using wxThread with different MinGW-W64 Compiler versions

This is about the correct way of using "wxThread" with different MinGW-W64 compiler versions (or better different toolchains). I did not find something about this in the docs or the forum, but maybe used bad search terms. I have an old program created with a very old MinGW version (before ...
by tigerbeard
Wed Jul 01, 2020 10:10 am
Forum: Compiler / Linking / IDE Related
Topic: Why does WX compile to different structures in Linux and Windows?
Replies: 3
Views: 644

Re: Why does WX compile to different structures in Linux and Windows?

OK, thanks for the hint. I understand you are saying in Windows the proper way is this: include msvc/wx/setup.h # should not be used lib gcc_lib mswu/wx/setup.h # this is the original and this should be used. gcc_lib mswud/wx/setup.h # this is the original and this should be used. ... Interesting, I...
by tigerbeard
Tue Jun 30, 2020 10:10 am
Forum: Compiler / Linking / IDE Related
Topic: Why does WX compile to different structures in Linux and Windows?
Replies: 3
Views: 644

Why does WX compile to different structures in Linux and Windows?

I am moving from Windows to Linux using CodeBlocks. I want to work with local installations of wxWdigets from a repository that work the same on any machine I checkout at. That means I will not use any globally installe wxWidgets in Linux but use the local libs with a relative path from the sources....
by tigerbeard
Sat Sep 22, 2018 12:10 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working?
Replies: 13
Views: 3164

Re: Linux File naming debug/release or --enable-debug not working?

Thanks for you patience. I just redid the whole sequence again, one time with --debug-enable and one time with --debug-disable. This time, I got the files with the same name, but with very much increased sizes as one would expect when debug symbols are disabled. The first time I was seeing both with...
by tigerbeard
Sat Sep 22, 2018 3:04 am
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working?
Replies: 13
Views: 3164

Re: Linux File naming debug/release or --enable-debug not working?

In order to generate the debug build all you do is add Code: Select all --enable-debug Well, thats what I though before I started this post. When I compiled with that setting and without that setting, the classes were almost exactly the same size. The I was told (see first posts) that --enable-debu...
by tigerbeard
Fri Sep 21, 2018 3:37 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working?
Replies: 13
Views: 3164

Re: Linux File naming debug/release or --enable-debug not working?

Thanks for your explanations. In fact, I had been running a non MSVC toolchain in Windows for many years, also running wxWidgets. The issues I came across where when I am switching over to Linux. Obviously I failed to clarify that enough. So all things below talks about the Linux world. I managed to...
by tigerbeard
Fri Sep 21, 2018 11:11 am
Forum: Open Discussion
Topic: Wiki editing errors
Replies: 1
Views: 8824

Wiki editing errors

I am tryping to edit some pages of the wiki. I am getting errors, to which I can not find an explantion on the wiki ifself Trying to add a page and tryping to put stuff to my own Talk page and gave me *** Forbidden. You submitted too quickly. You may try again in a few seconds. *** - This did not we...
by tigerbeard
Fri Sep 21, 2018 9:43 am
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working?
Replies: 13
Views: 3164

Re: Linux File naming debug/release or --enable-debug not working?

you are right, I meant the -g option, "produce debugging symbols". I was not talking about the d prefix. My main focus between debug/release was the debug symbols, though, not so much the differences in CRT. Maybe thats why I was confused by some of the statements before. But I understand ...
by tigerbeard
Thu Sep 20, 2018 6:54 pm
Forum: Compiler / Linking / IDE Related
Topic: Undefined Reference in Static Library
Replies: 7
Views: 3057

Re: Undefined Reference in Static Library

When I do not misunderstand you you are talking about how to setup wxWidget project with CodeBlock in the future? Generally you might want to check out the CodeBlock forum for issuses around CB Porjects with wxWidgets. I tend to setup my compiler seetings to include the wxWIdgets library and standar...
by tigerbeard
Thu Sep 20, 2018 6:37 pm
Forum: Compiler / Linking / IDE Related
Topic: wx compilation freezes ubuntu
Replies: 6
Views: 2124

Re: wx compilation freezes ubuntu

Add on to the last post: After compiling like that a few times, there is clearly a huge disadvantage on Xubuntu Linux to use the 'make -j' without a job number: The builds take a lot longer than running them without job number make -j // no job nnumber mean unlimited make -j4 // on a 4 core machine ...
by tigerbeard
Thu Sep 20, 2018 6:25 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working?
Replies: 13
Views: 3164

Re: Linux File naming debug/release or --enable-debug not working?

Excuse my ignorance, but wasn't the -d compiler switch part of the --enable-debug when running configure?

When that is not working (obviously), the files stay small, how would I add the -d when using the configure/make system?
by tigerbeard
Thu Sep 20, 2018 5:00 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working?
Replies: 13
Views: 3164

Re: Linux File naming debug/release or --enable-debug not working?

OK, thats good to know. I am seeing this while been compiling 2.9, so would that be the same there? I would prefer to think of both as "Release" with new bits as wxLogDebug and Dump. Mainly because one may leave it in the deliveries. I wonder if I can trace into the wxFunctions under Linux...