[Monetdb-developers] Simple bat operations

darabi at web.de darabi at web.de
Thu Oct 11 19:28:28 CEST 2007


Haha!

that was a good joke:

> > user at host$ mserver5 --version
> > MonetDB Server v5.0.0
> > Copyright (c) 1993-2007 CWI, all rights reserved
> > Compiled by: sjoerd at localhost.localdomain
> > Compilation: gcc -O2 -std=c99 -O6 -fomit-frame-pointer                         -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexpensive-optimizations                     -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
> > Linking:     ld -IPA -m elf_x86_64 
>
> i686 != x86_64

After recompiling with --enable-debug, I get exactly the same version
message. Then, I became suspicious because of the 'sjoerd' user and
looked into mserver5.c:


void
monet_version()
{
        printf("MonetDB Server v%s\n", VERSION);
        printf("Copyright (c) 1993-2007 CWI, all rights reserved\n");
        printf("Compiled by: %s\n", "sjoerd at localhost.localdomain");
        printf("Compilation: %s\n", "gcc -O2 -std=c99 -O6 -fomit-frame-pointer                          -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexp
ensive-optimizations                     -funroll-loops -frerun-cse-after-loop -frerun-loop-opt ");
        printf("Linking:     %s\n", "ld -IPA -m elf_x86_64 ");
        exit(0);
}

Duh! It's hard-coded!

But, never mind. I think I needed --enable-debug anyway.
 
;-)





More information about the developers-list mailing list