[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling ncurses on Darwin / Mac OS X
From: |
Eugene Lee |
Subject: |
Re: compiling ncurses on Darwin / Mac OS X |
Date: |
Mon, 18 Jun 2001 07:36:53 -0700 |
User-agent: |
Mutt/1.2i |
On Mon, Jun 18, 2001 at 09:42:49AM -0400, Thomas Dickey wrote:
: On Mon, Jun 18, 2001 at 06:19:40AM -0700, Eugene Lee wrote:
: >
: > CFLAGS=-traditional-cpp ./configure
: > Could this be added to INSTALL, or maybe add this to the configure script?
:
: I think I need more information (why Darwin has stuff in their header files
: which is about 12-years obsolete).
>From what I understand, Apple's compiler uses a special cpp to handle
it's Objective C syntax and precompiled headers, which unfortunately
doesn't support GNU extensions. Apple's cpp is on by default but can be
switched to GNU's standard cpp via the -traditional-cpp flag. So it's
not really any kind of ncurses bug or a problem with Darwin's header
files as much as it is with Apple's compiler.
I ran into similar problems with compiling Vim pre-5.8, which required a
similar fix. A quick search turned up tons of similar fixes from people
porting to Darwin.
--
Eugene Lee
address@hidden