Re: [fpc-devel] compiling fpc from cvs

2005-02-22 Thread Uberto Barbini
On Tuesday 22 February 2005 08:09, Peter Vreman wrote:
  So let's assume I'm a completely idiot and I have downloaded fpc from cvs
  to
  compile it on a windows system. Do I have any hope to compile it?

 Install fpc 1.0.10
 Download fpc from cvs
 Start cmd.exe
 Go to the new fpc directory
 Type 'make all'

 Not much different from compiling any other C project.

OK, tried, done... I'm definitely a complete idiot! ;)
Thanks to all.

Bye Uberto

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] compiling fpc from cvs

2005-02-21 Thread Uberto Barbini
On Monday 21 February 2005 21:04, Uberto Barbini wrote:
 Where can I find info about compiling fpc from cvs?
 I browsed doc and faq but I wasn't able to understand exactly where to
 start. BTW today's daily win bin snapshot doesn't run (segmentation fault
 in install.exe).

I forgot to mention that I want to compile under win, with linux I have no 
problem.

Bye Uberto

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] compiling fpc from cvs

2005-02-21 Thread Marco van de Voort
 Where can I find info about compiling fpc from cvs?

http://www.stack.nl/~marcov/buildfaq.pdf


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] compiling fpc from cvs

2005-02-21 Thread Uberto Barbini
On Monday 21 February 2005 21:45, Marco van de Voort wrote:
  Where can I find info about compiling fpc from cvs?

 http://www.stack.nl/~marcov/buildfaq.pdf

If there ain't a simple way to compile on win then study all these 24 pages, I 
think I'll surrender! ;))

Anyway, page 5 you describe the mess with 3 gcc existings on win, but you 
don't suggest which is the best and don't mention that in fpc cvs does exist 
a binw32 directory with gcc tools.
So which is the simplest way to compile it?

Moreover I think that a previous version of fpc binaries will suffice to 
compile latest cvs sources but reading paragraph 1.2.5 I don't understand if 
any version of ppc will suffice or what version is needed.

After that there are some pages about obtaining source from cvs, which I 
skipped, and suddenly I found myself reading without understanding anything.

So let's assume I'm a completely idiot and I have downloaded fpc from cvs to 
compile it on a windows system. Do I have any hope to compile it?

Bye Uberto

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] compiling fpc from cvs

2005-02-21 Thread Peter Vreman
 So let's assume I'm a completely idiot and I have downloaded fpc from cvs
 to
 compile it on a windows system. Do I have any hope to compile it?

Install fpc 1.0.10
Download fpc from cvs
Start cmd.exe
Go to the new fpc directory
Type 'make all'

Not much different from compiling any other C project.




___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] compiling fpc from cvs

2005-02-21 Thread Marco van de Voort
[ Charset ISO-8859-1 unsupported, converting... ]
  So let's assume I'm a completely idiot and I have downloaded fpc from cvs
  to
  compile it on a windows system. Do I have any hope to compile it?
 
 Install fpc 1.0.10
 Download fpc from cvs
 Start cmd.exe

- make sure the FPC dir is the first in your path. (\pp\bin\win32)

 Go to the new fpc directory
 Type 'make all'
 
 Not much different from compiling any other C project.

To install

- make a copy of the 1.0.10 directory. (e.g. c:\pp19)
- rename the pp19\bin\win32 to pp19\bin\i386-win32
- go back to the fpc/ (CVS) directory
- type make 'install INSTALL_PREFIX=c:\pp19'
- copy the binary files in the CVS over the ones in the pp19\bin\i386-win32
- rename pp to pp10, and then pp19 to pp
- change your path configuration to point to c:\pp\bin\i386-win32 instead
   of \pp\bin\i386\win32
- post edit the -Fu line in fpc.cfg to point to c:\pp\units\i386-win32\*


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] compiling fpc from cvs

2005-02-21 Thread SteveG
You need a working compiler already installed (use a binary install from 
to begin - eg 1.0.10)
Download the full FPC from cvs site (eg to folder c:\fpc)

At the command prompt, cd to c:\fpc (or your cvs folder)
type - make clean all (clears any rubbish from previous builds)
cd c:\fpc\compiler (going to build compiler from source)
type - make cycle (builds new ppc386 compiler exe)
cd c:\fpc (to main folder for install)
type make install INSTALL_PREFIX=c:\pp (create working fpc at 'location' 
- can be INSTALL_PREFIX=d:\Lazarus\pp etc)

lastly, rebuild Lazarus with - make clean all (in Laz directory of course)
Fairly sure this is in correct order - any other suggestions welcome if 
somebody has them

So let's assume I'm a completely idiot and I have downloaded fpc from cvs to 
compile it on a windows system. Do I have any hope to compile it?

Bye Uberto
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

 


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel