fpc-devel · 2008-01
- QEMU for 64-bit FPC testing?9
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…
- the libc unit on 64-bit systems8
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…
- ppcrossarm build fails to compile rtl and packages1
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:…
- LockFree Queue algorithm23
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…
- Fpc Target directory function4
Does a function like this exist: function FpcTargetDir: string; begin result:= {$I %FPCTARGETCPU%}+'-'+{$I %FPCTARGETOS%}; end; Above works for my needs, just wonder if…
- 64 bit version problem9
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…
- 4
- General Decimal Arithmetic4
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…
- ICE when compiling a 3-line program4
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…
- TBits class bug?4
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…
- findfirst with ':' names1
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…
- One more issue with string function results (hopefully, the last)1
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…
- powerpc-linux 2.0 release crash?6
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?).…
- Haiku and IDE support in the BeOS port2
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…
- Unable to build FPC from source, any ideas?1
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…
- Re: One more issue with string function results (hopefully, the last)0
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); …
- Interfaces vs. smartlink issue2
I noticed that, within a unit, all interface wrappers (groups of 'WRPR_*' symbols) are placed into one "assembler unit" together with unit initialization/finalization…
- gtkliststore.inc3
Hello, FPC developers' list. Can someone tell me what for gtk2 package have this strange defines inside sources: {$IFNDEF KYLIX} function…
- Strange .EXE stripped issue4
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:…
- New -Xg option in the last 9778 revision33
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."…
- PocketCMD for Windows CE devices14
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.…
- kernel module with fpc2
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…
- Bug in compiling memds.pp from fcl8
can the following be fixed: ~/startcompiler/ppcppc -Fu../../../rtl/units/powerpc-linux -FE. -FU../../../fcl/units/powerpc-linux -dpowerpc memds.pp Free Pascal Compiler…
- More about calling objc methods from pascal0
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,…
- Generics basic library4
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…
- Read RAW data from a section of an executable file1
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…
- Build FPC 2.3.1 from SVN sources11
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…
- RTL StackTrace patch12
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…
- Re: A Compiled file size solution from the GBD mailing-list2
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…
- A Compiled file size solution from the GBD mailing-list10
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…
- Update UPX to the last 3.02 stable version1
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.
- Run external program2
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…
- Change object file extension1
can someone tell me if exists a compiler/linker option to can change the default Object File extension ".o" ? Best regards... Fabio Dell'Aria.
- Debug Info proposal35
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…
- SSE operation addps doesn't work in subroutine0
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…
- An optimizer bug?6
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…
- merge request for 93423
Can revision 9342 (Allow using constants in {$IF } directive in OBJFPC mode) be merged to the fixes 2.2 branch?…
- patch for rstconv5
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…
- postw32.exe virus ???1
Just to note. Kaspersky found Trojan-Spy.Win32.Agent.sc inside postw32.exe ? I think it is clean file but can you confirm that ?
- "Invalid field size : 8"0
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…
- FPCunit consoletestrunner bug (oversight)0
consoletestrunner's ParseOptions method set a variable 'FormatParam' which is defined in the implementation section. This prevents us from creating descendant test…
- FPCunit improvement ideas5
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…
- On recasting BORLAND PASCAL FROM SQUARE ONE for Free Pascal13
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…
- Creating a Cocoa Application6
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…
- OS X also has UNIX defined3
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…
- FPC won't bootstrap anymore on Mac OS X 10.34
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…
- bug in ptype for dyn array (debug info / gdb)?1
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…
- WinCE "special calls"1
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…
- FP 2.4 questions74
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?…
