fpc-pascal · 2008-12
- How to build .so with FPC and use it in C program?12
Hello, FPC-Pascal. How to build .so with FPC and use it in C program on FreeBSD platform? KES
- Debugger support for FP (issues with libgdb.a)9
I've tried to use the debugger in FP 2.2.2 and I got this error "No debugger support available" The I read online and found that I need to get libgdb.a from a build of…
- Using FPC MM in a C program6
Since it's possible to use libc's MM via cmem unit, would the opposite be possible? View this message in context:…
- fpImage resample via interpolation13
As far as I can see, fpImage has for StretchDraw only the TMitchelInterpolation. The current implementation has a few drawbacks: - it creates a temporary image for…
- Error: Assembler as not found, switching to external assembling3
Hi all I'm sorry in advanced about my poor english (I'm spanish talking) I am returning to pascal, and in OSX 10.5.5, fpk 2.2.2 (installed from .dmg) I tried this:…
- DateTimeToUnix bug?5
I thought I'd get feedback here before I log this as a bug: ================================================== program Project1; uses DateUtils; var utime : longword;…
- Warning strftime format0
I had a very small and nasty bug that I discovered today. I use strftime to format a date, and I accidentally used the %g option rather then %y. The difference is that…
- DWARF line info cannot be used gdb21
Hi, all i'm trying to use gdb to debug FPC compiled file with DWARF debug information. fpc -gw3 test.pas here's test.pas listing ---codestart-- procedure TestUp; begin…
- bitwise generator3
I wish to create a firebird generator that does bitwise generation rather then ordinal generator. I mean: 1 2 4 8 16 32 64 128 etc.. Does anyone have knowledge how to…
- exitcode5
Where is the earliest position to set the exitcode? Which exitcode does the program generate if an error occurs? For example a seg fault.
- A Docs Unit?4
Is there a unit for documentation in Pascal? The only documenter I know is Natural Docs, which is not a pascal unit but something I use across multiple languages.
- Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)10
I'm running into another issue where I create all classes from scratch to avoid using Classes unit inside library and now my library won't load. The only FPC related…
- Initializing Arrays?2
I've already read that its not built into pascal but how do I get around this? If I have: contacts : array [1 .. 256] of JSMContact; the only way to initialize it is?…
- My favourite missing feature24
There seem to be a number of people currently making outrageous suggestions about missing features or how FPC could best be repackaged and promoted, so since it's the…
- installing lazarus from debian backports - Broken package3
I have posted the following problem to Newsgroups: gmane.linux.debian.user but there we can't to solve it.. <#mml type=message/rfc822 disposition=inline> Path:…
- Array [THandle] of pointer3
Following Setup: Ubuntu 8.10 x64 FPC 2.2.3 (latest and greatest) Lazarus (Latest and greatest) I'm seeing an anomaly with reading/writing to an Array[THandle] of…
- TListBox bug in LCL of Lazarus?27
hopefully someone can help me with my first steps at migrating my Delphi programs to Lazarus. I have a TListBox which I modify in the following way:…
- Problems with FP-IDE with xterm2
I've just started using fpc and I noticed that xterm does not show the IDE very well. I'm using xterm X.Org 6.8.99.903(236) and fpc 2.2.2 Here are 2 examples…
- Schema Types8
I'm considering movingn from GPC to FPC. One thing I like very much about GPC is its schema types. I can declare a matrix like this:…
- Unexpected duplicate identifiers4
I've got a class that looks in part like this: TTextStore= CLASS(TStringList) PRIVATE PROCEDURE NeverSort(sort: BOOLEAN); PUBLIC FUNCTION HereDocument(CONST name:…
- Options for configuring GDB1
I'm curious why my FPIDE with GDB 6.8 compiled with MinGW crashes while GDB says OK (see http://bugs.freepascal.org/view.php?id=11968…
- MSEide+MSEgui version 2.0beta20
MSEide+MSEgui version 2.0beta2 has been released: https://sourceforge.net/project/showfiles.php?group_id=165409 Martin
- [OT] syntax diagrams in the reference guide3
I'd like to ask: Is there any tool for creating the syntax diagrams shown in the reference guide? If yes, which one and where can I get it? Marc
- Forcing a text file to use a predefined handle2
I can get a program compiled with Turbo Pascal to use the existing stderr handle for output like this: PROGRAM Meta2(Input, Output, Error); .. Assign(Error, '');…
- Procedure types8
I've got a few thousand lines of Pascal which I'm converting to FPC. It's actually the Meta-2 compiler-compiler which despite its age I still find useful for embedded…
- TProcess question19
Just played with TProcess for the first time. (I come from Delphi 3) I observed some oddities (?, or maybe I'm just dumb ...). If you try to execute a process that is…
- Problems with Dynlibs.UnloadLibrary on Linux9
I've been experiencing problems with SOs under Linux and am trying to develop a "Plugin" system for my Server I'm porting to Lazarus. I'm confident can get these…
- fpc 2.2.2 in fink for Mac OS X1
Hi A revised version of fpc 2.2.2 has been added to the unstable tree of fink. Main new features are IntelMac crosscompilers for Win32 and linux-i386. The i386…
- Using OpenCASCADE 3d tools with Pascal?4
I am wondering if anyone here has ever managed to use the free open-source OpenCASCADE 3d tools (www.opencascade.org) with Pascal before? An already developed ActiveX…
- RRDTool binding1
Is there a binding for RRDTool ? With a linux-box I'm monitoring a device and for the moment I store the data in a text-file. Then I convert that text-file to a script…
- Kerberos for Free Pascal0
Have anyone here ever used Kerberos with free pascal, and/or know on a good Pascal binding for using it (including finding name value items) ? Ido…
- Interactive process with TProcess3
OK, since no one answers this in Lazarus forum, I'll ask here as it's more FPC (FCL, actually) related than LCL. I want to create an interactive process, so I need to…
- OnGuard WinCE0
i can't compile TPOnGuard for WinCE ... Does anyone succeded to use TPOnGuard in WinCE ? Dimitrios Chr. Ioannidis No virus found in this outgoing message. Checked by AVG…
- number of cpu cores12
I need a default value of the number of maximum threads. Is there already some RTL function that can be used for that? For example if the program runs on a 2 x quad core…
- Create appending data to existing exe file?3
Is it possible to append data to an existing executable file and have that file run correctly? I'm adding scripting features to one of our products and I wanted it so…
- Options for enabling output buffering4
I'm tired of writing: uses Dos; ... begin TextRec(Output).FlushFunc:=nil; ... all the time in every programming contest I follow. Wouldn't it be better to provide an…
- Re: How Much of the FP/LCL is there in Indy 9/10 of Lazarus?1
Hello Has anyone used or attempted to use Indy with FPC... and if so how did you incorporate the Indy components. On Thu, Dec 11, 2008 at 12:24 PM, Mattias Gaertner <
- Cannot find GTK9
Hello: I was trying with some examples about using the GTK library in the FreePascal IDE (the blue screen) and it says that this unit is missing. Despite that, I could …
- Object Pascal operating system6
Some proof of the concept: ClassiOS (http://www.petros-project.com/index.php/products/classios.html) was written in Delphi. Not an open source project, but it shows it…
- Recursive data structures using FP generics2
Last time I try (about a semester ago) the compiler cannot do specialization based on another. For instance, if we have: type generic TTree<T> = class type TChild =…
- Problems With IDE0
Hi all! New to the list so please bear with me :) I am having an issue where the fp.exe program fails to start under Windows Vista 32 and 64 bit. I get the same…
- Re: Porting linux to pascal, would it be, possible ?30
Absolutely. Most of Unix is plain C, which translates well to Pascal. C++ is harder, of course. This is an argument only after considering the time versus the goal. Is…
- Porting discussion3
To increaase compatibility to Linux it would be great if it is possible to create a keyword which it makes possible to include C-headers and then do automatically the…
- Embarcadero/CodeGear officialy interested in Firebird and on native versions of Delphi for other operating systems ...16
something i just read at http://www.firebirdnews.org and in Marco Cantu's blog ( http://blog.marcocantu.com/blog/coderage_2008_closing.html ) Dimitrios Chr. Ioannidis
- RTL function list?9
Is there a list of functions and which RTL libraries they belong to?
- Wrong Time from Now() or Time()4
I have a strange problem with fpc 2.2.2 on Ubuntu Linux. The function Now(); did not return the right time ?!? It returns the time UTC - 6 hours. Any suggestions ? Alex
- Free Pascal Support for ARM Architecture25
Hello I have read on the wiki that FP supports ARM.. which I find very interesting.. After reading the manuals I see that FP uses the GNU tools as back-ends and they…
- FPC 2.2.31
Hi I am running Ubuntu kernel 2.6 64bit. and FPC 2.2 and getting errors on MYSQL opens. Lazarus people say I should install FPC 2.2.3 I tried to link into the Australian…
- fstat usage6
Trying the fstat function and don't seem to be getting the right values for ctime, mtime and atime. -- filedate.pp uses BaseUnix,DateUtils,SysUtils; var info : stat ;…
- setting output dir inside fpc's package tree2
I' trying again, apparently I wasn't able to make my problem clear. I want to write a Makefile.fpc for fpcmake that does the same thing as any other package inside the…
