> > It picks up the right compiler but there is still a problem though: 
> > fpc.cfg includes the units searchpath 
> > ~/wherever/we/installed/units/$fpctarget but make install 
> > INSTALL_PREFIX=blah installs in 
> > blah/lib/fpc/$fpcversion/units/$fpctarget. Running 'fpcmkcfg -d 
> > basepath=~/wherever/we/installed/lib/fpc/2.6.1 ...' solves this. 
> > Unfortunately 
> 'basepath=~/wherever/we/installed/lib/fpc/$fpcversion' 
> > doesn't work. Lazarus seems to be perfectly happy with the 
> script (I 
> > installed it in the fpc/bin directory)
> 
> Ok, I've added this to my todo list 
> http://lazarus.freepascal.org/index.php/topic,15919.0.html
> In the meantime, patches welcome :)
> 

Patch for script, unit path (using INSTALL_UNITDIR make parameter) and
gdb/make attached.

Ludo

Attachment: fpcup.diff
Description: Binary data

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to