Paul, <div><br></div><div>Why not ask the fpc developers (via fpc-devel) for access to the fpc svn for your new code. This'll have advantage that it'll be easier for the fpc gurus to advise on any changes needed for the new target, and of course it'll make it available to everyone else too. As you probably know fpc has been ported to many different architectures from the original linux & win32 i386, big/little endian, 32/64 bits alpha/sparc etc  -  tho' not such a different architecture as yours maybe ! - so they know quite a bit about the best way to do it.  </div>
<div><br></div><div>John </div><div><br><div class="gmail_quote">On 17 January 2012 04:19, Paul Robinson <span dir="ltr"><<a href="mailto:paul@paul-robinson.us">paul@paul-robinson.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div>I wanted to actually test that the Free Pascal compiler - as originally written - would compile on my machine.  (Note for comp.compilers readers, the Free Pascal compiler is self-hosting, it is written in its own language, unlike, say, the GNU Pascal Compiler which is a front-end for the GNU Compiler Collection (the C++ compiler) and the GNU Pascal Compiler is written in C..<br>
</div><div><br></div><div> Compiling using the DOS IDE, I brought up the file PP.PAS, declared it as the primary file, for compiler switches, I entered into the IDE the following:</div><div><br></div><div>Win32  I386  cpu32bitaddr</div>
<div><br><span></span></div><div><span>Each time it did not find a Pascal Unit I cheated, looked for the file and copied it into the 'compiler' directory rather than try to set the directories in the IDE
 because I was having trouble or doing something wrong and it didn't find the files.  So then, once it stopped complaining, I had it do a 'build' to do a complete scratch build of the compiler.  This is on a Windows XP Professional 32-Bit OS on a 64-bit machine - Dell Optiplex 760 - 2.2 GHZ processor, 3 GB of ram and more than 1.4 terabytes of free disk space.  This machine was bought as refurbished about 18 months ago for about $200 and had the extra disk and memory added later, adding about another $200 to its price (I got a good deal on a 2tb drive for $89; prices went up nearly 100% about 6 months later.).</span></div>
<div><br>This was the result, I've copied off the results box shown by the FPIDE:<br><br>One warning: <br>   aasmtai.pas(396,11) Warning: Constructor should be public<br><br><br>Main file: C:\..\compiler\pp.pas<br>Done.<br>
Target: Win32 for i386<br>Line number:    225     Total
 lines:      261804<br>Used memory: 417612K    Allocated memory:  25792K<br>Total errors:     0     Compile time:       13.9s<br><br>        Compile successful: Press any key<br><br>From the directories it creates 203 PPUs (the internal object library file used by Free Pascal to store Units).   The compiler itself is 11,727,679 bytes.<br>
<br>I deleted all ppu files and the exe file and re-ran build, and this time it took exactly 14 seconds.  Typing its name at the DOS prompt causes it to list all of the options and quit, indicating it is operational. <br>
<br>In short, it compiled a program containing a total of about 262,000 lines of Pascal code in 14 seconds, which comes out to a compilation rate of around 1.12 million lines of code per minute.   So basically I, just like anyone
 else, for about the same amount as an ordinary person's salary for a week, can own a machine that runs basically at what was mainframe speed levels a few years ago.<br><br><br><br></div><div>The Lessons of history teach us - if they teach us anything - that no one learns the lessons that history teaches us.<br>
<br></div><div>-----BEGIN PGP PUBLIC KEY BLOCK-----<br>Version: GnuPG v2.0.17
 (MingW32)</div><br><br><div>mQENBE2PI1ABCACnhOuOx+PjaiDMquIKQ+0lIw2WSDYKa+4F90WkpZtFYC+S2pF2<br>MYfD7OxZzcQL85VS3SuJjzZFpwbBqMPgEe3PaHlihy4Jw0zUqb/t5LbPwXpDNkYr<br>XL5pzI6VH66zd2RDetojW3/eYqTFWy7Wf/gV+yO4egvifS1MdxrwYMb3k7Qvf73E<br>
v+BFiKkhBXLxHpClED3aeQevxjZkT+dMBFEcTANnb3WYm89j7yGb+vWFflP8bM88<br>Ys/eZKzbmwf8sL7XHHwzgq/y0Nqa7p5hPHgekgGE0f2bYL3VNFz5+4etaA6iImAQ<br>ha2Dm4SWWpPJSAsdQhwJuWcEV+cDjTvtKRa5ABEBAAG0JVBhdWwgUm9iaW5zb24g<br>PHBhdWxAcGF1bC1yb2JpbnNvbi51cz6JATgEEwECACIFAk2PI1ACGwMGCwkIBwMC<br>
BhUIAgkKCwQWAgMBAh4BAheAAAoJEIiQHns+nAjaQn8H/2kfwoPYjWUUiJu+doTp<br>to4ebxUDyZdYhXn8vxu4E6k20EK3rJWKYNAYYBIB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H5GNaK0D9aB7nguQP31uVJp9<br>=vT1t<br>-----END PGP PUBLIC KEY BLOCK-----</div>
</div></div><br>_______________________________________________<br>
fpc-devel maillist  -  <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-devel" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a><br>
<br></blockquote></div><br></div>