[Gambas-user] 64 bits version
Benoit Minisini
gambas at ...1...
Wed Jan 16 22:21:42 CET 2008
Hi,
Thanks to the ssh access on the 64 bits Ubuntu system of Rob Kudla, I could
fix enough things, and now everything compiles, the installation works, and
the development environment runs.
But testing more is difficult, as running an X11 program through ssh is slow.
So I invite "64 bits people" to test again and send the result on the
developer mailing-list.
Now, let's talk about 'valgrind'.
Valgrind is an extraordinary program that emulates a processor. You run your
program in it, and valgrind will check every memory access at the byte
granularity.
It can even tell you how fast each piece of your program is, by taking the
different CPU caches into account. Thanks to valgrind, I could make the
Gambas compiler twice faster.
By running some examples with valgrind, I got a lot of memory access errors
inside the gnu C library, and in the dynamic loader library too.
I don't know if these errors are really significant. They could be valgrind
bugs.
But it is perfectly possible that the program does not crash even with such
memory errors, because the Linux granularity is 4Kb (the size of a page), not
a single byte.
So, if something crashes during the installation, or during the startup of
examples or IDE, please try valgrind and send me its output.
Using valgrind is easy. Go to the project directory, and run:
$ valgrind gbx3 -p
Thanks in advance for any help.
Regards,
--
Benoit Minisini
More information about the User
mailing list