[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Objective C on Mac OS X
From: |
Martin Wagner |
Subject: |
Objective C on Mac OS X |
Date: |
Mon, 14 Apr 2003 09:49:56 +0200 |
User-agent: |
KMail/1.5 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
all,
i am currently porting some autotoolized c++ code to mac os x, it all works
fine. however, when i try to integrate some objective c code, i get a bunch
of errors i don't understand.
i did set OBJC=gcc, OBJCFLAGS='-O2 -g' and OBJCLDFLAGS='-lobjc' in my
configure.ac.
when i now try to call automake, it complains:
/sw//share/automake-1.7/am/depend2.am: am__fastdepOBJC does not appear in
AM_CONDITIONAL
so i tried to set am__fastdepOBJC_TRUE and am__fastdepOBJC_FALSE in
configure.ac, but this didn't help either. automake now generates a Makefile,
but compilation stops at calculating the dependecies:
source='/Users/wagnerm/cvs/dwarf/src/services/Speaker/main.m' object='main.o'
libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
/bin/sh /Users/wagnerm/cvs/dwarf/depcomp \
g++ -DHAVE_CONFIG_H -I. -I/Users/wagnerm/cvs/dwarf/src/services/Speaker
- -I../../.. -g -O2 -c -o main.o `test -f
'/Users/wagnerm/cvs/dwarf/src/services/Speaker/main.m' || echo
'/Users/wagnerm/cvs/dwarf/src/services/Speaker/'`/Users/wagnerm/cvs/dwarf/src/services/Speaker/main.m
depcomp: Variables source, object and depmode must be set
make: *** [main.o] Error 1
if i disable dependency tracking using
AUTOMAKE_OPTIONS = no-dependencies
it all works, but i think disabling dependency tracking is no good solution
either.
can anyone help out? i have automake 1.7.3 (compiled from source), libtool
1.4.2 (from fink) and autoconf 2.54 (from fink).
thanks in advance,
martin
- -----------------------------------------------------------
Martin Wagner
Institut fuer Informatik (I1), TU Muenchen
Boltzmannstr. 3, 85748 Garching b. Muenchen, Germany
Room: 01.07.057
Phone/Fax: +49 (89) 289-18230 / -18207
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+mmgoi1SNOfdVxJoRAoWnAJ9z7V/zIYD+M3jq7hV53Hlw5/ggrgCfak4R
yR9BchGRaqZNqp5koXPsqUA=
=FqcN
-----END PGP SIGNATURE-----
- Objective C on Mac OS X,
Martin Wagner <=