Browse Source

Fix messages about not found gcc

Code actually looks for the gcc executable inside $PATH, not for libgcc.
fpc works without the libgcc.so devel symlink.
Mikhail Novosyolov 2 years ago
parent
commit
7d31e25ba6
2 changed files with 3 additions and 3 deletions
  1. 2 2
      packages/fpmkunit/src/fpmkunit.pp
  2. 1 1
      packages/fppkg/src/fpmkunitsrc.inc

+ 2 - 2
packages/fpmkunit/src/fpmkunit.pp

@@ -1792,8 +1792,8 @@ ResourceString
   SWarnCanNotGetFileAge = 'Warning: Failed to get FileAge for %s';
   SWarnCanNotGetFileAge = 'Warning: Failed to get FileAge for %s';
   SWarnExtCommandNotFound = 'Warning: External command "%s" not found but "%s" is older then "%s"';
   SWarnExtCommandNotFound = 'Warning: External command "%s" not found but "%s" is older then "%s"';
   SWarnDuplicatePackage = 'Warning: Package %s is already added. Using the existing package';
   SWarnDuplicatePackage = 'Warning: Package %s is already added. Using the existing package';
-  SWarngccNotFound        = 'Could not find libgcc';
-  SWarncrossgccNotFound   = 'Could not find libgcc for cross-configuration';
+  SWarngccNotFound        = 'Could not find gcc';
+  SWarncrossgccNotFound   = 'Could not find gcc for cross-configuration';
   SWarngcclibpath         = 'Warning: Unable to determine the libgcc path.';
   SWarngcclibpath         = 'Warning: Unable to determine the libgcc path.';
 {$IFNDEF HAS_UNIT_PROCESS}
 {$IFNDEF HAS_UNIT_PROCESS}
   SWarnNoFCLProcessSupport= 'No FCL-Process support';
   SWarnNoFCLProcessSupport= 'No FCL-Process support';

+ 1 - 1
packages/fppkg/src/fpmkunitsrc.inc

@@ -2091,7 +2091,7 @@ const fpmkunitsrc : array[0..1237,1..240] of char=(
   'und but "%s" is older then "%s"'#039';'#010+
   'und but "%s" is older then "%s"'#039';'#010+
   '  SWarnDuplicatePackage = '#039'Warning: Package %s is already added. U'+
   '  SWarnDuplicatePackage = '#039'Warning: Package %s is already added. U'+
   'sing the e','xisting package'#039';'#010+
   'sing the e','xisting package'#039';'#010+
-  '  SWarngccNotFound        = '#039'Could not find libgcc'#039';'#010+
+  '  SWarngccNotFound        = '#039'Could not find gcc'#039';'#010+
   '  SWarngcclibpath         = '#039'Warning: Unable to determine the libg'+
   '  SWarngcclibpath         = '#039'Warning: Unable to determine the libg'+
   'cc path.'#039';'#010+
   'cc path.'#039';'#010+
   '  SWarnNoFCLProcessSupport= '#039'No FCL-Process support'#039';'#010+
   '  SWarnNoFCLProcessSupport= '#039'No FCL-Process support'#039';'#010+