-
Notifications
You must be signed in to change notification settings - Fork 9
gcc-4.8 on CentOS7 cannot be found #8
Description
Trying to build gives this error:
[mark@localhost Test2]$ bam -b=Native
Compiling package assembly, using C# compiler v4.0
Creating modules
Constructing dependency graph
Applying settings patches
Parsing tokenized strings
Executing graph
/usr/bin/gcc-4.8 -m64 -g -I/home/mark/dev/BuildAMation/tests/Test2/include -fno-omit-frame-pointer -O0 -DD_BAM_CONFIGURATION_DEBUG -DD_BAM_PLATFORM_LINUX -DD_BAM_PLATFORM_BITS=64 -DD_BAM_PLATFORM_LITTLEENDIAN -x c -Werror -c /home/mark/dev/BuildAMation/tests/Test2/source/library.c -o /home/mark/dev/BuildAMation/tests/Test2/build/Test2/Library/Debug/library.o
'ApplicationName='/usr/bin/gcc-4.8', CommandLine='-m64 -g -I/home/mark/dev/BuildAMation/tests/Test2/include -fno-omit-frame-pointer -O0 -DD_BAM_CONFIGURATION_DEBUG -DD_BAM_PLATFORM_LINUX -DD_BAM_PLATFORM_BITS=64 -DD_BAM_PLATFORM_LITTLEENDIAN -x c -Werror -c /home/mark/dev/BuildAMation/tests/Test2/source/library.c -o /home/mark/dev/BuildAMation/tests/Test2/build/Test2/Library/Debug/library.o', CurrentDirectory='', Native error= Cannot find the specified file': process filename '/usr/bin/gcc-4.8'
Build Failed
whereas gcc 4.8 is installed, just lacking the version suffix
[mark@localhost Test2]$ which gcc
/usr/bin/gcc
[mark@localhost Test2]$ /usr/bin/gcc --version
gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-9)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Needs to be a better way to find the installation.