Daniël Mantione ha scritto:
Op Thu, 29 Nov 2007, schreef Alvise Nicoletti:
Yes, I have the packages needed to open a 32 bit file in my 64 bits distro
(ubuntu-server): .
linux32 ia32-libs lib32gcc1 lib32stdc++6 lib32z1 libc6-dev-i386 lib32bz2-dev
But the fpc compiler version I'm using have bugfixes introduced by Joost that
are needed in my application, so I will also need a 32 bit fpc compiler with
that inside it...
... or I am wrong?
Nothing stops you from compiling a 2.2.1 i386 compiler on an x86_64
system. It just needs to be bootstrapped with a ppc386, simply do:
make FPC=/path/to/ppc386 CPU_SOURCE=i386
... and voila.
Honestly I had some problems to understand the mechanism in this,
however, giving that command suppose that you have a "/path/to/ppc386"
somewhere, and I hadn't.
I copyed the binary of my other 32 bit server in the 64 bit server, in
the path: /usr/local/lib/fpc/2.2.1/ppc386
And I did, as you said, a:
make all FPC=/usr/local/lib/fpc/2.2.1/ppc386 CPU_SOURCE=i386
That seemed to work, it compiled everything, but now I suppose I have to
do a "make install"...
But both:
make install CPU_TARGET=i386
make install CPU_SOURCE=i386
Gives errors.
Where is the created ppc386 file?
With I locate I find it there:
/home/siteland/lazarus/FPC_2.2.1/compiler/ppc386
And /home/siteland/lazarus/FPC_2.2.1/ is the "root" path of my compilation.
Should I use that as new fpc-compiler for my 32 bit projects?
Alvise
Daniël
------------------------------------------------------------------------
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.9/1158 - Release Date: 28/11/2007 21.11
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel