Re: [fpc-pascal] linking and using dynamic libraries on amd64

2015-02-11 Thread Marc Santhoff
On Do, 2015-02-12 at 00:42 +0100, Marc Santhoff wrote: > Hi, > > when I try to run a program that dynamically links an external .so > library it throws a SIGSEGV error at startup. That seems to happen while > loading the library before any code of mine is exeuted. > > The library is pulled into i

[fpc-pascal] linking and using dynamic libraries on amd64

2015-02-11 Thread Marc Santhoff
Hi, when I try to run a program that dynamically links an external .so library it throws a SIGSEGV error at startup. That seems to happen while loading the library before any code of mine is exeuted. The library is pulled into it by a header translation from C to Pascal. The functions are declare

Re: [fpc-pascal] access violations on new ARM hardware

2015-02-11 Thread Björn Schreiber
Am 11.02.2015 um 13:36 schrieb Jonas Maebe: instruction. The Cortex-A5 is an ARMv7 class cpu, so adding -Cparmv7 to your cross-options when building the RTL should work. Thanks for the info, I will give it a try. Greetings, Björn -- Björn Schreiber DRIGUS GmbH __

Re: [fpc-pascal] access violations on new ARM hardware

2015-02-11 Thread jeppe
Small correction: -Cparmv7a -- Oprindelig besked--Fra: Jonas MaebeDato: ons., 11. feb. 2015 13:36Til: FPC-Pascal users discussions;Emne:Re: [fpc-pascal] access violations on new ARM hardware On 11 Feb 2015, at 12:48, Björn Schreiber wrote:> Some new information: the manufac

Re: [fpc-pascal] access violations on new ARM hardware

2015-02-11 Thread Jonas Maebe
On 11 Feb 2015, at 12:48, Björn Schreiber wrote: Some new information: the manufacturer of the SOM did a analysis of the compiled program. We were told that the program makes use of the SWP instruction which is deprecated since ARMv6 and was deactivated in the kernel we used. They build a

Re: [fpc-pascal] access violations on new ARM hardware

2015-02-11 Thread Björn Schreiber
Am 28.01.2015 um 16:44 schrieb Björn Schreiber: --- Schnipp On --- program test; var AString: String; function AFunction: String; var S: WideString; begin S := 'Test'; AFunction := S; end; begin AString := AFunction; end. --- Schnipp Off --- Some new information: the

Re: [fpc-pascal] How to use FCGI in threaded mode?

2015-02-11 Thread Michael Van Canneyt
On Tue, 10 Feb 2015, silvioprog wrote: Buddy, I finally could make a draft of a FastCGI application running in multi-thread in proxy mode. =) Congratulations !! It worked on: . Windows 7 - 64 bits; . nginx 1.7.9 com o módulo FastCGI distribuído nele; . Apache 24 (httpd-2.4.12-win64-VC