Re: [fpc-pascal] Smart link in FreeBSD multi-arch ?

2016-10-19 Thread fredvs
Hello Marco. > Do you see differences between ppas.sh and link.res with and without > smartlinking ohter than --gc-sections? For link.res => no differences. For ppas.sh => only "--gc-section" was added. > If you compile without smartlinking but with -s and add --gc-sections > to the ppas.sh fil

Re: [fpc-pascal] Smart link in FreeBSD multi-arch ?

2016-10-19 Thread Graeme Geldenhuys
On 2016-10-19 13:25, fredvs wrote: > Huh, I decided to forget FreeBSD... NNOooo!;-) Regards, Graeme ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC 3.0.0 and gProf

2016-10-19 Thread Reimar Grabowski
On Wed, 19 Oct 2016 14:36:05 +0200 Jonas Maebe wrote: > On Linux, kcallgrind or oprofile, I guess (make sure to compile your > code with -gv for both). Thanks, will give them a try. R. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] FPC 3.0.0 and gProf

2016-10-19 Thread Jonas Maebe
Reimar Grabowski wrote on Wed, 19 Oct 2016: What do people use to profile their programs? On Linux, kcallgrind or oprofile, I guess (make sure to compile your code with -gv for both). Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] Smart link in FreeBSD multi-arch ?

2016-10-19 Thread fredvs
Hello Marco. Huh, I decided to forget FreeBSD but ok I will re-install it and test your propositions. Write you later. Fre;D - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Smart-link-in-FreeBSD-multi-arch-tp5726375p5726636.html Sent fr

Re: [fpc-pascal] Smart link in FreeBSD multi-arch ?

2016-10-19 Thread Marco van de Voort
In our previous episode, fredvs said: > > Just curious. If you don't compile with Smart-Linking enabled, does your > binary then run fine? > > Yes, without Smart-linking, a 32 bit fpc application runs fine in a > multi-arch 64 bit system. > With Smart-linking a 32 bit application runs fine only i

Re: [fpc-pascal] FPC 3.0.0 and gProf

2016-10-19 Thread Reimar Grabowski
On Wed, 19 Oct 2016 07:39:30 +0200 Jonas Maebe wrote: > Reimar Grabowski wrote: > > are there any known problems with gprof? > > No, but on the other hand it's not something that many people use What do people use to profile their programs? > On which platform? Sorry, Ubuntu 16.04 64-bit