gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue with gcc 10


From: Fred Kiefer
Subject: Issue with gcc 10
Date: Sun, 7 Jun 2020 15:14:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1

OpenSuse did just switch to gcc 10 and now I have issues with GNUstep
make. The gcc version gets detected as 1.0 which is obviously wrong. But
this is only partly our fault gcc actually behaves strange:

gcc --version
gcc (SUSE Linux) 10.1.1 20200507 [revision
dd38686d9c810cecbaa80bb82ed91caaa58ad635]
Copyright (C) 2020 Free Software Foundation, Inc.

gcc -dumpversion
10

This is clearly wrong and results in our extraction using the wrong
parts for major and minor version.


gcc  -dumpversion | sed
"s/\([^0-9]*\)\([0-9][0-9]*\)\([^0-9]*\)\([0-9][0-9]*\)\([^0-9]*.*\)/\2/"
1
gcc  -dumpversion | sed
"s/\([^0-9]*\)\([0-9][0-9]*\)\([^0-9]*\)\([0-9][0-9]*\)\([^0-9]*.*\)/\4/"
0


Any idea how to fix this?

Fred



reply via email to

[Prev in Thread] Current Thread [Next in Thread]