https://bugzilla.novell.com/show_bug.cgi?id=860513 https://bugzilla.novell.com/show_bug.cgi?id=860513#c6 --- Comment #6 from AlexL0 Z <loginov_alex@inbox.ru> 2014-02-23 08:38:33 UTC --- Before in spec: GCC_VER=`gcc --version|grep gcc|awk '{print $3}'` %ifarch x86_64 sed -i -e "s|%GCCLIBPATH%| -Fl/usr/lib/gcc/x86_64-mageia-linux-gnu/$GCC_VER|g" ./utils/fpcmkcfg/fpinc.cfg %else sed -i -e "s|%GCCLIBPATH%| -Fl/usr/lib/gcc/i586-mageia-linux-gnu/$GCC_VER|g" /utils/fpcmkcfg/fpinc.cfg %endif In OpenSuse command: gcc --version|grep gcc|awk '{print $4}' shows version, but not path. OpenSUSE Factory has paths with "4.8", which you can see in package gcc48: http://pixs.ru/showimage/gccsusepng_2884407_10988613.png http://pixs.ru/showimage/gccsuse1pn_3782876_10988772.png Spec for OpenSUSE Factory for example: GCC_VER=4.8 %ifarch x86_64 sed -i -e "s|%GCCLIBPATH%| -Fl/usr/lib64/gcc/x86_64-suse-linux/$GCC_VER|g" /utils/fpcmkcfg/fpinc.cfg %else sed -i -e "s|%GCCLIBPATH%| -Fl/usr/lib/gcc/i586-suse-linux/$GCC_VER|g" /utils/fpcmkcfg/fpinc.cfg %endif For OpenSUSE 12.3, 13.1 paths are different, maybe to use %suse_version. Another easy way: delete %GCCLIBPATH% from ./utils/fpcmkcfg/fpinc.cfg and users will add paths for gcc manually (because it is rarely needed): sed -i "/%GCCLIBPATH%/d" ./utils/fpcmkcfg/fpinc.cfg -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.