Re: Building cvs HEAD in Mac OS X (Intel)

Madhu <[email protected]>
Newsgroups gmane.lisp.cmucl.general
Message-ID <[email protected]>
  [I'm not on a mac, but ...]

* Filipe Cabecinhas
Wrote on Mon, 26 May 2008 11:14:05 +0100:
| Now I have two more questions:
| How can I pass compilation flags to the C source-code? I wanted to
| include -I/.../OpenMotif but couldn't and had to resort to macports

try exporting CFLAGS=-I/path/to/OpenMotif
or `make CFLAGS==-I/path/to/OpenMotif'

| also: how can I make Emacs show me the source to a CMUCL function When
| I M-. it (Not one of my defined functions but a CMUCL function
| (format, for example))?
|
| When I M-. format and choose #'format, I get:
| Error opening #P"target:code/format.lisp", No such file or directory.

You need to set up the "target:" search-list. I believe these are
documented in CMU USER. This should work:

(setf (ext:search-list "target:") (pushnew "/path/to/cmucl/src/"
                                  (ext:search-list "target:") :test
                                  #'equal))

For CMUCL built from sources, by default, the target search list is set
up like this:
(ext:search-list "target:") => ("trunk:src/" "trunk:x86-linux/")

So setting this in your .cmucl-init where /path/to/cmucl contains the
source and target trees also works.

(setf (ext:search-list "trunk:") '("/path/to/cmucl/")) 

--
Madhu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.