home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!news.mentorg.com!scherzo!bcohen
- From: bcohen@scherzo.NoSubdomain.NoDomain (Bruce Cohen)
- Subject: Building lucid emacs with acc on Sun?
- Sender: news@news.mentorg.com (News User)
- Message-ID: <1992Dec29.164312.10629@news.mentorg.com>
- Date: Tue, 29 Dec 1992 16:43:12 GMT
- Nntp-Posting-Host: scherzo.mentorg.com
- Organization: Mentor Graphics Corporation
- Keywords:
- Followup-To:
- Lines: 33
-
- I'm trying to bring up lemacs on a sun sparcstation under sunos 4.1.2
- using acc, the sun Ansi C compiler, since I have that installed and
- don't have immediate access to gcc, and don't want to spend the time to
- install *that* as well, if I don't have to.
-
- However ... I get a whole bunch of warning messages that indicate that
- acc and gcc don't agree on the definition of Ansi C very well (and my
- book on the standard, the MicroSoft "Standard C Programmer's Reference"
- doesn't go into enough detail to tell me which one is right or whether
- I've fallen into one of those gray areas). I'm getting error messages
- like:
-
- "xdisp.c", line 1871: warning: improper pointer/integer combination: op "<"
- "emacs.c", line 226: warning: semantics of ">>" change in ANSI C; use explicit cast
-
- and a bunch of others I've already cleaned up, most of them involving
- macros from lisp.h which break or bend the type system (assigning a 1 shifted
- left 31 positions to a signed integer, for instance, is not a Nice Thing To
- Do according to acc).
-
- On top of that, the executable crashes on startup with a memory error:
- Fatal error (11).Memory fault(coredump)
- while trying to initialize the environment variable alist (it appears
- to have a bogus string free list, but I still don't know why).
-
- Has anyone out there tried building with acc and have knowledge of these
- problems, or knows enough about the vagaries of "Ansi C compliant"
- compilers to tell me the warnings are OK? And if the crash sounds
- familiar, please contact me.
- ------------------------------------------------------------------------
- Bruce Cohen, Mentor Graphics Corpooration | email: Bruce_Cohen@mentorg.com
- 8005 SW Boeckman Road | phone: (503)685-1808
- Wilsonville, OR 97070-7777 |
-