gcc specs files should be installed in gcc dir
the gcc specs files are installed in wrong directory:
dev32-edge:~/test$ export GCC_SPECS="vanilla.specs"
dev32-edge:~/test$ gcc hello.c
gcc: error: vanilla.specs: No such file or directory
To workaround:
dev32-edge:~/test$ sudo cp /usr/share/gcc/* /usr/lib/gcc/i486-alpine-linux-uclibc/4.7.3/
dev32-edge:~/test$ export GCC_SPECS="vanilla.specs"
dev32-edge:~/test$ gcc hello.c
The gcc package should have installed the specs files there.
(from redmine: issue id 2129, created on 2013-07-02, closed on 2013-07-10)
- Changesets:
- Revision fd641092 by Natanael Copa on 2013-07-03T09:30:15Z:
main/gcc: install gcc specs in proper location
and unify gcclibdir and gcclibexec variables
the specs fix should make the vanilla.specs work again.
fixes #2129