Hello!
There is a very strange case:
lread.c: In function ‘init_lread’:
lread.c:3967: error: ‘PATH_LOADSEARCH’ undeclared (first use in this
function)
lread.c:3967: error: (Each undeclared identifier is reported only once
lread.c:3967: error: for each function it appears in.)
lread.c:3969: error: ‘PATH_DUMPLOADSEARCH’ undeclared (first use in
this function)
lread.c: In function ‘syms_of_lread’:
lread.c:4343: error: ‘PATH_DUMPLOADSEARCH’ undeclared (first use in
this function)
make[1]: *** [lread.o] Error 1
When I add to the original invocation of GCC
gcc-4.0 -I/sw/include -L/sw/lib -c -fpascal-strings -DMAC_OSX -no-
cpp-precomp -I/usr/local/include -I/sw/include -Demacs -
DHAVE_CONFIG_H -I. -I.../emacs/src -Dtemacs -I/sw/include/dbus-1.0
-I/sw/lib/dbus-1.0/include -g lread.c
a little
-dD -E -o lread.precompiled
the pre-compiled output file has
# 35 "lread.c" 2
# 1 "./epaths.h" 1
# 23 "./epaths.h"
#define PATH_LOADSEARCH "/usr/local/share/emacs/23.0.60/site-lisp:/
usr/local/share/emacs/site-lisp:/usr/local/share/emacs/23.0.60/lisp:/
usr/local/share/emacs/23.0.60/leim"
#define PATH_DUMPLOADSEARCH ".../emacs/lisp"
and later in init_lread:
if (((Vpurify_flag) == (Qnil)))
normal = "/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/
share/emacs/site-lisp:/usr/local/share/emacs/23.0.60/lisp:/usr/local/
share/emacs/23.0.60/leim";
else
normal = ".../emacs/lisp";
and therefore everything should compile fine ... and it *does* when I
set CC=gcc in the compile script. I had used /usr/sbin/gcc_select to
select GCC 4 as the system's default compiler.
After
../lib-src/make-docfile -a ../etc/DOC -d ...
this error is reported:
../lisp/emacs-lisp/easy-menu.elc: No such file or directory
A little error is left, could be because I made Emacs.app without
sudo. .../emacs/src/../nextstep/build/Emacs.app//Contents/MacOS/Emacs
launches.
--
Greetings
Pete
Windows, c'est un peu comme le beaujolais nouveau: à chaque nouvelle
cuvée on sait que ce sera dégueulasse, mais on en prend quand même,
par masochisme.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emacs-app-dev- mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-