[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 08:29:48 -0700 |
User-agent: |
Mutt/1.2i |
On Mon, Jun 18, 2001 at 10:58:06AM -0400, Thomas Dickey wrote:
:
: I check for GNU extensions, but don't use (or rely) on them if they're
: not present. About all I know about Object C is that it uses a different
: verb for including files - but iirc, it's supposed to accept #include
: as well. Perhaps Apple's compiler happens to have an option by the
: same name, but this is what gcc's info says:
[...]
: (While I've made an attempt to work around broken cpp's such as on AIX 3.x,
: which implement a mix of K&R/ANSI, it's not certain that ncurses would
: work properly if you set the cpp to "-traditional-cpp" even if it compiled).
Hmmm. Good point. If you want, I can do a clean build of ncurses with
the latest patches and capture the output (including errors). Where
should I mail that output? To you directly, the bug-ncurses list, both?
: > 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.
:
: Vim's not written in ANSI C (it's extended C, which is a bit different).
<RANT>
When I asked them about problems compiling on Mac OS X, one of the Vim
developers responded that it was plain old ANSI C. I didn't think their
answer was correct, but I discovered the -traditional-cpp flag from a
Darwin list and dropped the issue. Those liars! :-)
</RANT>
--
Eugene Lee
address@hidden