fpc-pascal · 2013-05
- Synchronize(dummyproc) with Linux.50
This about audio and fpc and fpGUI and LCL and Linux. (working good with Windows) Have some trouble with threads synchronize() procedure. The main thread.execute is a…
- http://www.freepascal.org/future.var20
On this page: http://www.freepascal.org/future.var this is mentioned: Planned for later versions ... LLVM backend support Going by the discussions on this mailing list…
- How to handle External:SIGPIPE on linux4
I am using LNet 's SSL sockets on ubuntu. When I use a self signed certificate and the browser gets a warning, it seems the browser immediately send a close-notify or…
- Program not running5
Does anyone have an idea why a program made with fpc will not run ? I have an odroid X2 module, with xubuntu armhf. I "installed" the fpc/fpgui-package from Paul…
- Trunk seems to break again!?!?17
On Linux x64 with a clean fpc directory, using fpcup: svn info: ... Last Changed Author: joost Last Changed Rev: 24622 Last Changed Date: 2013-05-26 22:51:41 +0200 (Sun,…
- fcl-res: using resource embedded in exe5
I've noticed some code of mine using resources needed the windows unit (to get RT_RCDATA), Iand therefore wasn't cross-platform. Tried rewriting using fcl-res, which…
- FPC 2.7.1 | ARMHF/ARMV6 | Optimization breaks my code at -O22
What are the optimizations made between -O1 and -O2 on this target? Are optimizations at this level materially different when comparing ARM to x86 output targets? I ask…
- Moving packages\fcl-res docs to main fpcdocs?5
Noticed that fcl-res has documentation in an XML subfolder of $(fpcdir)\packages\fcl-res Shouldn't these be moved into the general fpcdocs repository (and generated as…
- Undefined symbols. Help!3
Can someone point me in the right direction towards solving this problem? I built a static libraries on Linux based on some open source c and h files. I can compile…
- Not working download-link1
I just tried to download fpc for arm-linux. The links on the website are broken. Now it is :…
- Win64 release of FPC 2.6.2 missing31
I just tried to update one of my Windows VM with the latest released FPC. To my surprise there is no Win64 release for FPC 2.6.2 on SourceForge? I only found a 32-bit…
- Re: CThreads problem when cross-compiling to ARM/RPi [SOLVED]0
For those that are interested, converting all symlinks to be relative (in /usr/lib in the crossroot) fixes cross linking problems (i.e. when using --sysroot with ld)…
- CThreads problem when cross-compiling to ARM/RPi.17
Starting with a simple test program arm-test.pas: program test; begin writeln('DATE ',{$i %DATE%}); writeln('FPCTARGET ',{$i %FPCTARGET%}); writeln('FPCTARGETCPU ',{$i…
- Android JNI failing in Galaxy S419
I know that some other people here are developing Android JNI apps. For me it has worked perfectly so far, but as we just got a Galaxy S4 in the office I thought of…
- FPC cross compilation error: cannot find -lgcc5
I am puzzled by the failure to cross compile with recent FPC versions. Cross compilation from Ubuntu 32 bit to Win32, WIn64, and Linux 64 works well with FPC 2.6.0. With…
- PostgreSQL and error codes2
How to get the error code of a data base error? I'm using the PostgreSQL. The full list of all erros is: http://www.postgresql.org/docs/9.2/static/errcodes-appendix.html…
- How does FPC calculate linker search paths upon -XP?3
Using FPC 2.7.1 I'm cross-compiling from x86_64 to ARM/RPi and have specified: -XR/usr/local/opt/chroot/raspbian/rootfs This produces a link.res file that includes the…
- FPC trunk r224549 needs more incantations?4
r24549 | joost | 2013-05-21 21:58:14 +0200 (di, 21 mei 2013) | 1 line * Removed unused unit jarparamparser.pas Perhaps some (fp(c))make regeneration or something?…
- Stupid ExcludeTrailingPathdelimiter question6
I did not expect this: ExcludeTrailingPathDelimiter(/) = {Linux} ExcludeTrailingPathDelimiter(\) = {Windows/WinCE} ExcludeTrailingPathDelimiter(c:\) = c: Reasom I'm…
- Error: Duplicate identifier "FarPointer"13
Today I updated my GIT copy of FPC, and after I try to make it and install, I got this error: http://pastebin.com/90fhy34Y Until last week everything was normal. Thank…
- Compiler bug with managed type not being initialized correctly1
I just filed a bug having to do with a managed type (I am using an interface in my code) not being properly initialized when stored in a record's private section:…
- -v to show function call frequency0
Is there any -v (or any other option) to show summary of function call frequency (in term of appearance in source code, not actual function call)? i.e. something like:…
- Examples of tiOPF logging in the wild3
Are there some examples of using tiOPF logging besides those in the demos? I want to use tiLogToGUI, but I am not happy with the amount of screen space it takes. Is…
- TProcess, Batch script and Windows5
I want to execute a batch file on Windows (FPC 2.6.2 and Laz trunk) using TProcess class. It ONLY works if I use the [poWaitOnExit] and DO NOT USE [poNoConsole] options.…
- Re: : can not build RTL with 2.7.1 compiler1
---------------------------------------------------------------------- Compiling the RTL of revision 24514 with a compiler of revision 24514 is supported, isn't it?…
- Documentation site: incorrect manual name1
On http://www.freepascal.org/docs-html/ I find FCL (Free Class Library) reference manual. however the doc itself (and the 2.6 PDF) specifies Free Component Library Could…
- Overloading doubt: bug or feature2
Is the following a bug or undocumented "feature"? function f(s: string): string; begin f := '''' + s + ''''; end; function f(s: string): integer; begin Val(s,f); end; var
- fpSock?3
Is fpSock deprecated? I noticed that it is implemented only for unix system. Someone still maintains this unit, if yes, you would have no interest in making it…
- Redirecting heap trace output to stdout9
The only available function for dumping heap trace output is DumpHeap, which outputs to stderr. However, it's problematic to use it in a web environment, because web…
- FPC 2.6.2 throws SEGV in fpc_AnsiStr_Decr_Ref(). How is this possible?15
After a random but very long period of time (i.e. very many successful calls) I get a SEGV in the built-in function fpc_AnsiStr_Decr_Ref. GDB reports the argument to…
- systemh.inc(117, 16) Error: Duplicate identifier "FarPointer"18
Compile failed. Please see below the error/bug. svn up make clean make OVERRIDEVERSIONCHECK=1 NOGDB=1 OPT='-O- -gl -Xs-' all .................... ....................…
- How to use string defines ?2
I'm trying to make an application that need to be FHS compliant. For that I want be abble to pass some strings as compile time parameters (eg. the famous $PREFIX). I…
- ID3v2 - Reading and writing MP3 metadata6
I friend has sent me a component to read and write mp3 tags. In particular, I am interested in the ID3v2 pattern. In theory, the attatched component could do what I…
- ImageMagick and Static Linking0
Image Magick comes with static libraries and dynamic libraries. Is there any way to make ImageMagick unit support the *.lib files? I'm trying to avoid having to…
- Cross-building on from Linux/i386 to Linux/x86-6410
<Continuation of discussion from "Cross-building on from Linux/x86-64 to Linux/i386 (was: Win64 release of FPC 2.6.2 missing)"> It is the other way round. My OS is 32…
- Is THostResolver creating a thread?5
A friend from Brazil found a small problem in "resolve" unit. Before execute the test: http://imagebin.org/256886 After execute the test: http://imagebin.org/256887 And…
- Strange error message5
I'm working on a glut app but I keep on getting the message: Error: Can't assign local procedure/function to procedure variable The error is at this line:…
- How to close TInetServer without except?46
I'm trying to close a socket (full code here: https://bitbucket.org/silvioprog/tcpipcomp/src/6b43739d5416424e82112b858a9b71d26c8c6165/src/tcpipserver.pas?at=master ):…
- $LINKLIB or $LINK in Lazarus/FPC on Mac OSX7
Hello: I am new to the list, I have posted on the forum, but I don't really know where the center of gravity is for this FPC/Lazarus Community, so I will post on the…
- Compileability of target WinCE restored2
Hello together! I've now restored the possiblity to compile arm-wince and i386-wince in revision 24420. Sorry for the long time of broken compilation and the resulting…
- Porting C variable declaration2
I came across a pointer variable in C which also get's assigned integer values. Anyone has an idea how to port this in FPC? The variable is declared as: static void *x=0;
- How to detect if a project is a simple program or a application?2
I'm trying to detect if a project is a simple program or a application. Please download a small test here: https://www.dropbox.com/s/w6a9gb4b9hnjit5/prova.zip On Windows…
- fpc does not invoke correct compiler2
Hi all I experience inconsistency using fpc wrapper. See below. When I invoke fpc using command line "fpc -Px86_64 ..." it correctly executes cross-compiler (ppcrossx64)…
- fpGUI Toolkit v1.0 release for FPC 2.6.24
fpGUI v1.0 is available ======================== I'm glad to announce the 1.0 release of fpGUI. This has been over a years worth of development, so a complete list of…
- Problems with ImageMagick Win642
Current FPC/Trunk running on Win64 XP I can't get ImageMagick unit to work under Windows XP 64. I changed Win32 to Windows {$ifdef Windows} MagickExport =…
- Generic Observables3
I was experimenting with using some of FPC's features together and came up with this: https://github.com/tangentstorm/lazmvc/blob/master/umodel.pas Basically, it's just…
- What library would be recommended for creating pdf file (print invoices)3
I'm wondering which is the best library available for freepascal that i could use to generate printable invoices? Most likely a lot of people need this kind of…
