fpc-pascal · 2015-02
- How do you build FPC?14
I'm using i386 32bit Linux for most of my development and currently using FPC 2.6.0. I'm trying to understand how to build FPC for various scenarios: Cross-compiling FPC…
- Use sleep in thread35
Can I use Sleep() in a thread to give up cpu time to other threads running at the same time, so as to adjust the relative "niceness" of a group of workers working on the…
- Failed compiling SVN source on Raspi 1 B+7
I just got my Raspberry 1 B+ and I wanted to install latest FPC (and Lazarus) on it. I got FPC v.2.6.4 installed from the linux-arm package. But then it failed to…
- about interface and multiple inheritance23
This is an interesting article about interface and multiple inheritance in Java. http://blog.cleancoder.com/uncle-bob/2015/01/08/InterfaceConsideredHarmful.html I…
- fpc-src_2.6.4-140420_i386 from debs at sourceforge : error while processing dpkg install4
I got : " dpkg: error processing fpc-src_2.6.4-140420_i386.deb (--install): trying to overwrite '/usr/share/fpcsrc/2.6.4/packages/postgres/src/postgres3.pp', which is…
- TThread.Queue vs TThread.Synchronize40
I've recently seen some posts in Delphi groups that the preferred way is to use TThread.Queue instead of TThread.Synchronize. Why is that? What are the benefits? I've…
- Differences between ppc386 and ppcross3862
What are the differences between ppc386 and ppcross386? Related question: When calling "fpc -Pi386" it searches for ppc386, but not for ppcross386. Why is that? Mattias
- RTFM question (?): which variables/fields are initialized by fpc?1
I cannot find it in the docs (probably not looking in the right place). Which variables/class-fields are initialized by the compiler? My understanding is that: - global…
- libxml on MacOS X2
is there a specific reason why libxml is not built for MacOS X / darwin? My first instinct was to "just try it" and but then I found out the hard way, that I have no…
- Brook Framework and Template Engines9
What's the current status of the Brook Server Pages project? What's the recommended template engine to use with Brook Framework? Best regards
- May I Interject? A Generic Inheriting a Generic in a Generic Way1
I have an idea called Interjections. I have posted on the forum so that everybody can access it nicely. Here are the links:…
- Reading build-id0
Does anybody have any example code for a program to read its own build-id (ELF note NT_GNU_BUILD_ID), if defined? Presumably this uses bfd.pas, which I notice is GPL…
- fpc-arm-embedded bin doesn't run5
I'm trying to get the fpc working on a stm32f103c8 board (maple_mini_clone). following this http://j-software.dk/stm32f103.php <http://j-software.dk/stm32f103.php> I'm…
- Record helpers on built in types?26
I tried this out today on FPC fixes_3_0 and was surprised to see it worked: type StringHelper = record helper for string private function GetLength: Integer; procedure…
- Some features for FPC 3.0?27
Just got an article about new language features from RO's Oxygene language. I think some of them might be good to be (considered and) implemented in FPC v.3.…
- How can you convert an enum value to string?12
Is there a subroutine that can convert an enum value to a strings, so that I can do something like ShowMessage(EnumToStr(enumValue))? Frank Church =======================
- Functions for int128rec ?0
I noticed that there is "int128rec" type, but I do not found any support routines which can do operations like multiplication, addition with this type. Is there…
- How to use FCGI in threaded mode?28
Using the TCustomHTTPApplication class, I just set the "Threaded" property to true, and my application works in threaded mode. But, how to do the same in…
- linking and using dynamic libraries on amd6410
when I try to run a program that dynamically links an external .so library it throws a SIGSEGV seems to happen while loading the library before any code of mine is…
- Raspberry Pi1
Thank you very much to all Freepascal and Lazarus developers. Today I was able to compile all my applications within "Raspberry Pi". I am very happy. Many thanks to…
- access violations on new ARM hardware13
we use an ARM based SOM for a device developed by us, the software is developed using Lazarus. Now we are testing a new version of the SOM and can't get our software to…
- Generic: generic type in generic methods2
I'm trying to port some of my drafts from Delphi to FPC, but I'm taking some problems. See this sample: http://pastebin.com/Jb6UjDX9 Notice that I specialized the…
- Generic: restricting a specialized type2
I'm trying to port a Delphi code to FPC, and it has a structure like: TType = class(TObject) end; TTest<T1; T2: TType> = class(TObject) end; TFoo = class(TType) end;…
- New Get Lazarus Initiative17
I am please to announce the launch of a new initiative to promote Free Pascal and Lazarus. The hub of this initiative is http://www.getlazarus.org The get Lazarus…
- Wraper for libpciaccess ?1
Does anyone know of an FPC wrapper for the library libpciaccess ? Thanks in advance Brian View this message in context:…
- A Delphi "class constructor" does not compile in FPC2
First, please test the code below in Delphi and after in FPC: TTest = class public class constructor Create; constructor Create; virtual; end; ... constructor…
- SDL 2.xx4
I currently have an application running under Ubuntu 14.04 using SDL 2.03 and have a few questions . Currently the window / rendering / event handler are running in a…
- why fpc do not use a known return function value16
Hi in this program test function has a known return value , and should be calculated in compile time , but fpc make it in real time !!! --------------------- program…
- FieldAddress3
What does it take for a class to access a field using FieldAddress(...)? I have tried with both typeinfo on/off ({M+}), placing the field in…
- DB Access and Multithread3
The DB access framework of the fpc is not thread safe. So, how can i build a multithreaded application that requires access to database? If each one of my threads use…
- Reinier Olislagers3
someone please tell me that BigChimp on the forums is not Reinier Olislagers in RL...
