Author Topic: can we do 64 bit executables and dlls with codeblocks and mingw in Windows ?  (Read 6228 times)

Offline hcetiner

  • Multiple posting newcomer
  • *
  • Posts: 13
Quote
will codeblocks-8.02mingw-setup 's be with compiler windows x64 ?
it seems generated executables and dlls are 32bit in windows x64 operating system.
is there an all-in-one installation package for build x64 based executables ?

or we have to install some other package additionally that isnt releasd in codeblocks.org ?
what would you prefer about this issue ?
regards
« Last Edit: April 15, 2009, 06:06:18 pm by hcetiner »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6483
    • My Best Post
Re: will codeblocks-8.02mingw-setup 's be with compiler windows x64 ?
« Reply #1 on: April 15, 2009, 05:19:00 pm »
I prefer the Code::Blocks team to release the IDE only; if the user can not install the Compiler on their own then they do not know enough to be good programmers.

Note: I support directions in the wiki to inform the users how to install and setup compilers for use with Code::Blocks.

Tim S   
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline hcetiner

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: will codeblocks-8.02mingw-setup 's be with compiler windows x64 ?
« Reply #2 on: April 15, 2009, 05:59:20 pm »
Quote
Note: I support directions in the wiki to inform the users how to install and setup compilers for use with Code::Blocks
thanks for knowledges in wiki.that is the 1st aid guide for begginers and intermediate programmers

justa begginer.
but already compiled and installed mingw(32) ready for codeblocks at the first beggining day.

wantto know if codeblocks IDE is compatible with 64bit mingw.
because of didnt see any issue about mingw64.
think that a begginer starts.works hard lost years. and learns that "not compatible".
asking before suffering.

simplifying question :
can we do 64 bit executables and dlls with codeblocks and mingw in Windows Systems ?

thanks for answers.
« Last Edit: April 15, 2009, 06:07:21 pm by hcetiner »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6483
    • My Best Post
Re: will codeblocks-8.02mingw-setup 's be with compiler windows x64 ?
« Reply #3 on: April 15, 2009, 06:22:04 pm »
wantto know if codeblocks IDE is compatible with 64bit mingw.

I am using Code::Blocks IDE with 64bit mingw, but I can not compile very much code with it because most source code is not 64bit compatible. The only thing I got to compile is wxWidgets 2.9.

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline rcoll

  • Almost regular
  • **
  • Posts: 150
wantto know if codeblocks IDE is compatible with 64bit mingw.

I am using Code::Blocks IDE with 64bit mingw, but I can not compile very much code with it because most source code is not 64bit compatible. The only thing I got to compile is wxWidgets 2.9.

Tim S

I don't understand this; how can source code not be 64-bit compatible?  Is it using platform-specific features (features that don't exist on your machine)?

Ringo

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
I don't understand this; how can source code not be 64-bit compatible?  Is it using platform-specific features (features that don't exist on your machine)?
Like so:
struct message { int code; int data; message(int c, int d) : code(c), data(d){} };
...
PostMessage(message(DO_SOMETHING, (int) objectPtr));


You would be surprised how much code exists that is written like this or similarly.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."