From 7d31e25ba646791c200e1365b2578bdc8c21c551 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Thu, 16 Mar 2023 19:38:23 +0300 Subject: [PATCH] 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. --- packages/fpmkunit/src/fpmkunit.pp | 4 ++-- packages/fppkg/src/fpmkunitsrc.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/fpmkunit/src/fpmkunit.pp b/packages/fpmkunit/src/fpmkunit.pp index 054763f3cf..7e2dc23f0e 100644 --- a/packages/fpmkunit/src/fpmkunit.pp +++ b/packages/fpmkunit/src/fpmkunit.pp @@ -1792,8 +1792,8 @@ ResourceString SWarnCanNotGetFileAge = 'Warning: Failed to get FileAge for %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'; - 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.'; {$IFNDEF HAS_UNIT_PROCESS} SWarnNoFCLProcessSupport= 'No FCL-Process support'; diff --git a/packages/fppkg/src/fpmkunitsrc.inc b/packages/fppkg/src/fpmkunitsrc.inc index b7c9ce1811..112dc61fe1 100644 --- a/packages/fppkg/src/fpmkunitsrc.inc +++ b/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+ ' SWarnDuplicatePackage = '#039'Warning: Package %s is already added. U'+ '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'+ 'cc path.'#039';'#010+ ' SWarnNoFCLProcessSupport= '#039'No FCL-Process support'#039';'#010+