<br><br><div class="gmail_quote">On 25 September 2010 22:20, Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Sat, 25 Sep 2010 21:48:27 +0100<br>
<div><div></div><div class="h5">Frank Church <<a href="mailto:vfclists@gmail.com">vfclists@gmail.com</a>> wrote:<br>
<br>
> On 25 September 2010 21:30, Mattias Gaertner <<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>>wrote:<br>
><br>
> > On Sat, 25 Sep 2010 21:13:32 +0100<br>
> > Frank Church <<a href="mailto:vfclists@gmail.com">vfclists@gmail.com</a>> wrote:<br>
> ><br>
> > > On 25 September 2010 20:58, Marcos Douglas <<a href="mailto:md@delfire.net">md@delfire.net</a>> wrote:<br>
> > ><br>
> > > > 2010/9/25 Frank Church <<a href="mailto:vfclists@gmail.com">vfclists@gmail.com</a>>:<br>
> > > > ><br>
> > > > > Is there a way to pass on the version of FPC you want to use with<br>
> > > > > startlazarus or lazarus command?<br>
> > > ><br>
> > > > The configuration of Lazarus is created, at the first time, in<br>
> > > > C:\Documents and Settings\<username>\Application Data\lazarus\<br>
> > > > You can modify these files, manually, or you can use the IDE to modify<br>
> > > > them.<br>
> > > > After, copy this folder to other place and use the parameter<br>
> > > > --pcp=<your new config folder> like this (on Windows):<br>
> > > ><br>
> > > > start lazarus --pcp=c:\your_config_folder<br>
> > > ><br>
> > > > > Is there a way it can be set in the fpc.cfg, and can the fpc.cfg be<br>
> > > > passed<br>
> > > > > to ths lazarus command?<br>
> > > ><br>
> > > > You can use the enviroment variable PPC_CONFIG_PATH to set where is<br>
> > > > the fpc.cfg file.<br>
> > > ><br>
> > > > > I have a 2.2.4 from repository and a 2.4.0 svn build and Lazarus is<br>
> > > > always<br>
> > > > > reverting to the 2.2.4 version.<br>
> > > ><br>
> > > > I use FPC 2.5.1 and Laz 0.9.29.<br>
> > > ><br>
> > > ><br>
> > > Can you set which ppc386 file to use in the fpc.cfg?<br>
> ><br>
> > No. The fpc.cfg is read by the ppc386.<br>
> ><br>
> ><br>
> > > Is there a way to automatically generate the right fpc.cfg based on which<br>
> > > ppc386 your are using. Sven Barth has shown me a way to tell the fpc<br>
> > which<br>
> > > ppc386 to use, but I am looking for a way to set it in the IDE or in the<br>
> > > fpc.cfg<br>
> ><br>
> > What's wrong with<br>
> > IDE menu / Environment / Options ... / Environment /<br>
> > Files / compiler path<br>
> > ?<br>
> ><br>
><br>
> Because the caption of the compiler path settings says "Compiler path (e.g.<br>
> fpc)" I thought it had to be set to the bin/fpc.<br>
<br>
</div></div>The caption says fpc, because for most users the path to the fpc<br>
executable is the best choice.<br>
<div class="im"><br>
<br>
> It is now set to ppc386<br>
><br>
> I am now get the dreaded "Fatal: Can't find unit Contnrs used by xxxxx"<br>
> error, yet it is located in <source_dir>/packages/fcl-base/src/contnrs.pp<br>
<br>
</div>The compiler searches the ppu.<br>
The error message probably means the compiler found ppu files compiled<br>
with a different version. Note: The Contnrs is just the first unit the<br>
compiler misses.<br>
Have you compiled lazarus with the new compiler?<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br>I am sure I did, because the latest svn needs to be compiled with fpc 2.4.0.<br><br>I think I may have deleted the .o and.ppu file for contnrs because googling indicated that they may be corrupted or something.<br>
<br>When I pass the mouse over the file names, I get the popups showing the file location correctly, except for contnrs. Does the IDE obtain the filename from the .o or .ppu files, or my scanning the source directory?<br>
</div><div>The contnrs file is in the <fpc_source_dir>/packages/fcl-base/src directory. Can the IDE locate them there?<br><br>If I delete them can't Lazarus recompile them again?<br><br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div class="h5">
Mattias<br>
<br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>