Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#8189 - gcc-objc: cannot compile any objc code
Attached to Project:
Arch Linux
Opened by Jan Smydke (crocus) - Monday, 01 October 2007, 08:47 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 12 October 2007, 20:53 GMT
Opened by Jan Smydke (crocus) - Monday, 01 October 2007, 08:47 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 12 October 2007, 20:53 GMT
|
DetailsI cannot compile any objc code after the separation of gcc in September. If I try to compile, it says:
"Objective-C compiler not installed on this system" I have gcc 4.2.1-5, gcc-objc 4.2.1-1 |
This task depends upon
FS#8199/usr/bin/gcc is a driver that determines the language of source code, feeds it through the compilers that live in /usr/lib/gcc/i686-pc-linux-gnu/4.2.1, the resulting assembler through as, and then links it all up with ld.
/usr/bin/gcc is owned by the gcc package, which is configured to support c,c++. The driver only knows about c,c++. All the other languages "supported" by gcc are out of luck.
gcc-fortran seems to work because that package provides an alternatively named driver, gfortran, that does a similar job to the gcc driver. Still, gcc should be able to compile fortran, or objective c, or java, or ada.
This can be fixed. GCC should be built for all languages in a single monolithic tree. Then we can separate out the language-specific compilers, headers, and libraries into gcc-fortran, gcc-objc, gcc-gcj, and gcc-gnat (why not include ada?) respectively.
makepkg doesn't support this. I'll play around with this and see what I can work out. Maybe subpackage support?