Indeed. You can put the following in your .bashrc file:
export LD_LIBRARY_PAH=.
Alan
On Sun, Apr 8, 2012 at 3:00 PM, Tomas Hajny xhaj...@hajny.biz wrote:
On 9 Apr 12, at 0:42, patspiper wrote:
Is it possible to test a shared library compiled with Lazarus/FPC under
Linux without copying
On Wed, Jun 24, 2009 at 7:01 AM, Graeme Geldenhuys
grae...@opensoft.homeip.net wrote:
OK, I see what you mean... I improved the performance very slightly by
reducing the two for loops to a single one. I also updated the uses
clause to the latest revision of fpGUI Toolkit. I also removed all
for
the next release (9.10 - Karmic Koala). However, I was able to download the
appropriate .DEB file for my architecture and install it on a 9.04 box, and
it does appear to work as advertised.
Alan
On Fri, Apr 24, 2009 at 1:39 PM, Alan Krause al...@shermanloan.com wrote:
I've installed ubuntu 9.04
I am attempting to build FPC from svn (trunk) and receive the following
error message while attempting to build the gtk2 package:
pangoincludes.inc(14,2) Fatal: Can't open include file
pango-glyph-item.inc
It appears as if perhaps a file is missing from the repository?
Alan
Thanks much, Jonas. Just updated and everything built fine - even my code!
Alan
On Tue, Jul 7, 2009 at 2:16 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote:
On 07 Jul 2009, at 18:25, Alan Krause wrote:
I am attempting to build FPC from svn (trunk) and receive the following
error message
There is a 64-bit cross compiler for Windows, and I have been using it over
the last few months.
I am porting my company's loan calculation DLL from Delphi to FPC. This was
initially done to support 32-bit linux, but the pace has picked up due to a
client who wants to know when a 64-bit version
, Paul Ishenin webpi...@mail.ru wrote:
02.07.2010 23:29, Alan Krause wrote:
On the Windows platform, version information is often included as a
resource which can be queried displayed. Is there any way to include this
information in the 64-bit fpc compiled DLL?
Use Lazarus IDE for editing
, but not for x86_64. Does
anyone have any ideas?
Thanks much,
Alan Krause
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
the pre-fork method would be perfect for what you are describing
as well.
Alan Krause
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Rodrigo Palhano wrote:
this
if ( payments per year 12 ) then begin
Result := 1;
exit;
end;
if ( rate = 0 ) then begin
Result := 2;
exit;
end;
is better than this ?
if ( payments per year 12 ) then begin
Result := 1
Else if ( rate = 0 ) then
Result := 2;
or even this ?
In my
Has anyone used the Java Native Interface unit (JNI.pas, home page is
http://www.pacifier.com/~mmead/jni/delphi/) to provide JNI access to a
shared library under Linux?
I currently use it with Delphi to provide a JNI interface to a Windows
DLL, and would like to do the same under Linux.
: pointer);
begin if pnil then begin freemem(p); p:=nil end end;
Use FreeAndNil() -
http://www.delphibasics.co.uk/RTL.asp?Name=FreeAndNil
Alan Krause
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo
Tom,
In the bash shell, type in:
export LD_LIBRARY_PATH=.
This appends the current directory to the library search path, so if you cd
to the app's directory before executing it, you will be good to go. You
could also write a bash script to perform these steps automatically for you,
as I know
Tom,
I have some experience with FPEs under Delphi, and what I came to learn is
that most of the time, the exception occurs somewhere before what is
reported, due to Imprecise Trapping Modes. In short, this means the
hardware can detect a floating-point exception and deliver an interrupt, but
I've been using the heaptrc unit in DEBUG versions of my application to
detect memory leaks. However, when a memory leak is detected, it does not
include any information on the unit, line number, etc - just the hex
addresses, like this:
Heap dump by heaptrc unit
15648 memory blocks allocated :
Thanks much for the FYI, Jonas.
Alan
On Tue, Mar 31, 2009 at 1:02 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote:
It's a shared library issue. It has been fixed for a number of platforms in
2.2.4: http://bugs.freepascal.org/view.php?id=4171 (I don't know about
Linux though, but I think so).
I've installed ubuntu 9.04 in a VM to test it out, and have installed fpc
2.2.4. It is always good to look before you leap, right?
Anyhow, I am trying to compile an existing project that works fine under
Ubuntu 8.04. I can get all of the unit to compile, but when it comes time to
link them
Jonas,
It does indeed ship with 2.19.1. I've had this same problem in the past, and
have had to stick with ubuntu 8.04 for my development box due to this
problem.
Prince - if you execute fpc with the verbose option (-va), it actually
displays the search for a linker to use, which in my instance
Here is a somewhat dated version of JNI.pas http://pastebin.com/DR3px8GT for
FPC which might help you out.
Alan
On Mon, Mar 31, 2014 at 6:44 AM, fredvs fi...@hotmail.com wrote:
now the last obstacle : Callback procedures...
Hum, i do not find why it is not working ;-(
I follow jni c
I have absolutely *no* idea where I got it - only that it works as
advertised.
Alan
--
Alan L. Krause jr.al...@shermanloan.com*Manager of Software Development*Voice:
(760) 634-1700Sherman and Associates, Inc. http://www.shermanloan.com/Fax:
(760) 634-1992
On Mon,
I have used one specific part of it for PDF generation, and have no
complaints.
Alan
--
Alan L. Krause jr.al...@shermanloan.com*Manager of Software Development*Voice:
(760) 634-1700Sherman and Associates, Inc. http://www.shermanloan.com/Fax:
(760) 634-1992
On Mon,
) = 27499.4900
--- end output ---
I am guessing that the integer value of zero is causing the wrong
overloaded function to be called? I was able to solve the problem in my
code by replacing the 0 with 0.0.
Thanks,
Alan
--
Alan Krause
*President @ Sherman & Associates, Inc.*
Office: (760) 634-
Michael,
Permission granted. After using FPC to produce our first Windows 64-bit
library, and then using it to produce Linux libraries, I am happy to
contribute something back.
Cheers,
Alan
On Wed, May 8, 2019 at 2:22 PM Michael Van Canneyt
wrote:
>
>
> On Wed, 8 May 2019, Alan Kra
FPC Community,
Over the weekend I looked into AWS Lambda function custom runtimes, with
the hope of being able to create one using Free Pascal. I'm happy to say
that I have it up and running, and it produces a very small and quick
runtime perfect for AWS.
For sample code, please take at look at
I'd recommend that you also list what license each is licensed under, as
that can be an extremely large deciding factor in whether or not a given
implementation can even be considered.
Alan
On Fri, Aug 30, 2019 at 1:19 AM Anthony Walter wrote:
> I've posted a new page that tests the speed and
An issue recently popped up that I thought I'd bring up as a potential
issue. In short, if you call the Max() function with an integer and a
double parameter (such as d := Max( 0, d ) ), then fpc appears to be using
the Max( single, single ) overloaded function instead of Max( double,
double ).
26 matches
Mail list logo