User forums > General (but related to Code::Blocks)
TDM-GCC 4.9 series (Latest: 4.9.2-tdm-1 - 2014-12-08)
gd_on:
--- Quote ---Quote from: gd_on on December 13, 2014, 08:02:13 pm
--- Quote ---
On windows, wxWidgets does NOT officially support 2.8 as being 64 bit compatible.
I have already seen this information. Nevetheless, I have myself compiled wxwidgets 2.8.12 in 64 bits
--- End quote ---
I can hardly believe that, since wxWidgets 2.8 contains code that casts pointers to int. Which of course doesn't work too well under 64 bits, even if you somehow get the compiler to do this without bailing out.
--- End quote ---
May be I'm very lucky !!
I have not found any problem in compiling and using C::B 64 with my wxwidgets 2.8.12 64 bits version. All the wxwidgets tests cases I tried, worked as expected.
May be, one day, I'll use such code with int pointers (certainly specific to Windows code), but until this, I cross my fingers !
gd_on
P@S@f:
I'm very sorry if that question was already asked.
But what I'm supposed to do with that compiler if I want to build something more complicated than "Hello world!" from GNU world?
Am I need to put it in installation of mingw? Or mingw-w64? Or cygwin? Or MSYS? Or MSYS2?
With all mentioned software it is all simple - I could install packages in predefined environment and they will be detected afterwards when needed as dependencies for compiling something else. But what to do with bare metal Windows command prompt? Add every directory in PATH? Or TDM-GCC do it for me?
I've tried to find at least small tutorial on how to setup environment for TDM-GCC but with no luck.
So I need some help with that.
Oh, to avoid X Y problem - I'm currently trying to build gcc-4.9.2 with non-POSIX mingw-w64-x86_64-gcc and... yep, no luck, <sys/wait.h> not found and so on...
I hope TDM GCC could help me with that.
stahta01:
--- Quote from: P@S@f on January 23, 2015, 12:11:16 am ---I'm very sorry if that question was already asked.
But what I'm supposed to do with that compiler if I want to build something more complicated than "Hello world!" from GNU world?
Am I need to put it in installation of mingw? Or mingw-w64? Or cygwin? Or MSYS? Or MSYS2?
With all mentioned software it is all simple - I could install packages in predefined environment and they will be detected afterwards when needed as dependencies for compiling something else. But what to do with bare metal Windows command prompt? Add every directory in PATH? Or TDM-GCC do it for me?
I've tried to find at least small tutorial on how to setup environment for TDM-GCC but with no luck.
So I need some help with that.
Oh, to avoid X Y problem - I'm currently trying to build gcc-4.9.2 with non-POSIX mingw-w64-x86_64-gcc and... yep, no luck, <sys/wait.h> not found and so on...
I hope TDM GCC could help me with that.
--- End quote ---
Trying to build MinGW GCC on Windows is very hard (I believe it is possible; I could be wrong) most people building Ming GCC builds it under Linux OS after setting up a cross GCC toolchain.
NOTE: Using the TDM GCC Compiler for a more complex program is just like using any compiler with a more complex program.
Edit: If you need Linux GNU compatible environment to run your program then Cygwin is better than MSys.
If you just need a build environment instead run env. then MSys is normally good enough unless you are doing socket programming Cygwin socket programming is closer to Unix/Linux Msys socket programming is like Windows OS.
My copy of Cygwin has a sys/wait.h header for its native gcc compiler.
No idea about TDM GCC or Msys.
Tim S.
P@S@f:
No, my goal is diametric.
I want to compile gcc for specific target (SH4) to use it in Windows just like TDM-GCC I guess with some IDE without any POSIX environment shells like Cygwin or MSYS. Because if I build something in cygwin or msys that means that I need to run it in that shell or copy thousands of dlls which emulates something I don't need at all and slows down execution speeds of program.
And on the contrary I aspire to native speeds, so I need to avoid using of any POSIX-emulations.
stahta01:
--- Quote from: P@S@f on January 23, 2015, 12:42:06 am ---No, my goal is diametric.
I want to compile gcc for specific target (SH4) to use it in Windows just like TDM-GCC I guess with some IDE without any POSIX environment shells like Cygwin or MSYS. Because if I build something in cygwin or msys that means that I need to run it in that shell or copy thousands of dlls which emulates something I don't need at all and slows down execution speeds of program.
And on the contrary I aspire to native speeds, so I need to avoid using of any POSIX-emulations.
--- End quote ---
I suggest trying to say what you really want to do!
Edit: If you want to build GCC I strongly suggest using Linux!!
I still DO NOT know if you want to build or use GCC!!
And, you have no idea what Msys is; and only a slight idea what an IDE is.
Edit2: I suggest read the rules before you are banned from this site http://forums.codeblocks.org/index.php/topic,9996.0.html
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version