Re: [fpc-pascal] crosscompiling from win32 to i386-linux and libc linking

2006-08-09 Thread Dominique Leducq
Dominique Leducq a écrit : Hi, I have linking problems when cross-compiling from win32 to i386-linux and linking with libc (dynamically). I use FPC 2.0.2, the libs are from a Debian Sarge (glibc-2.3.6, I tried with glibc 2.3.2 with same results), cross ld is : ld.exe -V GNU ld version 2.15

Re: [fpc-pascal] su (switch user) application

2006-08-09 Thread Michael Van Canneyt
On Wed, 9 Aug 2006, Johannes Nohl wrote: > > Baseunix. > > Great! I found it. Is there a Windows-way, too? Something like > basewindows? Thanks... As far as I know, there is no way to change the user-id of a running process. It is possible to start a process with a different set of credential

Re: [fpc-pascal] su (switch user) application

2006-08-09 Thread Johannes Nohl
Baseunix. Great! I found it. Is there a Windows-way, too? Something like basewindows? Thanks... ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compiling for SPARC

2006-08-09 Thread Mark Morgan Lloyd
Koenraad Lelong wrote: > Thanks for this info, I had exactly the same problem when compiling > 2.0.4-rc3 for arm-linux. Solved now, by reducing the path-lenth. > Regards, Glad to be of some help. I'll continue working on this to see if I can find out how long the leading path has to be before the

Re: [fpc-pascal] Compiling for SPARC

2006-08-09 Thread Koenraad Lelong
Mark Morgan Lloyd schreef: Jonas Maebe wrote: Given the info below, it's not needed. I'm an engineer. Take a close look at how something behaves before opening it up. No doubt a medical man would agree :-) Very strange. smartlinking can be slow sometimes, but gtkglarea only results in 12

Re: [fpc-pascal] DOS Timer Interrupt, serial Interrupt

2006-08-09 Thread Rainer Stratmann
Hello Alexey, yes, it should be get_cs, I wonder why it not crashes with ds. Now it counts, but slowly, when running out of win98. When running in 'pure' DOS mode (when ending windows) it has also no effect. The timer interrupt normally counts 18.2 times per second. ??? Best regards Rainer Am Mi

Re[2]: [fpc-pascal] DOS Timer Interrupt, serial Interrupt

2006-08-09 Thread Alexey Pavluchenko
Hello Rainer, Wednesday, August 09, 2006, 7:07:13 PM, you wrote: RS> Hello Alexey, RS> the program is changed now, but is has the same effect. RS> May be it has to do with the special role of the timer interrupt. There is nothing really special about it. Int 1Ch is not even a hardware interrupt

Re: [fpc-pascal] Compiling for SPARC

2006-08-09 Thread Mark Morgan Lloyd
Jonas Maebe wrote: > Given the info below, it's not needed. I'm an engineer. Take a close look at how something behaves before opening it up. No doubt a medical man would agree :-) > Very strange. smartlinking can be slow sometimes, but gtkglarea only > results in 12 object files... Can you capt

Re: [fpc-pascal] DOS Timer Interrupt, serial Interrupt

2006-08-09 Thread Rainer Stratmann
Hello Alexey, the program is changed now, but is has the same effect. May be it has to do with the special role of the timer interrupt. Best regards Rainer program time; uses crt,dos,go32; var timervar:longint; procedure hardtime; interrupt; begin inc(timervar); end; var htimeivecbak : tse

Re: [fpc-pascal] turbo is back!

2006-08-09 Thread Florian Klaempfl
Krishna wrote: Hi all, $(Subject) : http://www.turboexplorer.com/ Can they make an impact? What do you guys think about it? I hope it brings Object Pascal back on the track. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.fr

Re: [fpc-pascal] turbo is back!

2006-08-09 Thread Marco van de Voort
> $(Subject) : http://www.turboexplorer.com/ > > Can they make an impact? What do you guys think about it? - Price <= Eur 500. If it becomes anything more than 200-250, IMHO the pricepoint will be too high for its purpose - Rumours(b.d.non-tech) about not being able to use designtime pkgs in dow

[fpc-pascal] turbo is back!

2006-08-09 Thread Krishna
Hi all, $(Subject) : http://www.turboexplorer.com/ Can they make an impact? What do you guys think about it? Cheers, Krishna -- First they ignore you, then they laugh at you, then they fight you, then you win. - Mahatma Gandhi ___ fpc-pascal maillist

Re: [fpc-pascal] best way to execute external program

2006-08-09 Thread Darius Blaszijk
Look for TProcess. Darius - Original Message - From: "Bisma Jayadi" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 09, 2006 1:49 PM Subject: [fpc-pascal] best way to execute external program Hi all... What is the best approach to execute external program from within our own appl

[fpc-pascal] best way to execute external program

2006-08-09 Thread Bisma Jayadi
Hi all... What is the best approach to execute external program from within our own application, monitor the process, get the termination status, in multiplatform way? Is there a ShellExecute-like function in FPC/RTL but works on all platforms? Thank you in advance for any suggestions. -Bee-

Re: [fpc-pascal] DOS Timer Interrupt, serial Interrupt

2006-08-09 Thread Alexey Pavluchenko
Hello Rainer, Wednesday, August 09, 2006, 1:19:52 PM, you wrote: RS> is there a document or sample code for accessing the timer interrupt and the RS> serial interrupt in DOS mode. RS> This does not work: [skip] You should use get_pm_interrupt and set_pm_interrupt from GO32 unit instead of DOS u

[fpc-pascal] DOS Timer Interrupt, serial Interrupt

2006-08-09 Thread Rainer Stratmann
Hello, is there a document or sample code for accessing the timer interrupt and the serial interrupt in DOS mode. Rainer This does not work: program time; uses crt,dos; var timervar:longint; procedure hardtime; interrupt; begin inc(timervar); end; var htimeivecbak : pointer; // Interrup