fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Re: Re[2]: profiller0
Pass -Fl/that/directory to fpc. The linker got as parameter -lgcc, which means "link with library gcc". Libraries are commonly prefixed with "lib", and static libraries…
- Re: profiller0
You need libgcc.a and libc.a from mingw. Windows itself does not provide any profiling support.
- longint -> Pchar3
Is there a (hopefully easy) way to convert a longint variable to either Pchar / string / ansistring without changing the contents of the variable? For example, longint…
- ansistring and fillchar2
How can I use fillchar to give an ansistring a value of, say 'xxxxxxxxx'? In other words, I want to create a string that contains only a single character, that is…
- AW: ansistring and fillchar0
Hello Mark There is an example in the reference guide for function FillChar. Not exactly for ansistring. Try the following: var s : ansistring; begin setlength(s,100);…
- Re: longint -> Pchar / string / ansistring1
Maybe i misunderstood you on IRC, you need the value of the variable or the contents of the variable? If you want to have the numerical value as string, simply use the…
- Random generator13
Hi, I'm looking for a good random generator. Randomize and Random does not seem safe enougth. Can someone help? Thanks. Jordi. (Please, use the list if you can answer,…
- Note on change in unix/dos.pp and beos/dos.pp0
There have been some subtle differences between the behaviour on unix/beos on one hand and dos/windows on the other. Therefore the behaviour on unix/beos has been…
- char 0 in ansistrings3
Is it *absolutely safe* to include chr(0) in an ansistring and have it get treated like any other character? Or is there some instance where it will cause different…
- Re: FPC on MacOS-X?0
The code generator (PowerPC) is complete, afaik, althought it is not possible to build a cross compiler due to other work in progress on the compiler. The RTL is based…
- [OT] Contributed units4
I haven't been a very active FPC user lately :( now I'm trying to catch up again with the latest additions. While searching the contributed units on freepascal.org I…
- FPC on MacOS-X?0
What is the status of FPC on MacOS-X? Thanks. -Laurent
- mysql unit under win323
Was just curious is anyone had come across any worthy documentation / examples of using the mysql unit in a win32 environment?
- Profiling FPC executables3
I'm writing a simulation that will take hours or days to run. I've never used formal profiling tools but this seems like a good opportunity. I'm working on Linux and…
- IDE1
Hi! I wrote an fpc-program, running command-line based under linux and windows. Now I was asked, to create a windows "surface". Since I can't afford to buy delphi for…
- Full-featured output library3
Using FPC, I have created a program to perform a specific type of statistical analysis. It's entirely console-based and it runs on both Linux and Windows. I currently…
- Bug ??? Table1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm parsing a dns-hosts-file and after adding round 40 Hosts the table gets overwritte with garbage. I just do an increment…
- FP newbie29
I'm a FP newbie but a long-time Delphi and Pascal developer. I'm curious about several things regarding the current state of FP as well as its future. Since I'm…
- class methods in FPC version 1.9.09
When porting a Kylix/Delphi project to FPC (version 1.9.0 Linux) I've encountered this small problem using class methods: When I pass an object instance as parameter in…
- OT: Error Accessing List Archive4
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 How do I access the list archive?? I tried accessing, http://lists.freepascal.org/mailman/listinfo/fpc-pascal and clicking…
- FPC on older linuxes?1
Hi! I want to ask if it is possible to run the latest 1-2 versions of FPC on really old Linux systems like SuSE 5.2 (2.0.33 kernel) and/or if there is a way to get this…
- A bug for fpc 1.9.03
I downloaded the newest fpc-1.9.0-i386.rpm and installed it on RedHat linux 9.0. But I found that if a program uses the unit "linux", it will output many errors when…
- Graph unit <-> SDL ?1
I notice the Graph unit (for TP7 compatibility) is implemented against svgalib. Does anyone know if it is possible to create a SDL surface instead and have Graph draw…
- Asynchronous serial routine (win32+Linux)1
Hi all, I need routines for accessing the serial ports under both Linux and Win32 (both in the same packeage would be preferable, but I can do a wrapper if that's…
- 1.9.0 aka 2.0.0 Beta-1 is out1
As you may have noticed on the FPC website, Free Pascal 1.9.0, which is the first beta of the upcoming FPC 2.0.x series, is available. The goal of the 2.0.x series of…
- paths in cross-compiling8
Is there a way to strictly define the paths where FPC looks for objects and libraries? AFAIK -Fl can only add a new value, not override the old one. I'm trying to…
- Does anybody know OS-X UMASK setting?0
Hi! A friend of me has hot OS-X for his mac. He needs to set UMASK to 000 as default, currently it is 022. But OS-X seems to have this hidden somewhere, it is different.…
- absolute3
in school we use a BPTP 7, but at home i use FPC. And now i have a problem with videoram. here is a problem source part: program iksko; uses crt, dos; const t=3; type…
- fpc 1.0 and 1.1 incompatibility4
The program below can be compiled with fpc 1.0.10, but not with this week's fpc 1.1. With fpc 1.0.10 it gives the following output, (which is as I would expect).…
- Calling Procedures via pointers3
I've been away from Pascal for about 10 years now and have just started to get back into it. So, spank me hard and call me a newbie if you must... Anyhow, onto the…
