Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on April 15, 2007, 07:05:35 pm

Title: The 15 April 2007 build is out.
Post by: killerbot on April 15, 2007, 07:05:35 pm
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2.7z

To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, and that results in the following alternative dll : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2AndCbPatch_version3.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10.7z

For support of ansi builds, a link to the ansi windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw26_gcc_cb_wx2.6.3p2.7z

The 15 April 2007 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20070415_rev3858_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20070415_rev3858_Ubuntu6.xx.deb (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20070415_rev3858_suse100-102.i586.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20070415_rev3858_fc4+5.i586.rpm (not yet)


Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 15 April 2007 build is out.
Post by: Xaviou on April 15, 2007, 10:25:42 pm
Ubuntu 6.10 Amd64 .deb installer can be found here (http://www.esnips.com/web/CodeBlocks).

Title: Re: The 15 April 2007 build is out.
Post by: Nonenix on April 15, 2007, 10:53:27 pm
man ubuntu amd64 is almost everytime faster than normal o.O
Title: Re: The 15 April 2007 build is out.
Post by: dr snuggles on April 16, 2007, 09:04:45 am
I noticed something weird in speed. I tried this build of Code::Blocks on two machines:
1) P4 1.7 GHz 512MB ram. CB uses 50~100MB ram and everything goes slow, including typing text.
2) AMD 4000+, 2GB ram. CB uses 50~100MB ram and everything goes awesomely fast, including typing text.

It feels like the second machine is at least 10 times faster, while there should not be so much difference. Executing a simple program on the first machine goes about 40 times faster. Compile time on the second machine is not measurable on the second one, while it is on the first.

What could be the main cause of this speed difference? I know the second machine has better specs, but the difference is ridiculous :D. Thanks for your answer.

Title: Re: The 15 April 2007 build is out.
Post by: Commodore64 on April 16, 2007, 10:23:29 am
The difference is HUGE. P4 is one of the most inefficient processors on the earth. It was designed to work at very high clock frequencies (when people used to compare processors based on clock frequency), thus it has a very long pipeline, which makes it inefficient whenever there are conditional jumps. 1.7 GHz is a low frequency for a P4.

An Athlon 4000+ processor should be about 2.3 times faster than a 1.7GHz P4... but it is not easy to compute this ratio: you should take into account a lot of other parameters, such as memory speed, latency etc.

Another observation: from what you said, your issue is not related to Code::Blocks, because also the compiler, and your own application, are slower on the P4 machine.
Title: Re: The 15 April 2007 build is out.
Post by: pauliusz on April 16, 2007, 02:30:14 pm
Can't compile wxSmithContribItems. Here is the error I get:

Linking dynamic library: ..\..\..\devel\share\CodeBlocks\plugins\wxSmithContribItems.dll
Info: resolving vtable for wxsWidgetby linking to __imp___ZTV9wxsWidget (auto-import)
.objs\wxchart\wxschart.o(.text$_ZN9wxsWidgetD2Ev[wxsWidget::~wxsWidget()]+0xb): In function `ZN8wxStringC1Ev':
C:/wxWidgets-2.6.3/include/wx/object.h: variable 'vtable for wxsWidget' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
collect2: ld returned 1 exit status
Title: Re: The 15 April 2007 build is out.
Post by: dmoore on April 16, 2007, 02:57:34 pm
What could be the main cause of this speed difference? I know the second machine has better specs, but the difference is ridiculous :D. Thanks for your answer.

try turning off some plugins. codecompletion is often the culprit. in general, multi-threading in wxWidgets has issues (and sometimes people just write inefficient multi-threaded code ;) ).
Title: Re: The 15 April 2007 build is out.
Post by: skirby on April 16, 2007, 03:22:35 pm
Hello,

I have done a small test with project wizard.
Here is the way to reproduce the "bug"
- Open C::B and Create an MSDOS project (for example) named "Test" with Debug and release configuration (GNU GCC Compiler)
- Now, whitout closing C::B, create another project with the same name "Test" (C::B said files will be overwritten)
- Now, right click on the project and have a look to the build option => Realease and Debug option are duplicated.

See screenshot in order to see what I mean:
(http://img150.imageshack.us/img150/2654/buglh6.th.png) (http://img150.imageshack.us/my.php?image=buglh6.png)

Is it normal?

Do you want me to add a bug report on BerliOS?

For information, I am using the last nightly build SVN 3858 and Windows 2000 sp4

Title: Re: The 15 April 2007 build is out.
Post by: killerbot on April 16, 2007, 08:01:26 pm
yes, please file the bugreport