Re: [ANN] U++ development system 0.1.5
From: Mirek Fidler (cxl_at_volny.cz)
Date: 02/09/04
- Previous message: Christoph Rabel: "Re: private members in internal class"
- In reply to: jacob navia: "Re: [ANN] U++ development system 0.1.5"
- Next in thread: jacob navia: "Re: [ANN] U++ development system 0.1.5"
- Reply: jacob navia: "Re: [ANN] U++ development system 0.1.5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 9 Feb 2004 15:17:47 +0100
> Then, pressed "Build". After one minute of waiting the ide finished
> (I am running an "old" machine: amd64 bits 2GHZ with 512 MB of
> RAM, bought last november... )
>
> Too slow. Well. doesn't matter. Then I pressed the "Debug" button
It is slow for several reasons.
First, and most important, in first build, U++ builds all needed
libraries.
Then, GCC unfortunately is not the fastest compiler in the world.
> and I was confronted with gdb crashing.
>
> Gdb crashes in
> 00408898 mov eax,dword ptr [ebx+40D0h]
>
> ebx contains 773, an invalid address. I used the MSVC debugger
> to find this out.
So the crash was inside gdb ?
> But well, the generated application runs and displays an animated
> "hello" message, nothing else. It is a few hundred lines.
61 lines, actually.
> The application size is 8 665 752 bytes. 8MB for a "hello world".
> This is the absolute record, produced by your ultimate IDE.
> The object file size is 2 160 681 bytes.
In debug mode, linked using MINGW ld. Release mode would be
significantly shorter; using our new LD replacement we are developing
right now, it should be even shorter.
Also, U++ in this moment preferes static linking. So minimal application
is quite long (about 700KB using MS compiler), but then it tends to grow
much slower. Consider what tools are already included in TheIDE - all in
2.5MB of code...
> In disbelief I wanted to write a small test program but I couldn't.
>
> There are no more source files. You have to do "packages", and nowhere
> is
> explained what a package is, or how you build one.
There is some preliminary explanation in Doc++ menu. Far from perfect,
but that is why this is version 0.1.5, not something like 0.99 or even
1.0...
> I was surprised that the IDE itself was only 2.6MB, much less than the
> hello
> example. I found the solution when I looked at the executable itself.
> The
> Ide wasn't compiled with gcc but probably with MSVC, since the linker
> version
> is 7.1 and gcc always writes in the executables 2.56 as linker
> version.
> MSVC dot NET writes 7.1 if I remember correctly.
Yes, that is right. TheIDE is able to use GCC, MSVC or IntelC++
compilers. For general development we use MSVC - because it is faster,
and generates much smaller code. You can of course use Mingw to
recompile Ide too, but due to mingw LD it is twice as long...
Anyway, thank you for your input. And keep in mind that this is 0.1.5 -
thinks are not meant to be perfect so far!
Mirek
- Previous message: Christoph Rabel: "Re: private members in internal class"
- In reply to: jacob navia: "Re: [ANN] U++ development system 0.1.5"
- Next in thread: jacob navia: "Re: [ANN] U++ development system 0.1.5"
- Reply: jacob navia: "Re: [ANN] U++ development system 0.1.5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]