Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2008-01

  1. QEMU for 64-bit FPC testing?

    Hi I don't own a 64bit pc. With the wonderful world of emulators and virtual pc products like VirtualBox, VMWare and Virtual PC 2007 I thought, why can't my 32bit Intel…

    Graeme Geldenhuys, ik, Jonas Maebe
    9
  2. the libc unit on 64-bit systems

    I know the 'libc' unit is for linux-x86 only. Does that also exclude 64-bit Linux? If so, how can I IFDEF code that needs to run on Linux (32 & 64 bit) and FreeBSD (32…

    Graeme Geldenhuys, Daniël Mantione, Marco van de Voort
    8
  3. ppcrossarm build fails to compile rtl and packages

    I'm trying to build an arm/wince cross-compiler from a Windows XP host from 2.2.1 SVN (rev 10079). I can build a working ppcrossarm.exe from the fpc source folder by:…

    Unknown author, Yury Sidorov
    1
  4. LockFree Queue algorithm

    Hi This is my proposition of algorithm and its implementing multithreaded FIFO queue without lock. First use array of pointers to handle messages. I've use it in my…

    DarekM, Dariusz Mazur, Florian Klaempfl
    23
  5. Fpc Target directory function

    Does a function like this exist: function FpcTargetDir: string; begin result:= {$I %FPCTARGETCPU%}+'-'+{$I %FPCTARGETOS%}; end; Above works for my needs, just wonder if…

    L, Michael Schnell, Peter Vreman
    4
  6. 64 bit version problem

    I have a 32 bit system running openSUSE 10.3 with FPC 2.2.0 installed on it. On the other system the 64 bit variants installed of the OS and the compiler. I have a code…

    Miklos Cserzo, Jonas Maebe, Marco van de Voort
    9
  7. Re: One more issue with string function results (hopefully, the last)

    The example that

    Peter Vreman, Jonas Maebe, Sergei Gorelkin
    4
  8. General Decimal Arithmetic

    About 18 months ago I started on writng a General Decimal Arithmetic unit/library based on Mike Colishaw's work <http://www2.hursley.ibm.com/decimal> conforming to IEEE…

    Unknown author, Florian Klaempfl, mm
    4
  9. ICE when compiling a 3-line program

    Hi! When I was practicing my Pascal's skills yesterday before an exam, I managed to ICE fpc. I thought it was a bug in the fpc of my Debian distribution. However, I…

    Miguel Ojeda, Joost van der Sluis, Peter Vreman
    4
  10. TBits class bug?

    While porting the Delphi Kylix CLX library to fpc, I had errors related to Tbits class. Simply lifting the Delphi implementation into the code solved the problems. A…

    Giuliano Colla, Marco van de Voort, Michael Van Canneyt
    4
  11. findfirst with ':' names

    Does findfirst not return filenames with a ':' character in them properly? I only get the last part of the filename, the part after the ':'. Try listing…

    Micha Nelissen, Jonas Maebe
    1
  12. One more issue with string function results (hopefully, the last)

    Ran into it while compiling Lazarus. It appears that, while many sophisticated checks are done in tcallnode.maybe_create_funcret_node, the obvious case when function…

    Sergei Gorelkin
    1
  13. powerpc-linux 2.0 release crash?

    I think powerpc-linux 2.0 release crashes for me in process startup at address $1000032. Disassembler shows a mtfsfi instruction which is unknown to me (padding?).…

    Micha Nelissen, Florian Klaempfl, Jonas Maebe
    6
  14. Haiku and IDE support in the BeOS port

    Here are some patchs to improve the BeOS port of Freepascal. - HaikuFix.diff : patch to enable a full build of Freepascal under Haiku. bcopy seems to behave differently…

    Olivier Coursière, Peter Vreman
    2
  15. Unable to build FPC from source, any ideas?

    I've been updating my FPC 2.2.1 from SVN for some time, but my batch file has started failing (since last Sunday I think?) It appears to be nolonger able to build the…

    Paul Michell, Marco van de Voort
    1
  16. Re: One more issue with string function results (hopefully, the last)

    This issue is caused by your own patch to change the ansistring code to use pass the result by reference. Original code (using current 2.2.1) was: # [21] s := foo(s); …

    Peter Vreman
    0
  17. Interfaces vs. smartlink issue

    I noticed that, within a unit, all interface wrappers (groups of 'WRPR_*' symbols) are placed into one "assembler unit" together with unit initialization/finalization…

    Sergei Gorelkin, Peter Vreman
    2
  18. gtkliststore.inc

    Hello, FPC developers' list. Can someone tell me what for gtk2 package have this strange defines inside sources: {$IFNDEF KYLIX} function…

    Paul Ishenin, Michael Van Canneyt
    3
  19. Strange .EXE stripped issue

    I have a little problem stripping my .EXE compiled file. The final size with the DEBUG symbols (from -gl flag) is: 65132 bytes (A) with "strip --strip-debug" become:…

    Fabio Dell'Aria, Jonas Maebe, Micha Nelissen
    4
  20. New -Xg option in the last 9778 revision

    I have some questions about the last 9778 revision (related to the new -Xg option). The help tell: "-Xg now produces a .dbg file with debuginfo that can be used by gdb."…

    Fabio Dell'Aria, Daniël Mantione, Felipe Monteiro de Carvalho
    33
  21. PocketCMD for Windows CE devices

    The following website isn't working anymore... Could somebody please email me a copy of PocketCMD or have an alternative link I can download if from.…

    Graeme Geldenhuys, Felipe Monteiro de Carvalho, Florian Klaempfl
    14
  22. kernel module with fpc

    I'd need to create kernel modules written in fpc, so I started by testing the Wiki example: http://wiki.freepascal.org/linux/kernel/module_development but I stuck in an…

    Giuliano Colla, Jonas Maebe
    2
  23. Bug in compiling memds.pp from fcl

    can the following be fixed: ~/startcompiler/ppcppc -Fu../../../rtl/units/powerpc-linux -FE. -FU../../../fcl/units/powerpc-linux -dpowerpc memds.pp Free Pascal Compiler…

    Thomas Schatzl, Daniël Mantione, Jonas Maebe
    8
  24. More about calling objc methods from pascal

    I am proceding to build the initial part of what would be Cocoa Pascal bindings, but I got really stuck in one part. Calling methods without any parameters works fine,…

    Felipe Monteiro de Carvalho
    0
  25. Generics basic library

    I was coding and I suddently saw that need to use a typed list. I went with TFPList, but considering we already have compiler support I thougth that maybe we could have…

    Felipe Monteiro de Carvalho, Graeme Geldenhuys, Peter Vreman
    4
  26. Read RAW data from a section of an executable file

    can someone tell me if exists some units ables to read RAW data from a specified section of an executable file (in all the supported executable file format)? Best…

    Fabio Dell'Aria, Peter Vreman
    1
  27. Build FPC 2.3.1 from SVN sources

    I have just checkout the FPC 2.3.1 trunk from the SVN. Now I need to know how I can build FPC from its sources. Can someone help me, please? Best regards... Fabio…

    Fabio Dell'Aria, Bogusław Brandys, Joao Morais
    11
  28. RTL StackTrace patch

    I'm writing a patch to can use an external .dbg file during the debugging process. All works fine but when an unhandled exception is raised the RTL show stacktrace…

    Fabio Dell'Aria, Bogusław Brandys, Michael Van Canneyt
    12
  29. Re: A Compiled file size solution from the GBD mailing-list

    Did you include the -g flag to generate debuginfo? The -Xg is a linker only option that does not influence generation of code or debuginfo. On an other system than the…

    Peter Vreman, Bogusław Brandys, Vincent Snijders
    2
  30. A Compiled file size solution from the GBD mailing-list

    I have asked to the official GDB mailing list, if is possible debug a program using as debug symbols an external files. The answer is yes (there are two method to do…

    Fabio Dell'Aria, Bogusław Brandys, Marco van de Voort
    10
  31. Update UPX to the last 3.02 stable version

    Why do not update the UPX released with FPC with the last 3.02 stable version? Current it contain the old UPX 1.25 version. Best regards... Fabio Dell'Aria.

    Fabio Dell'Aria, Peter Vreman
    1
  32. Run external program

    I'm implementing a Console application. I need to run external program and wait until it terminates (reading the exit-code). This on Windows, Linux and Mac-OS X. Do you…

    Fabio Dell'Aria, Marco van de Voort
    2
  33. Change object file extension

    can someone tell me if exists a compiler/linker option to can change the default Object File extension ".o" ? Best regards... Fabio Dell'Aria.

    Fabio Dell'Aria, Peter Vreman
    1
  34. Debug Info proposal

    I have a little (I hope useful) propose related to the debug info attached to every compiled file. I know these info are really useful during the normal debug process…

    Fabio Dell'Aria, Bee, Bogusław Brandys
    35
  35. SSE operation addps doesn't work in subroutine

    today I tried to use SSE operations. But I couldn't get what I want. Here is a simple code: program SSETestsSimple; {$mode objfpc}{$H+} {$ALIGN 16} uses MMX; type…

    Michael Müller
    0
  36. An optimizer bug?

    It looks like my experiments with returning strings in parameters introduced (or, more likely, triggered an existing) bug. First, attached is the patch itself. It is…

    Sergei Gorelkin, Jonas Maebe
    6
  37. merge request for 9342

    Can revision 9342 (Allow using constants in {$IF } directive in OBJFPC mode) be merged to the fixes 2.2 branch?…

    Vincent Snijders, Giuliano Colla
    3
  38. patch for rstconv

    Lazarus internally has a tool for generating po files from rst files, much like rstconv. For the convenience of translators using a po-editor, the files generated by…

    Vincent Snijders, Michael Van Canneyt
    5
  39. postw32.exe virus ???

    Just to note. Kaspersky found Trojan-Spy.Win32.Agent.sc inside postw32.exe ? I think it is clean file but can you confirm that ?

    Bogusław Brandys, Florian Klaempfl
    1
  40. "Invalid field size : 8"

    I'm trying to work with InstantObjects using Free Pascal but I encountered strange exception which is generated when I'm trying to retrieve persistent class from…

    Bogusław Brandys
    0
  41. FPCunit consoletestrunner bug (oversight)

    consoletestrunner's ParseOptions method set a variable 'FormatParam' which is defined in the implementation section. This prevents us from creating descendant test…

    Graeme Geldenhuys
    0
  42. FPCunit improvement ideas

    When using FPCunit with the GUI Test Runner (DUnit does this) you can select a set of tests tests to run. You don't always have to run all tests. In the FPCUnit Text…

    Graeme Geldenhuys, Bogusław Brandys, Vincent Snijders
    5
  43. On recasting BORLAND PASCAL FROM SQUARE ONE for Free Pascal

    Hi everybody-- I figured I would introduce myself, having just signed on to the list here. Some of you may already know me and my work. I've been a Pascal fanatic since…

    Jeff Duntemann, Daniël Mantione, Felipe Monteiro de Carvalho
    13
  44. Creating a Cocoa Application

    I'm again, trying to do some slow progress on the task of writting a cocoa application in pascal. We have objc runtime headers translated, but there are no examples…

    Felipe Monteiro de Carvalho, Jonas Maebe
    6
  45. OS X also has UNIX defined

    based on this http://www.freepascal.org/docs-html/prog/progap7.html#x310-311000G I thought that UNIX was not defined on OS X. Table G.3: Possible defines when…

    Den Jean, Jonas Maebe, Marco van de Voort
    3
  46. FPC won't bootstrap anymore on Mac OS X 10.3

    I tried to cycle the compiler on my ancient PowerMacintosh G3 and both 2.2.1 and 2.3.1 fail. The reason is that the assembler supplied with Xcode 1.5 (the last supported…

    Giulio Bernardi, Jonas Maebe
    4
  47. bug in ptype for dyn array (debug info / gdb)?

    I was trying to look at e content of dyn-arrays under gdb and found that it is very hard to get results. (you may also want to look at…

    Martin, Jonas Maebe
    1
  48. WinCE "special calls"

    Hi... Does anyone knows how to force the popup of the keyboard to write on a Pocket PC? It's strange that, in the application I developed, sometimes there is the button…

    Alvise Nicoletti, Felipe Monteiro de Carvalho
    1
  49. FP 2.4 questions

    I have some questions on the 2.4 version. 1)...will be the debug information availables on separated files or I'll need alway use the "strip" command to remove them?…

    Fabio Dell'Aria, Andrew Haines, Bee
    74