Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2007-08

  1. fpc verbosity

    Is the following correct? C:\FPC\rtl>fpc -v0 myproject.pp Free Pascal Compiler version 2.3.1 [2007/08/22] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Shouldn't…

    Darius Blaszijk, Jonas Maebe, Vincent Snijders
    5
  2. Installation/Compilation of FPC for Darwin 8.0 (x86)

    Maybe a stupid problem: I have a running installation of Darwin 8.0 (x86) in a virtual machine (vmware). Can anyone give me some hints how to install the current…

    Werner Bochtler, Jonas Maebe
    6
  3. hmm, freevision

    Are there guides/documentation available for freevision? I actually may have the original manuals/media etc for turbo pascal 7- but if so, they're in a box in my…

    David Mears, Graeme Geldenhuys, Johann Glaser
    5
  4. Unit output directory

    Under Lazarus I can specify the unit output directory as follows: ../../lib/$(TargetCPU)-$(TargetOS) I'm trying to do the same thing from the command line (without…

    Graeme Geldenhuys, Jonas Maebe, Michael Van Canneyt
    8
  5. FP IDE - can't find System unit

    What do I need to setup in the FP IDE to be able to compile a simple little app? FPC is setup in my PATH and I can compile the same project from the command line without…

    Graeme Geldenhuys, Jonas Maebe, Marco van de Voort
    5
  6. fpGTK ???

    Found it in my current fpc installation sources: C:\Programmi\FPC\fpcbuild_2.0.4_exp\fpcsrc\packages\extra\fpgtk but no documentation at all, except the sources... What…

    Tiziano_mk, Michael Van Canneyt
    2
  7. Re: ARM7TDMI

    Op Mon, 27 Aug 2007, schreef Rainer Stratmann: The compiler always needs a runtime library. But you can customize RTL and it has been prepared for this by means of the…

    Daniël Mantione, Marc Santhoff, Rainer Stratmann
    3
  8. special numbers detected by val()

    is there any special handling of NaN's or +/-INF's built into the VAL-procedure? If so, where is it? ;) You ask why? Okay: I want to read in text files containing matrix…

    Marc Santhoff, Joao Morais, Jonas Maebe
    3
  9. Problem with interfaces

    I have the following code: {$mode objfpc} interface ... function DefaultObj: TObject; implementation var _Holder: IHolder; function DefaultObj: TObject; begin if not…

    Joao Morais, Darius Blaszijk, Micha Nelissen
    5
  10. fpc and boehm

    Hi List This is my first post to the list and I'm new to fpc too. I'm interested in using fpc to create .so/.dll for the Neko virtual machine (http://www.nekovm.org),…

    blackdog, Daniël Mantione, Jonas Maebe
    8
  11. Win64 Cross Compiling

    Hi all! I would like to add Win64 cross compiling capabilities to the FP.EXE editor. I was wondering if anyone has done this already and if so, how? Robert Wolfe…

    Robert Wolfe, Daniël Mantione
    1
  12. SMTP server using FPC

    Second posting to the mailing list this morning. I am wanting to write an SMTP server using FPC. However, I am having a tough time trying to find libraries/units that…

    Robert Wolfe, ik, Marco van de Voort
    2
  13. notify and notigyall

    Is there an equivalent for Java's sleep and notify/notifyAll in FPC's rtl ? Ido http://ik.homelinux.org/

    ik, Jonas Maebe, Luca Olivetti
    15
  14. GetMem should use out parameter ?

    Does GetMem care about the memory contents of the pointer variable ? If not the parameter should be out instead of var to prevent the following hint message: GetMem(…

    Skybuck Flying, Michael Van Canneyt, mm
    3
  15. Re: HelloWorld: gdb.exe crashes

    Ok that statement jumped the gun ;) I ran the generated executables (without the debugger) and at least the generated executables are working ! ;) I shall give lazarus…

    Skybuck Flying, memsom
    5
  16. Incorrect hint message ? ( Hint: Local variable "b" does not seem to be initialized" )

    The following hint message is displayed, which I doubt is correct which makes it interesting: "project1.lpr(21,5) Hint: Local variable "b" does not seem to be…

    Skybuck Flying, Vinzent Hoefler
    2
  17. h2pas and function types

    It seems h2pas silently skips function types. For example h2pas simply skips the following typedef without any trace in the translation: typedef int…

    Mattias Gaertner, Michael Van Canneyt
    1
  18. Object Pascal books

    Hi All Could you recommend good introduction and reference books for Object Pascal? I mean books about the language not the frameworks. Thanks. p.

    Paschal Mushubi, Michael Van Canneyt
    1
  19. About the bug report #9408...

    I don't want to start a big discuss on the subject (it would presumably lead nowhere) but I would like to answer to both J.M. and P.V. who added notes to the report. To…

    mm, Jonas Maebe, Peter Vreman
    5
  20. Delphi 2007 looks like Java and Ruby

    I'm reading the following article on codegear: http://dn.codegear.com/article/34324 And for me it looks like Delphi 2007 is trying to be a pure OO language, where it…

    ik, Marco van de Voort, Michael Van Canneyt
    2
  21. Help needed with (JEDI-)SDL on Mac OS X with FPC 2.0.4 powerpc

    I try to compile a little demo program for SDL, but it still fails. I use fpc 2.0.4 on powerpc Mac OS X with sdl 1.2.7 installed through fink (also tried it with SDL…

    Tom Verhoeff, Jonas Maebe, Milan Marusinec
    3
  22. MSEide+MSEgui version 1.4beta1

    MSEide+MSEgui version 1.4beta1 has been released: http://sourceforge.net/project/showfiles.php?group_id=165409 New in 1.4: - Compiles with FPC 2.0.4, 2.1.5 and…

    Martin Schreiber
    0
  23. Target path of a SymLink file

    Is there a function in SysUtils or some other place in RTL that I can use to extract the target path of a symlink file? I'm using FindFirst/FindNext. The sr.Attrib and…

    Graeme Geldenhuys, Michael Van Canneyt, Vincent Snijders
    5
  24. extracting file attributes

    Is there a x-platform file attributes function in the RTL? I'm creating a file grid component in fpGUI and need to extract some information about each file. Info like:…

    Graeme Geldenhuys
    1
  25. Unknown usage of function FixPath

    In fpmkunit.pp I found the function FixPath for which I don't understand the exact purpose of. What happens is that if I issue an install command the BaseInstallDir…

    Darius Blaszijk, Daniël Mantione, Florian Klaempfl
    27
  26. fpdoc cleanup after a refactor

    What is the best method to clean up documentation files after a class or unit refactor was done. My xml files are all outdated now - referencing methods or sometimes…

    Graeme Geldenhuys, Michael Van Canneyt, Vincent Snijders
    6
  27. OT: Rename for Pascal

    I wonder how can we make Pascal and FPC more attractive to people, and I believe in what Donal Knuth have said: "The most important thing in the programming language is…

    ik, Andreas Berger, Bisma Jayadi
    40
  28. Inconsistencies in fpmake?

    I was doing some tests with fpmake and came across what appears to be an inconsistency. When fpmaking a program a units/cpu-os is created but the commandline parameters…

    Darius Blaszijk, Michael Van Canneyt, Peter Vreman
    7
  29. Xprint with Free Pascal

    Has anybody managed to use Xprint (under Linux or any other *nix environment) with Free Pascal? - Graeme -

    Graeme Geldenhuys
    0
  30. Need three things

    Three things needed in FPC: 1) Garbage collection. Anybody who's worked on apps with objects of objects of objects of objects will see the value in this. If CMEM is…

    JK, Brad Campbell, Daniël Mantione
    14
  31. Where is fpmkconv?

    I was reading the readme in FPC\utils\fppkg and saw that there should be a tool called fpmkconv that converts makefile.fpc to fpmake.pp files. I just cannot find it in…

    Darius Blaszijk, Jonas Maebe, Michael Van Canneyt
    19
  32. converting flexcel to fpc

    I'm now trying to compile FlexCel v.2.5.3 (latest open source version before it's bought by TMS) using FPC v.2.0.4 on Linux (Kubuntu 6.10 Feitsy). After adding IFDEFs…

    Bisma Jayadi, Florian Klaempfl, Michael Van Canneyt
    8
  33. Alternative to Makefiles for fpGUI

    I heard somewhere in a list that Makefile's are on the way out (for FPC) and a alternative is in the pipeline. Can anybody shed some light on this and if the…

    Graeme Geldenhuys, Darius Blaszijk, Johann Glaser
    12
  34. FreePascal TDataSet

    One of my customers asked me if I can recompile a Delphi application that uses TDataSet descendants. Can someone tell me if FPC's TDataSet implementation is compatible…

    Leonardo M. Ram�, Michael Van Canneyt
    1
  35. Newbie, Delphi porting: Which are standard Units?

    sorry for asking such a total newbie question, but I have some (apparently) Delphi code and I my goal is to examine if it is feasible to port this to Mac OS X. Now, it…

    Alexander v. Below, Marco van de Voort, memsom
    2
  36. fpcmake: setting names of zip files

    how can the name of the files created by the targets "zipinstall" and "zipsourceinstall" be influenced? I've tried this way: <Makefile.fpc> [prerules] pretest: echo…

    Marc Santhoff, Peter Vreman
    2
  37. fpGUI (Free Pascal GUI Library) update

    For those interested. I have updated the fpGUI website showing the status of the project. What's happening or has changed, what components have been implemented,…

    Graeme Geldenhuys, Michael Van Canneyt
    3
  38. How to use -FL switch

    Hi Everyone How can I use -FL comand line switch : a) -FL/lib/ld-linux.so.2 b) -FLld-linux.so.2 or other option? thanks Jose Pascual

    josepascual
    2
  39. Free Pascal port of ffmpeg API example

    Hi, FPC forks. I have ported apiexample.c of ffmpeg to Free Pascal on Mac OS X. I owed many on Victor Zinetz's efforts, but some modifications were made. Your…

    BlueCat, Luca Olivetti
    3
  40. SQLQuery published properties

    Hi, I noted that in fpc2.3.1 several important TSqlQuery properties(and events) are not published anymore, for example the active property, all OnBefore*, OnAfter*…

    Jesus Reyes A.
    0
  41. Fp IDE: missing menu Options|Environment|Colors?

    I'd like to know why the IDE Options|Environment|Colors is missing? It doesn't seem a bug since in the sources it is clearly commented out, so I think that there should…

    Tiziano_mk, Tomas Hajny
    1
  42. command and variable substitution in fpcmake

    when using Makefiles something like this is executed at runtime, so a variable can be set by a command: PWD=`pwd` or PDW=$(pwd) sets the Varaible $PWD to the current…

    Marc Santhoff, Jonas Maebe, Peter Vreman
    4
  43. cprt0

    Is there anyboddy how knows where to find a startup file (cprt0.as) for uclibc (Arm on linux). Carsten

    Carsten Bager, Florian Klaempfl, Henry Vermaak
    3
  44. building source package with fpcmake without installing

    how can fpcmake be driven to only tar and gzip up the sources of it's project *without* installing to the system running on first? Not any developer has or should have…

    Marc Santhoff, Jonas Maebe
    6
  45. Warning: gc-sections option ignored

    I get this warning when compiling a project. It compiles fine with the 213 compiler Could this be a problem with the new compiler? Carsten Free Pascal Compiler version…

    Carsten Bager, Jonas Maebe
    2