Hi, all
I can't make FpDup2 work. Even the example provided by the document
can't work as well.
My system is fedora4 linux, freepascal 2.0.0 [2005/08/17] for i386.
Can anybody help me?
Thanks
program Example31;
{ Program to demonstrate the Dup function. }
uses BaseUnix;
var f : text;
i : longi
Jeff Pohlmeyer wrote:
/usr/bin/ld: cannot find -lgcc_s
BTW, I am using Fedora4test3 which use gcc4.
Do you have the libgcc libraries installed?
It should be be something like this:
http://rpmfind.net//linux/RPM/fedora/devel/i386/libgcc-4.0.0-8.i386.html
- Jeff
Yes! Thank you. I cre
Jeff Pohlmeyer wrote:
So I delete the chmlib.so and the
compiler try to compile with chmlib.a
FPC tells the linker to look first in the current directory,
so instead of deleting chmlib.so, you can just do this:
% ln -s /usr/local/lib/libchm.a
in the directory of your pascal source.
Gr
Michael Van Canneyt wrote:
On Wed, 25 May 2005, Linuxer Wang wrote:
Hi, all
I try to compile my program with chmlib.
There're chmlib.so and chmlib.a under /usr/lib. I find a wierd problem,
when I compile my program, the compiler uses chmlib.so, and the
compilation is successful.
But
Hi, all
I try to compile my program with chmlib.
There're chmlib.so and chmlib.a under /usr/lib. I find a wierd problem,
when I compile my program, the compiler uses chmlib.so, and the
compilation is successful.
But what I want is too compile it with chmlib.a so that the executable
will be indepen
Uberto Barbini wrote:
It does not seem right to declare var inst: TMyInterface if you
want inst to have circles and squares as values. I would expect
that you also have a class TFigure, of which TCircle and TSquare
both are descendants. These could also implement TMyInterface.
You then declare va
Hello,
Can anybody tell me how can I know which specific type an instance of
class is? The "is" operator seems weird when interface is used.
Suppose TMyInterface is a interface, and classes TCircle and TSquar
both implements TMyInterface, and inst:TMyInterface, inst :=
TCircle.Create. How can I k