Robert Wolfe wrote:
On 01/16/2011 11:03 AM, Pew (piffle.the.cat) wrote:
Hi all,
I am trying to build fp from 3.5.1 snapshot and I don't know what the
command is.
I have downloaded fpc-2.5.1.i386-linux.tar.gz and extracted to
/juni/fpc and downloaded fpcbuild.zip and extracted to /juni/3.5.1/.
I cannot find any instructions on how I can build fp from the source.
What is the command for Linux for me to create fp ?
Best Regards,
pew
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Pew, knowling how to build anything under linux is a fundamental skill
that's necessary to run linux. However, the usual way to build binaries
from source code is to run ./configure first from the source code parent
directory, then run make then run 'make install' as sudo.
Robert, I'm not sure you're being helpful since FPC does not use
./configure.
Peter, I do not claim to be an experienced builder and I usually work
from a source release (currently 2.4.2) rather than from SVN so your
mileage may vary.
You will need the standard Linux binary utilities (as, ar, ld, make),
how you get those depends on what distro you're using.
cd ..../fpcsrc
make NOGDB=1 clean all
make install
then check that the ppcXXXX symlink in /usr/local is correct.
There is a build FAQ for this which you will need when you start trying
to do anything clever.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal