Re: [fpc-pascal] Search order for libraries, how to influence; using GMP

2007-06-13 Thread Tom Verhoeff
On Tue, Jun 12, 2007 at 11:16:23PM +0200, Darius Blaszijk wrote: > BTW: JediMath has a 100% pascal implementation for arbitrary length > arithmatic. Checkout JmLargeFloat. Thanks. But this does not seem to implement arbitrary-precision integers and rationals (fractions). The GMP does.

Re: [fpc-pascal] Search order for libraries, how to influence; using GMP

2007-06-12 Thread Daniƫl Mantione
Op Tue, 12 Jun 2007, schreef Michael Van Canneyt: > > Where do the first three come from? Can those be (re)moved? > > The compiler adds them by default, see systems/t_linux.pas. > You can't remove them except by editing link.res (or changing the compiler). ... and there is no need. The messag

Re: [fpc-pascal] Search order for libraries, how to influence; using GMP

2007-06-12 Thread Darius Blaszijk
BTW: JediMath has a 100% pascal implementation for arbitrary length arithmatic. Checkout JmLargeFloat. Darius Tom Verhoeff wrote: I am trying to use the GNU Multi-Precision (GMP) library with FreePascal under Linux. I have a Pascal interface for GMP (originally for Kylix; translated from C he

Re: [fpc-pascal] Search order for libraries, how to influence; using GMP

2007-06-12 Thread Michael Van Canneyt
On Tue, 12 Jun 2007, Tom Verhoeff wrote: > I am trying to use the GNU Multi-Precision (GMP) library with > FreePascal under Linux. > > I have a Pascal interface for GMP (originally for Kylix; translated > from C header file). > > The header file libgmp.pas and my using program testgmp.pas comp

Re: [fpc-pascal] Search order for libraries, how to influence; using GMP

2007-06-12 Thread Marco van de Voort
> How can I force the linker to look in /usr/lib32 before /usr/lib ? -Xd See http://www.stack.nl/~marcov/buildfaq.pdf section 3.4.1 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Search order for libraries, how to influence; using GMP

2007-06-12 Thread Tom Verhoeff
I am trying to use the GNU Multi-Precision (GMP) library with FreePascal under Linux. I have a Pascal interface for GMP (originally for Kylix; translated from C header file). The header file libgmp.pas and my using program testgmp.pas compile fine. But linking fails. The message is /usr/bin/ld