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.
This commit is contained in:
Mikhail Novosyolov 2023-03-16 19:38:23 +03:00
parent 6aab856213
commit 7d31e25ba6
2 changed files with 3 additions and 3 deletions

View File

@ -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';

View File

@ -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+