[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Automake support for ObjC++
From: |
Peter Breitenlohner |
Subject: |
Automake support for ObjC++ |
Date: |
Mon, 20 Jul 2009 14:37:42 +0200 (CEST) |
User-agent: |
Alpine 2.00 (LNX 1167 2008-08-23) |
Hi,
are there any plans that Automake supports ObjC++ (as implemented in
gcc-4.x)?
In TeXlive there is one program that requires one ObjC++ (.mm) file when
compiled for Mac OS X.
With present Automake (1.11) that requires an ugly hack:
(1) create a C++ wrapper including the .mm file
(2) define a separate static library containing just one object file with
this wrapper as source.
(3) adding '-ObjC++' to the CXXFLAGS for that library
All that would be much simpler, more transparent and less fragile with
ObjC++ support from Automake.
The implementation of such support seems to be fairly staightforward.
In case there are no such plans, I could prepare some patches for this.
Please let me know.
Regards
Peter Breitenlohner <address@hidden>
- Automake support for ObjC++,
Peter Breitenlohner <=