On Sun, 20 Aug 2006 22:45:09 +0200 Florian Klaempfl <[EMAIL PROTECTED]> wrote:
> Mattias Gaertner wrote: > > On Sun, 20 Aug 2006 21:00:10 +0200 > > Florian Klaempfl <[EMAIL PROTECTED]> wrote: > > > >> Is there an easy to setup way (not making a huge fpc.cfg) to > >> convince lazarus to use units and sources from a checked out and > >> compiled (not installed!) fpc tree? > > > > Short: Yes. > > > > Long: > > I assume, you have a normal fpc source directory and your fpc finds > > its .ppu files (e.g. system.ppu) via its unit paths. Then the IDE > > should find the sources. > > Lazarus starts the fpc with the -va option to find the unit paths. > > Then it searches all these unit paths for .ppu files. > > Then it searches the corresponding sources in the FPC source > > directory. So, the 'not installed' should not matter. > > Hmm, the point is that I usually don't use a fpc.cfg because I work > with the makefiles. So running fpc -va doesn't help. AFAIK no one has yet written a Makefile to lazarus converter. You have to setup a package / project. Maybe it is possible to write a simple converter for Makefile.fpc. If anyone wants to do that, I will help. Mattias > > > Maybe you have to do a Environment > Rescan ? > > > > > > Mattias > > > > _________________________________________________________________ > > To unsubscribe: mail [EMAIL PROTECTED] with > > "unsubscribe" as the Subject > > archives at http://www.lazarus.freepascal.org/mailarchives > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
