[fpc-pascal] Help: New install problems
Anthony Walter
sysrpl at gmail.com
Mon Apr 2 16:02:50 CEST 2012
Thanks. Yes I wanted to get fpc (the compiler) installed from sources
rather than lazarus. Your advice somewhat got me there, but now when I
compile the source/units are not found.
cd /home/myusername
sudo apt-get install fpc
mkdir fpc
svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus
cd fpc
# now i'm at at /home/myusername/fpc/fpc
make all
make FPC=`pwd`/compiler/ppc386 -C compiler installsymlink INSTALL_PREFIX=
/home/myusername
make install INSTALL_PREFIX=/home/myusername
cd /home/myusername
Then I created Hello.pas:
program Hello;
begin
WriteLn('Hello');
end.
And then:
fpc Hello.pas
Error:
Free Pascal Compiler version 2.7.1 [2012/04/02] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling Hello.pas
Fatal: Can't find unit system used by Hello
Fatal: Compilation aborted
Error: /home/delluser/bin/ppc386 returned an error exitcode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120402/4af5b8d0/attachment.html>
More information about the fpc-pascal
mailing list