[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't compile
From: |
Davis Herring |
Subject: |
Re: Can't compile |
Date: |
Wed, 10 Aug 2011 16:44:40 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110310 Lanikai/3.1.9 |
> -tmp_CPPFLAGS="$CPPFLAGS"
> -tmp_CFLAGS="$CFLAGS"
> CPPFLAGS="$CPPFLAGS -x objective-c"
> CFLAGS="$CFLAGS -x objective-c"
By keeping the "-x objective-c" you're telling the compiler that all
subsequent files are Objective C files, including ../lib/libgnu.a.
You'll have to find some way to restrict those flags to only the actual
source files, perhaps by countermanding them with "-x none" later.
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.