Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-28 Thread Florian Klämpfl
Am 28.12.2010 04:17, schrieb Jeppe Johansen: They are C APIs indeed. I just took a stab at it, and after a long day of pointer errors in converted C code and really, really badly descriptions of error messages, I managed to port the example from here

[fpc-pascal] Progress indication while linking

2010-12-28 Thread Mark Morgan Lloyd
On low-spec systems (for example Linux on ARM with 32Mb or Solaris on SPARC with 128Mb) linking a large project such as the Lazarus IDE can take several days. Is it possible to get any sort of activity indication that confirms that the linker is actually doing something useful, rather than

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-28 Thread Jeppe Johansen
Den 28-12-2010 10:03, Florian Klämpfl skrev: Am 28.12.2010 04:17, schrieb Jeppe Johansen: They are C APIs indeed. I just took a stab at it, and after a long day of pointer errors in converted C code and really, really badly descriptions of error messages, I managed to port the example from here

[fpc-pascal] Unicode strings

2010-12-28 Thread Juha Manninen
Hi What I have understood so far: WideString uses UTF16 encoding. It is managed by Windows and so is not reference counted by Delphi or FPC under Windows. However it is reference counted by FPC on other platforms. Then FPC has UnicodeString which is identical with WideString except that it is

Re: [fpc-pascal] Progress indication while linking

2010-12-28 Thread Jonas Maebe
On 28 Dec 2010, at 11:04, Mark Morgan Lloyd wrote: Is it possible to get any sort of activity indication that confirms that the linker is actually doing something useful, rather than just sitting there locked up? No, there isn't. FPC currently does not show any output from the linker, but

Re: [fpc-pascal] Progress indication while linking

2010-12-28 Thread Tomas Hajny
On Tue, December 28, 2010 11:04, Mark Morgan Lloyd wrote: On low-spec systems (for example Linux on ARM with 32Mb or Solaris on SPARC with 128Mb) linking a large project such as the Lazarus IDE can take several days. Is it possible to get any sort of activity indication that confirms that

Re: [fpc-pascal] Unicode strings

2010-12-28 Thread Jonas Maebe
On 28 Dec 2010, at 11:22, Juha Manninen wrote: What is the difference between the current FPC's UnicodeString and Delphi's UnicodeString? I am confused with all these string types and encodings. Delphi's UnicodeString supports holding strings with arbitrary encodings (not just UTF-16), along

Re: [fpc-pascal] Progress indication while linking

2010-12-28 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 28 Dec 2010, at 11:04, Mark Morgan Lloyd wrote: Is it possible to get any sort of activity indication that confirms that the linker is actually doing something useful, rather than just sitting there locked up? No, there isn't. FPC currently does not show any output

[fpc-pascal] TEventLog rewrite the log file

2010-12-28 Thread ik
Hello, I've started using the TEventLog class and it seems to rewrite any existed content of the log file instead of append it. The code uses fmCreate, so I do not understand why it rewrite the content. is it a bug, or am I missing something ? Thanks, Ido LINESIP - Opening the source for

Re: [fpc-pascal] Progress indication while linking

2010-12-28 Thread Vincent Snijders
2010/12/28 Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk: Jonas Maebe wrote: On 28 Dec 2010, at 11:04, Mark Morgan Lloyd wrote: Is it possible to get any sort of activity indication that confirms that the linker is actually doing something useful, rather than just sitting there

Re: [fpc-pascal] Progress indication while linking

2010-12-28 Thread Mark Morgan Lloyd
Vincent Snijders wrote: 2010/12/28 Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk: Jonas Maebe wrote: On 28 Dec 2010, at 11:04, Mark Morgan Lloyd wrote: Is it possible to get any sort of activity indication that confirms that the linker is actually doing something useful, rather than

Re: [fpc-pascal] Progress indication while linking

2010-12-28 Thread Jonas Maebe
On 28 Dec 2010, at 12:29, Mark Morgan Lloyd wrote: FPC works well enough to compile itself on Solaris (as discussed elsewhere) so I've got no reason to think that things are totally broken. However I've not got a number of tools that I rely heavily on when running Linux- in particular

Re: [fpc-pascal] Progress indication while linking

2010-12-28 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 28 Dec 2010, at 12:29, Mark Morgan Lloyd wrote: FPC works well enough to compile itself on Solaris (as discussed elsewhere) so I've got no reason to think that things are totally broken. However I've not got a number of tools that I rely heavily on when running Linux-

Re: [fpc-pascal] Progress indication while linking

2010-12-28 Thread Jonas Maebe
On 28 Dec 2010, at 13:17, Mark Morgan Lloyd wrote: Thanks, I'd forgotten that site. Tries to tell me that CPU is 0.05 but still takes 10 secs to login- I'm pretty sure the whole system's thrashing... [applies ear to case] yup, it's thrashing. The ld manual page lists some options you can

Re: [fpc-pascal] TEventLog rewrite the log file

2010-12-28 Thread Michael Van Canneyt
On Tue, 28 Dec 2010, ik wrote: Hello, I've started using the TEventLog class and it seems to rewrite any existed content of the log file instead of append it. The code uses fmCreate, so I do not understand why it rewrite the content. is it a bug, or am I missing something ? Using

Re: [fpc-pascal] TEventLog rewrite the log file

2010-12-28 Thread ik
On Tue, Dec 28, 2010 at 15:06, Michael Van Canneyt mich...@freepascal.orgwrote: On Tue, 28 Dec 2010, ik wrote: Hello, I've started using the TEventLog class and it seems to rewrite any existed content of the log file instead of append it. The code uses fmCreate, so I do not understand

Re: [fpc-pascal] Progress indication while linking

2010-12-28 Thread Mark Morgan Lloyd
Boris Samorodov wrote: Hi Mark, you wrote: since I've not got GNU Screen FYI: They say that tmux can be used under Solaris: http://www.mail-archive.com/tmux-users@lists.sourceforge.net/msg0.html Thanks Boris, I'll investigate although I must say that I'm being fairly careful not to

Re: [fpc-pascal] Progress indication while linking

2010-12-28 Thread Mark Morgan Lloyd
Jonas Maebe wrote: The ld manual page lists some options you can use to reduce its memory usage: * --no-keep-memory (makes it re-read object symbol tables from time to time instead of keeping them in memory all the time) * --reduce-memory-overheads (small hash tables and slower but less