Code::Blocks
July 29, 2010, 06:04:00 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Code::Blocks Logo Elections closed! And the winner is... otaco!
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: [1]
  Send this topic  |  Print  
Author Topic: Some help needed.  (Read 1460 times)
Uggis
Newcomer
*
Posts: 3


« on: November 14, 2009, 04:49:08 pm »

Hello!

I have been using codeblocks for one day now cuz dev cpp aint working realy good for me.
Iam using windows vista 32bit.

The problems:
Huge output size (i know there is thread about this but could i have more info?)
I want codeblocks to compile my program just for win32 without anything extra stuff.

Please post some info.
Logged
ollydbg
Lives here!
****
Posts: 1484


Interests on OpenCV and Robotics


WWW
« Reply #1 on: November 14, 2009, 05:01:41 pm »

Huge output size

hello, please give some more details about this.
Logged

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.
Uggis
Newcomer
*
Posts: 3


« Reply #2 on: November 14, 2009, 05:06:34 pm »

Code:
#include <iostream>

using namespace std;

int main()
{
    return 0;
}

For this program:

Compiling: main.cpp
Linking console executable: bin\Debug\test.exe
Output size is 587.20 KB

Anything else you need?  Very Happy
Logged
stahta01
Lives here!
****
Posts: 2379


WWW
« Reply #3 on: November 14, 2009, 05:44:16 pm »

Compiler name and version?
Release or debug? From folder would guess debug; try the release build.
If GCC, did you strip out the debug info?

Tim S.
Logged

C Programmer working to learn more about C++.
OS: Win 6.1 AKA Win7
Compiler: mingw gcc 4.4 API 3.13 Runtime 3.15.2
IDE: Code::Blocks SVN + patches
wxMSW: SVN 2.9 Trunk & SVN 2.8 branch
SVN: 1.6.x
Uggis
Newcomer
*
Posts: 3


« Reply #4 on: November 14, 2009, 07:13:46 pm »

Compiler name and version?
Release or debug? From folder would guess debug; try the release build.
If GCC, did you strip out the debug info?

Tim S.

Compiler: GNU GCC Compiler
Debug, relase doesnt compile
What? Could you explain more?
Logged
stahta01
Lives here!
****
Posts: 2379


WWW
« Reply #5 on: November 14, 2009, 11:31:55 pm »

This site is to support the IDE Code::Blocks for compiler only type support try another site.

http://www.mingw.org/wiki/Large_executables
Logged

C Programmer working to learn more about C++.
OS: Win 6.1 AKA Win7
Compiler: mingw gcc 4.4 API 3.13 Runtime 3.15.2
IDE: Code::Blocks SVN + patches
wxMSW: SVN 2.9 Trunk & SVN 2.8 branch
SVN: 1.6.x
MortenMacFly
Administrator
Lives here!
*****
Posts: 4593



WWW
« Reply #6 on: November 15, 2009, 08:02:10 pm »

If GCC, did you strip out the debug info?
What? Could you explain more?
You are complaing about size and seriously don't understand what "stripping symbols" means? Well - than you really shouldn't care about the size because everything you might try won't work anyways.

However what annoys me once more is that this has been discussed literally a million times in this forum even though it's not related to Code::Blocks. Thus this threads violates our forum rules two times: Not related to C::B and not searched before.

I am locking this topic now.
« Last Edit: November 15, 2009, 08:04:23 pm by MortenMacFly » Logged

Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
Pages: [1]
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!