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

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

2007-03-02 Thread m utku
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? Regards, Utku.

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?

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

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. What

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

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 have

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

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