[PATCH] ObjC include paths on Ubuntu 9.04

Hi,

Here is a patch to compile to ObjC programs with the GCC libobjc bundled with Ubuntu 9.04, otherwise clang fails to find the objc headers.
The problem probably exist with many Linux distributions where the ‘objc’ directory is not located in /usr/include but in /usr/lib/gcc/ARCH-linux-gnu/GCC-VERSION.

Cheers,
Quentin.

objc-include-paths.patch (535 Bytes)

This patch will include /usr/lib/gcc/i486-linux-gnu/4.3.3/include for all linux architectures, even though
the path is architecture specific.

- Fariborz