[fpc-pascal] Linux / timestamps: vdso_[getttimeofday(),clock_gettime(),time(); ] coming our way?

2014-02-03 Thread Lukasz Sokol
Hi Compiler Developers, foreword: please forgive if this is too low-level etc or if I don't understand it enough ;) Since I'm glancing over lkml sometimes, I couldn't help but notice an announcement by Stefani Seibold, that a fast, reliable userspace timestamp function(s) are on the process to la

[fpc-pascal] Size of program vs library ?

2014-02-03 Thread Fred van Stappen
Hello. Here size of "nude" program and library compiled with fpc 2.7.1. Why is it a so big size-difference ? Compiled with => fpc 2.7.1 => linux 64 Compiler parameters : -MObjFPC -Scghi -CX -Os1 -Xs -XX -vewnhi -fPIC program prognude ; begin end. => 26.9 k library libnude ; begin end. => 196

Re: [fpc-pascal] Size of program vs library ?

2014-02-03 Thread Michael Van Canneyt
On Mon, 3 Feb 2014, Fred van Stappen wrote: Hello. Here size of "nude" program and library compiled with fpc 2.7.1. Why is it a so big size-difference ? Compiled with => fpc 2.7.1 => linux 64 Compiler parameters : -MObjFPC -Scghi -CX -Os1 -Xs -XX -vewnhi -fPIC I suspect PIC is to blame. Th

Re: [fpc-pascal] Size of program vs library ?

2014-02-03 Thread Fred van Stappen
> Date: Mon, 3 Feb 2014 18:30:57 +0100 > From: mich...@freepascal.org > To: fpc-pascal@lists.freepascal.org > Subject: Re: [fpc-pascal] Size of program vs library ? > > > > On Mon, 3 Feb 2014, Fred van Stappen wrote: > > > Hello. > > > > Here size of "nude" program and library compiled with fp