Re: [Lazarus] Alternative linker

2011-06-04 Thread Mark Morgan Lloyd
Andrew Haines wrote: On 06/03/11 17:47, Mark Morgan Lloyd wrote: When building Lazarus on Linux, is there an easy way to tell fpc to use gold rather than ld to get comparative timings? If you compile your program with -s a ppas.sh file will be generated which you can edit and then run to

Re: [Lazarus] Alternative linker

2011-06-04 Thread Mark Morgan Lloyd
leledumbo wrote: You can try fooling the compiler by making ld symlink to gold (of course you better back up your real ld) Thanks, that had occurred to me. As a general point I notice that in the case of Debian ld is a symlink internal to /usr/bin, rather than going through /etc/default

Re: [Lazarus] Alternative linker

2011-06-04 Thread Marco van de Voort
On Sat, Jun 04, 2011 at 10:14:38AM +, Mark Morgan Lloyd wrote: which you can edit and then run to link the program. Thanks, but that's something I specifically don't want to do since I'm trying to get a reproducible time for building Lazarus on a very tight system. Pass parameter

Re: [Lazarus] Alternative linker

2011-06-04 Thread Mark Morgan Lloyd
Marco van de Voort wrote: On Sat, Jun 04, 2011 at 10:14:38AM +, Mark Morgan Lloyd wrote: which you can edit and then run to link the program. Thanks, but that's something I specifically don't want to do since I'm trying to get a reproducible time for building Lazarus on a very tight

[Lazarus] Alternative linker

2011-06-03 Thread Mark Morgan Lloyd
When building Lazarus on Linux, is there an easy way to tell fpc to use gold rather than ld to get comparative timings? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] --

Re: [Lazarus] Alternative linker

2011-06-03 Thread leledumbo
You can try fooling the compiler by making ld symlink to gold (of course you better back up your real ld) -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Alternative-linker-tp3021504p3022064.html Sent from the Free Pascal - Lazarus mailing list archive

Re: [Lazarus] Alternative linker

2011-06-03 Thread Andrew Haines
On 06/03/11 17:47, Mark Morgan Lloyd wrote: When building Lazarus on Linux, is there an easy way to tell fpc to use gold rather than ld to get comparative timings? If you compile your program with -s a ppas.sh file will be generated which you can edit and then run to link the program.