fpc-pascal · 2007-06
- Rebuilt 2.1.4 for i386-linux on ftp0
We have corrected an error in the package building of 2.1.4 for i386-linux. This fixes two errors: * The files in the tar archive had the wrong user/group * The IDE was…
- Web Service Toolkit - Questions3
Hi! Studying the WST Wiki page http://wiki.freepascal.org/Web_Service_Toolkit I found that it seems not to be possible to serialize records. What is the difficulty…
- FPC Linux Developers wanted3
I'm not sure if I'm allowed to post this here.... If not, I will not do it again! I have a friend in the UK that needs some FPC Linux developers. They prefer UK-based…
- Best way for "tail" a log file0
Dear I need to parse /var/log/maillog file in the same way of /bin/tail tool in order to parse some lines. What is the best way or do you have such function that follow…
- building snapshot2
Although ultimately my goal is to try to cross compile to amd64 from i386 (FreeBSD) I figure I would start easy with a "standard compile". The process completed. When I…
- Optimization levels1
Looking at the compiler parameters I see: -Og generate smaller code -OG generate faster code (default) Is the difference in speed/size significant? -O1 …
- When is make cycle needed?1
Reading the docs I see there is a "make cycle" target, but I am not sure when it is necessary. For the snapshot build seems that only "make all". So when is make cycle…
- No Browser Info Available0
I'm having problems running fp ide under Ubuntu 6.x under VMWare Workstation 5.5. I go to an xterm session, and then run fp. The first mouse click generates an error…
- Linux Linking Error solved2
I emailed yesterday about an error when compiling in Linux. The error I received was "Error while linking." I figured out that the permissions on /usr/bin/ld is set to…
- Re: fpc-pascal Digest, Vol 34, Issue 131
Thanks for the answers. I think I'll duplicate the functions, one for ASCII (ANSISTRING) coding and the other for UTF-8 (WIDESTRING). I think this is the best way. But…
- Get Timestamp since 1970 (linux)6
Dear Is there a function that help me to calculate seconds since 1970 year ? exactly the same of this command : /bin/date +%s -d 20070103 best regards David Touzeau…
- gdk_window_get_frame_extents6
Hello, all. I'm trying to get the current position and size of a GTK2 gtkwindow using the following: === function configure_event(widget: PGtkWidget; event : PGdkEvent;…
- Using AnsiString/WideString with C Library2
Hello. I'm writing a wrapper for a C library that allows the use of UNICODE. I did wrappers for C libraries but using only ASCII strings. I did: UNIT example; INTERFACE…
- Re: Linux Linking Error]1
(I sent this earlier today, but haven't seen it on the list. It's been over 5 hours, so I'm resending. I'm sorry if you end up getting both!) From the FPC IDE. I have…
- Unit for working with Lists, Double Linked Lists and Stacks3
Just wanted to contribute my two cents with this homemade Unit [attached to the mail] for working with: - Simple Linked Lists; - Double Linked Lists; - Stacks; Don't…
- Web Service Toolkit - Notify the Client6
Hi! I'm going to implement a data logger and a GUI frontend in FreePascal. One (daemon) program gets data from a device connected via USB and stores it to a file. A…
- Linux Linking Error1
Using Ubuntu 6.10 under VMWare, I get an error when I try to compile any program. The error is not real descriptive, and isn't really helpful. It puts the error at the…
- Standby socket servers?6
After reading the socket samples at http://www.bastisoft.de/pascal/pasinet.html I am starting to get the basics of socket programming. The one thing I don't see in that…
- Serial Programming6
porting to the new 2.1.4 Version, I tried to convert the serial stuff, because there is nomore oldlinux unit. I can not find the equivalent unit(s) for the serial stuff.…
- Creating librarys dont work ever with fpc 2.1.41
When i create an library template with Lazarus, dont save it and build it then an libproject1.so is created as expected in /tmp. Wen i save the same project and rebuild…
- initialization and finalization of units?1
Looking at units in ref.pdf I see an initialization and a finalization section. How are those used?
- Re: Version 2.1.410
It seems more to me that you're using objfpc or delphi mode so you get ansistrings?
- scope of defining $mode0
I wanted to ask about $mode global directive scope. According to http://www.freepascal.org/docs-html/prog/progse3.html#x73-710001.2, "Global directives affect the whole…
- TThread.Suspend under Linux10
I got most of my Thread Manager demo written. While trying out a few features I noticed that every time as Suspend a thread, my app is killed. Running it through gdb I…
- Bugs in 2.1.4 ?2
I'm not sure if the following are bugs of 2.1.4: 1) A variable used in the body of a function that I defined, while it is not defined in the function's var part, the…
- using float emulation4
I'm trying to force fpc to use emulation code for floating poing calculations on i386 hardware. $ fpc -al -st -Op1 -CfSOFT floattest.pp Viewn from the assembler source…
- Timers in FPC9
What timers classes or components does FPC have? For example something that can fire every 200ms or ever 2 minutes, etc... I'm not worried about high precision timers…
- A Thread Manager demo0
[ I first posted this to the Lazarus mailing list, but I think my questions are actually more related to FPC itself. I apologize for the cross posting in advance. ] I'm…
