Recent

Author Topic: When I build FPC trunk other installed compilers are used  (Read 6501 times)

hinst

  • Sr. Member
  • ****
  • Posts: 303
When I build FPC trunk other installed compilers are used
« on: February 12, 2014, 11:44:29 am »
I use a "simplified" Windows bat script to build FPC trunk using FPC 2.6.2 from Lazarus:
Code: [Select]
set ec=d:\Laz_1.2_RC2\fpc\2.6.2\bin\i386-win32
%ec%\make clean all install INSTALL_PREFIX=d:\Laz_1.2_RC2\fpc\2.7.1 PP=%ec%\ppc386.exe
However I noticed that while building I get output containing "D:\FPC\2.6.4rc1" text.... which means that make utility uses somtehing from other FPC folder
Is there a way to prevent fpc make from using folders other than specified on command line? I specified d:\Laz_1.2_RC2\fpc\2.6.2\i386-win32 and I do not want other FPC instances to get in the way of building process becuase I am afraid that it will mix things and it will somehow get worse; more errors; well you got it....

P.S.: I do not use Lazarus for this, I only use precompiled FPC folder which is distributed with Lazarus
« Last Edit: February 12, 2014, 11:46:29 am by hinst »
Too late to escape fate

Leledumbo

  • Hero Member
  • *****
  • Posts: 8112
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: When I build FPC trunk other installed compilers are used
« Reply #1 on: February 12, 2014, 03:10:42 pm »
Don't put that folder's bin directory to PATH.