patches for eclipse building

Iban Hatchondo hatchond at labri.fr
Mon Mar 24 08:45:02 UTC 2003


Christian Lynbech wrote:
> I have finally finished my attempt at improving the eclipse build
> process.
> 

- In Makefile.in, in the install clause:

	if test ! -x ${bindir}/`basename ${LISP}` ; then	\
	    $(install) ${LISP} ${bindir} ;			\
	fi

what will happend if user did not dump an eclipse lisp image, and he 
upgrade his lisp system ?
I suspect he will got a copy of his old lisp trying to load an old lisp 
image, what should failed ?
What could we do to avoid this ? Not use this method in that case ? 
(this implie modification in eclipse.in)


  - I want to clarify something about the config.lisp file you add:
if I try to compile eclipse after applying your diff I got the 
followings warnings. I know they are not a problem considering that the 
undefined variables will be defined during the lisp image dumping, or 
during the starting process with load-eclipse.

The question is: why didn't you add this file in the eclipse-system 
defined in system.lisp ? That way, we shouldn't have compilation 
warnings, and load-eclipse should not anymore have to load that file 
explicitly.
I presume I missed something ?

!ban.

-- part of my compilation output. -- (cmucl 18e-pre1 for testing)

[ snip ]

; Python version 1.1, VM version Intel x86 on 24 MAR 03 05:15:44 pm.
; Compiling: /tmp/eclipse/global.lisp 24 MAR 03 05:02:17 pm


;
;
; File: /tmp/eclipse/global.lisp

; In: DEFUN ECLIPSE-PATH

;   (OR COMMON-LISP-USER::*ECLIPSE-ECLIPSEDIR* *ECLIPSE-DIRECTORY*)
; ==>
;   (LET (#)
;     (IF #:G2 #:G2 #))
; Warning: Undefined variable: COMMON-LISP-USER::*ECLIPSE-ECLIPSEDIR*
;

; In: LAMBDA (&REST NAMES)

;   (OR COMMON-LISP-USER::*ECLIPSE-ECLIPSEDIR* *ECLIPSE-DIRECTORY*)
; ==>
;   (LET (#)
;     (IF #:G0 #:G0 #))
; Warning: Undefined variable: COMMON-LISP-USER::*ECLIPSE-ECLIPSEDIR*
; ;

; Warning: This variable is undefined:
;   COMMON-LISP-USER::*ECLIPSE-ECLIPSEDIR*
;

; Compilation unit finished.
;   3 warnings


; /tmp/eclipse/global.x86f written.
; Compilation finished in 0:00:01.
;; Loading #p"/tmp/eclipse/global.x86f".

[ snip ]

; Python version 1.1, VM version Intel x86 on 24 MAR 03 05:16:01 pm.
; Compiling: /tmp/eclipse/eclipse.lisp 24 MAR 03 05:02:17 pm


;
;
; File: /tmp/eclipse/eclipse.lisp

; In: DEFUN INITIALIZE

;   (HOME-SUBDIRECTORY COMMON-LISP-USER::*ECLIPSE-RCFILE*)
; Warning: Undefined variable: COMMON-LISP-USER::*ECLIPSE-RCFILE*
;

; In: LAMBDA (DISPLAY-SPECIFICATION)

;   (HOME-SUBDIRECTORY COMMON-LISP-USER::*ECLIPSE-RCFILE*)
; Warning: Undefined variable: COMMON-LISP-USER::*ECLIPSE-RCFILE*
; ;

; Warning: This variable is undefined:
;   COMMON-LISP-USER::*ECLIPSE-RCFILE*
;

; Compilation unit finished.
;   3 warnings


; /tmp/eclipse/eclipse.x86f written.
; Compilation finished in 0:00:00.
;; Loading #p"/tmp/eclipse/eclipse.x86f".




More information about the eclipse-devel mailing list