[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Objective C on Mac OS X
From: |
Martin Wagner |
Subject: |
Re: Objective C on Mac OS X |
Date: |
Wed, 16 Apr 2003 11:14:36 +0200 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
alexandre,
thanks for your help, i now got it running. I fixed the errors by
adding some flags to the cpp, switching off all the fancy new apple
features that crash the dependency checking code:
AM_CPPFLAGS = -traditional-cpp -flat_namespace -undefined warning
Martin> address@hidden:~/cvs/dwarf/build/src/services/Speaker $
make
Martin> if g++ -DHAVE_CONFIG_H -I. -
^^^
Martin> -I/Users/wagnerm/cvs/dwarf/src/services/Speaker -I../../..
-g -O2
Martin> - -MT main.o -MD -MP -MF ".deps/main.Tpo" \
^^^
Martin> -c -o main.o `test -f
Martin> '/Users/wagnerm/cvs/dwarf/src/services/Speaker/main.m' || echo
Martin>
'/Users/wagnerm/cvs/dwarf/src/services/Speaker/'`/Users/wagnerm/cvs/
Martin> dwarf/src/services/Speaker/main.m; \
Where do these two isolated `-' in the g++ invocation come from?
this must have been some side effect of my mail program, these '-' do
not exist.
BTW I'm a bit surprised that this rules uses g++ while
you said you were using OBJC=gcc.
i said, but i used OBJC=g++ indeed. sorry, my fault.
What version of GCC is this? Can you reproduce this behavior
manually with on a simple hello word? My copy of GCC seems to
grok this command line just fine (i.e., as documented).
I'm using the gcc from apple developer tools:
$ gcc --version
gcc (GCC) 3.1 20020420 (prerelease)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
thanks,
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 (Darwin)
iD8DBQE+nR8Ai1SNOfdVxJoRAgEXAJ9vz0d8IeNQLsQMEkQ4YreEwRBoTgCfUn70
LQPkje/IKfSOe4HiLKOkE2M=
=G0DZ
-----END PGP SIGNATURE-----