Re: [fpc-pascal] Equivalent of Delphi map files...

2018-06-21 Thread Adriaan van Os
Peter Vreman wrote: The -Xm is 2.1.1 only and not available in 2.0.x. The -Xm is also available for linux and can be added for other platforms if needed and the linker supports it. Is -Xm supposed to work on Mac OS X ? I don't see any file being generated, nor do I get an error message. The l

Re: [fpc-pascal] Equivalent of Delphi map files...

2007-03-02 Thread Peter Vreman
Hello again :), I just forgot to ask; Delphi has an option to generate a so called "map file" that contains the function addresses matched with the function names when an executable compiled. What would be the equivalent FPC functionality for this? man ld -> search for "map" -> there is a "--p

Re: [fpc-pascal] Equivalent of Delphi map files...

2007-03-02 Thread Vincent Snijders
Jonas Maebe schreef: On 02 Mar 2007, at 09:26, Vincent Snijders wrote: Jonas Maebe schreef: On 02 Mar 2007, at 09:03, m utku wrote: Hello again :), I just forgot to ask; Delphi has an option to generate a so called "map file" that contains the function addresses matched with the function na

Re: [fpc-pascal] Equivalent of Delphi map files...

2007-03-02 Thread Jonas Maebe
On 02 Mar 2007, at 09:32, Jonas Maebe wrote: -k--print-map Hmm. And then how to redirect the linker's standard output to a file named the same as a the source? You have to manually redirect the output to where you want it to got. Since linking happens on a per-program/library basis and no

Re: [fpc-pascal] Equivalent of Delphi map files...

2007-03-02 Thread Jonas Maebe
On 02 Mar 2007, at 09:29, Vinzent Hoefler wrote: man ld -> search for "map" -> there is a "--print-map" option -> tell FPC to pass this option to ld using FPC's -k option: -k--print-map Hmm. And then how to redirect the linker's standard output to a file named the same as a the source? You

Re: [fpc-pascal] Equivalent of Delphi map files...

2007-03-02 Thread Jonas Maebe
On 02 Mar 2007, at 09:26, Vincent Snijders wrote: Jonas Maebe schreef: On 02 Mar 2007, at 09:03, m utku wrote: Hello again :), I just forgot to ask; Delphi has an option to generate a so called "map file" that contains the function addresses matched with the function names when an executab

Re: [fpc-pascal] Equivalent of Delphi map files...

2007-03-02 Thread Vinzent Hoefler
On Friday 02 March 2007 08:19, Jonas Maebe wrote: > On 02 Mar 2007, at 09:03, m utku wrote: > > Hello again :), I just forgot to ask; Delphi has an option to > > generate a so called "map file" that contains the function > > addresses matched with the function names when an executable > > compiled.

Re: [fpc-pascal] Equivalent of Delphi map files...

2007-03-02 Thread Vincent Snijders
Jonas Maebe schreef: On 02 Mar 2007, at 09:03, m utku wrote: Hello again :), I just forgot to ask; Delphi has an option to generate a so called "map file" that contains the function addresses matched with the function names when an executable compiled. What would be the equivalent FPC functi

Re: [fpc-pascal] Equivalent of Delphi map files...

2007-03-02 Thread Jonas Maebe
On 02 Mar 2007, at 09:03, m utku wrote: Hello again :), I just forgot to ask; Delphi has an option to generate a so called "map file" that contains the function addresses matched with the function names when an executable compiled. What would be the equivalent FPC functionality for this?