fpc-pascal · 2006-05
- a suggestion...23
Is there any particular reason for not compressing the release tarballs (Linux f.e) with say bzip2 or even 7zip? The uncompressed tarball weighs in around 24M and I'm…
- [Fwd: Re: spin_lock]1
(Burkhard: my mistake. Sorry ) thank you for your message. I find it VERY usefull! I have many questions: 1-- Keep in mind that I need the processor for a period of 100…
- spin_lock11
would someone know how to execute: spin_lock spin_lock_init and spin_unlock I just want to disable the interrupts for 200 miliseconds maximum! This is not too long and…
- writeln in fpc 2.0.25
I use Lazarus. So, I've upgraded fpc from 1.0.10 to 2.0.2 . I've recompiled my cgi apps, and now something is wrong: lines with more than 80 char writed with writeln…
- real to integer12
I am frustrated by a very simple problem. I am trying to convert real to integer, using free pascal for mac. I am an old Think Pascal user who just recently found free…
- porting fpIoctl() to windows6
on FreeBSD I use fpOpen, fpIoctl, etc. to drive some generic device. In my porting efforts to win32 I have found the more generic FileOpen, but no equivalent of fpIoctl…
- fpc for ARM on FreeBSD0
since I know fpc has a code generator for ARM CPUs and is running on FreeBSD I'd like to know: What would be needed to make the compiled programm run on FreeBSD for ARM?…
- rotating bits37
Is there high level operator/(inline)function for rotating bits? Am I supposed to implement rotating bits (like ror/rol in i386 asm) by inline assembler or some ugly…
- assigning ansistring with shortstring9
I'm lacking some memory concept here. Below program doesn't work unless setlengths are called first on the shortstrings. program Project1; {$mode objfpc}{$H+} var…
- Trim repeated whitespace from a string5
Anybody know of a function that can remove (normalize) a string by remove all beginning and ending whitespace as well as replace all repeated spaces with a single space.…
- unit name with dots9
does fpc support unit names with more than one dot or is planned? in delphi 7 you can compile this: // unit main.dpr program main; uses test.sec; begin test.sec.doit;…
- GNU/Linux sql tool0
Does anybody know of a decent (even a half decent one will do) sql tool for GNU/Linux that can connect to a Firebird database. By that I mean one that I can write and…
- mantis0
Mantis is now embedded in a freepascal page, the problem is that for those who use 800x600 screen resolution (like me in at least one place). The sidebars (left, top)…
- C callable library2
Is FPC ready for writing libraries callable from C/C++ on Win32 and Linux? Krishna You think you know when you learn, are more sure when you can write, even more when you
- Fp-Doc. Question No.15
I'm using Windows XP (HE) Lazarus 0.9.14 with FPC 2.0.2 After reading the recent threads in the Lazarus mailing list, I realized that I should study how Fp-Doc works.…
- Fp-Doc. Question No.21
I'm using Windows XP (HE) Lazarus 0.9.14 with FPC 2.0.2 Looking at the fp-doc documentation i read that I fp-doc can generate documentation for the following formats:…
- How to get rid of hint?9
I want to compute the offset/difference between two pointers. But I didn't found a way to do that without compiler hints. unit1.pas(42,6) Hint: Conversion between…
- Typecasting by accident8
Just found a bug of mine I was wondering about since about three days, and wanted to share the fun with you: -- 8< -- // "How to raise the wrong exception" or // "Why…
- SSE31
Hi, I am interested whether is planed implementation of SSE3 floating instruction in to FPC. I saw optimizations in gpc for p2 p3 how can I set FPC to optimize let's say…
- Synapse 37b40
FYI: Has been published next Synapse snapshot 'synasnap 37b4' with lot of annonced changes for better FreePascal support. You can use Synapse for all unix based targets…
- [OT] fpc-gtk2 application on arm0
I think it's off-topic, but since I don't know where to look I take a chance asking here in the hope that some GTK-gurus can help me further. I'm making a gtk2…
- writing to dynamic array via formal parameter; what is the right way0
I use something like var a: array of byte; setlength(a,TheSize); blockwrite(afile,a[0],TheSize); Of course, if it is possible that TheSize=0, I have to write "if…
- Mantis now used as bug tracker1
FPC uses mantis now as bug tracker ( http://www.freepascal.org/mantis/set_project.php?project_id=6 ). Furthermore, lazarus and fpc share the same mantis installation so…
- AW: is planned next 2.0.x release?1
I would like to express my wish :-) for a new 2.0.x release too. We have also (minor) Problems (Dataset / Timestamp problems) with 2.0.2 and we would need a new "stable"…
- is planned next 2.0.x release?5
is planned some next 2.0.x release? I am adopting my Synapse library for unix based targets, and I found lot of problems with current FPC version 2.0.2. (like lot of…
- ioctl1
I am trying to use the FpIOCtl in the BASEUNIX unit. Guess what? the only thing I get back is -1 ! Is there any example code available on how to talk to a kernel module?
- make install (how to change distination?)2
when doing a 'make install' of a fresh fpc, how do change the destination directory? (Instead of c:\pp I would like, for exmaple, c:\lazarus\pp Also, will the fpc.cfg…
- Does FPC support garbage collection like Delphi for .NET?1
There are class TTestA and TTestB: type TTestB = class end; TTestA = class B: TTestB; constructor Create(BParam: TTestB); end; constructor TTestA.Create(BParam: TTestB);…
- FPC Qt4 for Mac0
The small Qt4 binding for FPC now also works on Mac Os X. http://www.freepascal.org/wiki/index.php/Qt4_binding Everyone with a Mac, feel free to try and comment. The…
- 0
- Free commander2
Does anyone have a copy of it? http://web.archive.org/web/20021122022650/http://fc.freepascal.org/
- fpc network components10
I want to create a simple webserver, that runs locally on the user machine. It must run on MacOSX, Linux, Windows and FreeBSD. What is the state of the FPC network units?
- FreePascal documentation in CHM-format0
FreePascal documentation (English) in CHM-format - http://stakanov.narod.ru/progs/fpcdocchm/ This page in Russian, for download press "Download CHM" or "Download ZIP" at…
- sort procedure of T(FP)List4
i wonder why the declaration of the comparing function of list objects is the way it is: TListSortCompare = function (Item1, Item2: Pointer): Integer; Since I am writing…
- string comparison on various platforms2
from digging the sources I know, that on Unix-like Systems the comparison of strings is done according to the current locale (Pascals "strcomp" is mapped to C-libs…
- Lazarus.4
I would like to hear from anyone using Lazarus/Free-Pascal on Debian GNU/Linux. Geoff.
- no output window displayed1
<http://www.ellman.com/mailimages/INTL2-linda.gif> Dear Sir: I download the Free Pascal Compiler Version 2.0.2, when I run it , no output window display, could you help…
- [Offtopic] Sendmail problems0
I'm experiencing the same problem with my sendmail, like I've seen here. Some messeges are delivered a few month later. Does anybody have an idea what's wrong with it?…
- Constant object1
How can I declare a constant object? var MyTest: TObject; begin MyTest := TObject.Create; end. works (for sure). How can I declare 'const'? Thanks Michael
- aterm won't run fp3
Hi all Even though I don't have a solution to the previous problem, I already have another one. A while ago I tried 'fp' and didn't get anything. Not having time, I…
- eof strangeness4
Hi all. While modifying some older programs, I found a strange effect with eof (input). When calling eof(input), the program needs an <enter> key to continue. The…
- OO Delegation0
Any updates in Delegation status? Im porting a delphi app that uses delegation a lot, is the the dailly dev snapshot news about this? []s Cesar Romero
- const parameter writeable9
Are const parameters supposed to ensure read only access? If so how come one can write to a typed pointer? program project1; {$mode objfpc}{$H+} type PSomeRec =…
- Problem with compile Gtk2 for version 2.61
Hello, all I tried to compile gtk2 for arm linux. I download the package/extra/gtk2 source from svn server and I use the following command to compile it: make…
