-
Suse studio
I was really impressed about the demos I saw in last Novell’s announcement : Suse Studio. So last week I applied to have an account since it’s not open for everybody. Today I received the following email:
Thank you for your interest in SUSE Studio, a new service that makes
it quick and easy to create and test software appliances from your web
browser. We are pleased to invite you to try SUSE Studio.To accept this invitation and take SUSE Studio for a spin, please
visit this link:****************************************
Alternatively you can go to http://www.susestudio.com/account/invitation and manually
enter your invitation code there. Your invitation code is:**********************
We hope that you will enjoy using SUSE Studio. If you encounter bugs,
have general feedback or want to discuss SUSE Studio you can reach us
at feedback@susestudio.com.Have fun using SUSE Studio!
Best Regards,
The SUSE Studio TeamWoww… amazing!! I’ll try it out and let you know what I think of it in a few weeks. In the meantime you can see some screencasts on their website or on youtube.
Do you have an account?
-
The final countdown
Em 30 dias estarei pousando no Brasil!!
A contagem final começou.
Preparem a picanha que eu estou chegando.
-
Compiler’s compiler version
Today I was just wondering… what’s the version of the compiler which compiled my compiler. Quite a strange question to make myself and I really don’t know where this curiosity came from.
Looking in Wikipedia:
Early compilers were written in assembly language. The first self-hosting compiler — capable of compiling its own source code in a high-level language — was created for Lisp by Tim Hart and Mike Levin at MIT in 1962.[2] Since the 1970s it has become common practice to implement a compiler in the language it compiles, although both Pascal and C have been popular choices for implementation language. Building a self-hosting compiler is a bootstrapping problem — the first such compiler for a language must be compiled either by a compiler written in a different language, or (as in Hart and Levin’s Lisp compiler) compiled by running the compiler in an interpreter.
Interesting, don’t you think? So let’s see the version of your compiler’s compiler. If you use GCC, it will put a comment in section named (surprise!) .comment. Generate the assembly correspondent to a C source code and you are going to see in the end of the file an entry like this:
.size main, .-main
.ident “GCC: (GNU) 4.4.1″
.section .note.GNU-stack,”",@progbitsSo, let’s play with our already compiled compiler. First we have to check the compiler version:
[lucas@skywalker tmp]$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure –prefix=/usr –enable-shared –enable-languages=c,c++,fortran,objc,obj-c++ –enable-threads=posix –mandir=/usr/share/man –infodir=/usr/share/info –enable-__cxa_atexit –disable-multilib –libdir=/usr/lib –libexecdir=/usr/lib –enable-clocale=gnu –disable-libstdcxx-pch –with-tune=generic
Thread model: posix
gcc version 4.4.1 (GCC)Ok! Version 4.4.1. Let’s use the readelf command to see the content of .comment section:
[lucas@skywalker tmp]$ readelf -p .comment /usr/bin/gcc
String dump of section ‘.comment’:
[ 1] GCC: (GNU) 4.4.0 20090630 (prerelease)
[ 29] GCC: (GNU) 4.4.0 20090630 (prerelease)
[ 51] GCC: (GNU) 4.4.1[ 63] GCC: (GNU) 4.4.1
(…)
[ 237] GCC: (GNU) 4.4.1
[ 249] GCC: (GNU) 4.4.1
[ 25b] GCC: (GNU) 4.4.0 20090630 (prerelease)
[ 283] GCC: (GNU) 4.4.1
[ 295] GCC: (GNU) 4.4.0 20090630 (prerelease)I didn’t understand if it’s 4.4.1 or 4.4.0, i.e. if it was used a prior version to compile the current version or if current was recompiled afterwards with this new compiler produced. Testing random binaries in /usr/bin seems to produce similar effects, having more than one version.
So… no answers yet. Any clues?

