Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2003-09

  1. /usr/bin/ld: cannot find -lgd errorr

    I've noticed that in many of the example programs that come with FreePascal, trying to compile them results in an link error where ld claims it cannot find a particular…

    Andy Sy, Georgi Georgiev, Marco van de Voort
    4
  2. Problems with ipengl unit

    Hello I successfully compiled the glutdemo programexample delivered with the source of the opengl units. But if I try to run the executable I get the following error…

    Peter Huesser, Florian Klaempfl, Jonas Maebe
    7
  3. several questions

    The answer to my "runtime error 6" (invalid filename) ended up being I had too many files open (apparently). I couldn't find anything invalid about the filename (it was…

    DONALD PEDDER, Alan Mead, Jonas Maebe
    12
  4. getopts

    I'm trying to use the unit getopts, but something goes wrong. In a program I get extrange results if I insert a non-option between two options. In the example program of…

    jordi
    0
  5. Mac compiler

    I have a friend with a Mac who I want to share some programs with, but there doesn't appear to be any mention of the Mac compiler on the download page. I've seen the Mac…

    DONALD PEDDER
    0
  6. Graph3 unit

    I found a ported Graph3 unit was contributed from here: http://www.nl.freepascal.org/lists/fpc-announce/2002-February/000184.html But, I can't find this unit anywhere in…

    Ryan Underwood
    0
  7. building a command string

    The previous compiler I used didn't have Exec or a way to get parameters, so I am currently fooling around with these new toys (needless to say, my old programs were…

    DONALD PEDDER, Nikolay Nikolov
    4
  8. XP=extreme pain in the butt

    Is there a win32 binary install kit for Lazarus? I see hints that Lazarus runs on Win32 but the download folders for Win32 are empty. (Apologies if I'm not supposed to…

    Alan Mead, A.J. Venter, Matt Emson
    4
  9. INET-Unit: Testing existence of a domain?

    Hi! I want to test inside my program if a domain does exist. I am not interested in the particular domain entries, only in its existence. For that I tried the following,…

    Rainer Hantsch, Jeff Pohlmeyer, Michael Weinert
    5
  10. Nonblocking socket - end of socket

    I use non-blocking socket (after initialization i used the fcntl function). Accept does not waiting for client connection, so i need not use threads, I can make it in…

    Balázs Csaba, Georgi Georgiev, Michael Van Canneyt
    5
  11. CGI and inet Units

    Greetings all: I am new to this list, and have a question. I have searched the list archives for the answer, but found only dead links :-(( I went to the FPC site, and…

    Bob Richards, Michael Van Canneyt, Unknown author
    3
  12. Linux USB?

    Hello, guys, I am working on a project to control a MatrixOrbital LCD panel and keyboard from FPC and I got it working great with a serial interface, but what about a…

    Paul Aviles, Michael Van Canneyt, Sebastian Günther
    2
  13. fork with forked program

    I want to use fork to make multithread application for sockets and I would like to fork it to run in dameon mode. Can I fork the forked program? With call fork I get 0…

    Balázs Csaba, Jonas Maebe, Marco van de Voort
    8
  14. CardinalToStr

    Has FPC functions for the cardinal type like IntToStr? The snippet below produces quiet understandably -2147483647 instead of 2147483649. program hasCardinalToStr; const…

    Vincent Snijders, Peter Vreman
    1
  15. CR / CRLF problem when redirecting to file

    In Linux, when redirecting FPC output to a file, I found that after 25 lines, CR characters are being added, as if in DOS: program TestCR; uses CRT; var i: integer; begin

    John Coppens, James Mills, Jonas Maebe
    6
  16. CGI: cgiapp.pp and ezcgi.pp possible bug

    I'm reposting this question as I would like to find some answers to this problem, or writing this particular kind of CGI App will be impossible. (Forum). I think there…

    James Mills, Alan Mead, Unknown author
    12
  17. EOF function

    The following (attached) is a programming problem I've implemented. Now I know the way I've done the EOF test is not correct, otherwise it would not crash with a runtime…

    James Mills, Maciej Łaszcz, Thomas Schatzl
    3
  18. BIOS PnP function far call (go32v2)

    under GO32V2 i want to call BIOS PnP function with entry point db $FF,$1E; dw PnP_EntryPoint or call DWord ptr [PnP_EntryPoint] but always i got error "SIGSEGV -…

    Unknown author, Nikolay Nikolov, Thomas Schatzl
    4
  19. .NET

    What about compiling for .NET? It is planned feature? Lukas Gebauer. E-mail: http://www.ararat.cz/synapse/ - Ararat Synapse - TCP/IP Lib.

    Lukas Gebauer, Aitor Santamaría Merino, Balogh
    14
  20. Can't find unit DRIVERS

    Hi all. Just downloaded the 1.0.10 package and tried to compile the ide. I had quite a few problems: 1) in packages/ two directories seem to be in the wrong directory.…

    John Coppens, Marco van de Voort
    2
  21. No source file named ...

    Hi again Yet another problem - this one seems more or less erratic, though I haven't found a cause yet. Sometimes it works, sometimes not. When in gdb, I get: (gdb) br…

    John Coppens
    1
  22. make files

    Hi all Can someone give me a simple example of a makefile suitable for just simple compiling of one file ? I am so used to running FPC from the command line that make…

    Frank W McCormick, Carlo Kok, James Mills
    5
  23. Read from command line

    In the old TP there just to be a way to read a string from the command line at the same time you invoked the program thus doing: myprogram param1 param2 made those two…

    Paul Aviles, DONALD PEDDER, James Mills
    5
  24. cgiapp.pp and ezcgi.pp possible bug

    I think there might be a possible bug in both ezcgi.pp and cgiapp.pp If you try and post a piece of form data: ie: <textarea> </textarea> it will hang in an infinite…

    James Mills
    0
  25. SDL Library

    What's the reccomended SDL library to use with FPC ? With FPC 1.0.6 I used to use SDL4Freepascal-1.2.0.0.tar.gz by Daniel F Moisset ... Are there any further updates to…

    James Mills
    0
  26. Hex chars

    I am trying to write to a serial LCD device on /dev/ttys0 and I need to pass hex codes to it. According to the documentation, in C is done like this: putch(0xfe);…

    Paul Aviles, Marco van de Voort
    1
  27. thread

    From: Dancso Andras Subject: thread Question: How can I start a new thread from FreePascal under Win32? Thank you very much for your help. Dancso Andras

    Chemistry.rd, Evergray, James Mills
    3
  28. IPC Question

    I wrote 2 programs which are using the IPC queue. Now I have a problem, that often the the queue cannot be opened. I did some tests and cannot find out where the problem…

    Michael Weinert, L D Blake
    1
  29. use of funct identifier in funct body

    Consider two implementations of the same function: Implementation 1 (the old way): function num_listing (n : word) : ansistring; var i : word; num : string; result :…

    Mark Emerson, Balázs Csaba, Peter Vreman
    3
  30. Fooled :-) website www.freepascal.org really closed down?

    "Software patent on the principle of optimising compilers" I browsed through the "claims" section - and I would say that this "patent" could be true for ANY compiler,…

    Stefan Becker
    0
  31. About order of units...

    Ok, still messing with this silly problem... Now the question is about order of declaration in units... Lets say I wrote a unit "WinFix" with some of these cursed range…

    L D Blake, Jonas Maebe, Marco van de Voort
    19