fpc-pascal
Subscribe to this list Your subscription
Latest threads
- 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…
