Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-02

FPC from subversion without root access

6 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Osvaldo Filho

Como posso ter o FPC do subversion instalado em meu diretório?
1) Download form subversion - Ok
...) Compile? Create ~/.fpc.cfg? How ?

Osvaldo Filho
to Osvaldo Filho

Sorry:

How can I get the FPC subversion installed on my directory?

1) Download form subversion - Ok
...) Compile? Create ~/.fpc.cfg? How ?

Osvaldo Filho wrote
Como posso ter o FPC do subversion instalado em meu diretório? 1) Download form subversion - Ok ...) Compile? Create ~/.fpc.cfg? How ?
Marc Weustink
to Osvaldo Filho
Osvaldo Filho wrote 5 lines
Sorry: How can I get the FPC subversion installed on my directory? 1) Download form subversion - Ok

download them into say ~/fpc/trunk

...) Compile? Create ~/.fpc.cfg? How ?

then in ~/fpc/trunk dir run:
make all
make install PREFIX=~ FPC_VERSION=2.5.1

this will install the compiler in ~/bin ~/lib etc

then edit ~/.fpc.cfg and add or adjust paths so they point to ~/lib/fpc

and make a symlink in ~/bin:
ln -s ../lib/fpc/2.5.1/ppc386

Marc

Show quoted text 11 lines
Em 18 de fevereiro de 2010 19:36, Osvaldo Filho escreveu: > Como posso ter o FPC do subversion instalado em meu diretório? > 1) Download form subversion - Ok > ...) Compile? Create ~/.fpc.cfg? How ? > _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Osvaldo Filho
to Marc Weustink

Thank you.

I have my own compiler - files from another computer - not the ubuntu package.

How can I say the Make program where are the files of the compiler? They are in: ~/apps/fpc/bin and ~/apps/fpc/lib

2010/2/18 Marc Weustink :

Show quoted text 44 lines
Osvaldo Filho wrote: > > Sorry: > > How can I get the FPC subversion installed on my directory? > > 1) Download form subversion - Ok download them into say ~/fpc/trunk >  ...) Compile? Create ~/.fpc.cfg? How ? then in ~/fpc/trunk dir run:  make all  make install PREFIX=~ FPC_VERSION=2.5.1 this will install the compiler in ~/bin ~/lib etc then edit ~/.fpc.cfg and add or adjust paths so they point to ~/lib/fpc and make a symlink in ~/bin: ln -s ../lib/fpc/2.5.1/ppc386 Marc > > Em 18 de fevereiro de 2010 19:36, Osvaldo Filho > escreveu: >> >> Como posso ter o FPC do subversion instalado em meu diretório? >> 1) Download form subversion - Ok >> ...) Compile? Create ~/.fpc.cfg? How ? >> > _______________________________________________ > fpc-pascal maillist  -   > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > _______________________________________________ fpc-pascal maillist  -   http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Marc Weustink
to Osvaldo Filho
Osvaldo Filho wrote 6 lines
Thank you. I have my own compiler - files from another computer - not the ubuntu package. How can I say the Make program where are the files of the compiler? They are in: ~/apps/fpc/bin and ~/apps/fpc/lib

add ~/apps/fpc/bin to your path

( if you use bash: add the following to your ~/.bach_profile PATH=$HOME/apps/fpc/bin;$PATH
)

and add the following lines to your ~/.fpc.cfg

-Fu~/apps/fpc/lib/fpc/$fpcversion/units/$fpctarget -Fu~/apps/fpc/lib/fpc/$fpcversion/units/$fpctarget/* -Fu~/apps/fpc/lib/fpc/$fpcversion/units/$fpctarget/rtl

if you don't have a ~/.fpc.cfg and do have a /etc/fpc.cfg you can add the following as first to your new ~/.fpc.cfg

#INCLUDE /etc/fpc.cfg

Marc

Osvaldo Filho
to Marc Weustink

Thank you very much

2010/2/21 Marc Weustink :

Show quoted text 35 lines
Osvaldo Filho wrote: > > Thank you. > > I have my own compiler - files from another computer - not the ubuntu > package. > > How can I say the Make program where are the files of the compiler? > They are in: ~/apps/fpc/bin and ~/apps/fpc/lib add ~/apps/fpc/bin to your path ( if you use bash: add the following to your ~/.bach_profile PATH=$HOME/apps/fpc/bin;$PATH ) and add the following lines to your ~/.fpc.cfg -Fu~/apps/fpc/lib/fpc/$fpcversion/units/$fpctarget -Fu~/apps/fpc/lib/fpc/$fpcversion/units/$fpctarget/* -Fu~/apps/fpc/lib/fpc/$fpcversion/units/$fpctarget/rtl if you don't have a ~/.fpc.cfg and do have a /etc/fpc.cfg you can add the following as first to your new ~/.fpc.cfg #INCLUDE /etc/fpc.cfg Marc _______________________________________________ fpc-pascal maillist  -   http://lists.freepascal.org/mailman/listinfo/fpc-pascal