File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 212212 initcodes ; initialize codes in "eusmain"
213213 flets
214214 unwind-frames ; frames need to unwound when jumps
215+ symstr
215216 )))
217+ (defvar *compiler-symid* 0 )
216218
217219(eval-when (load eval )
218220(defmethod compiler
219221 (:genlabel (head &optional (suffix " " ))
220- (concatenate string ( string ( gensym head) ) suffix))
222+ (format nil " ~A~A~A~A " symstr head ( incf *compiler-symid* ) suffix))
221223 (:gencname-tail
222224 (&rest lnames)
223225 ; ; NOTE: Deprecated. Use lisp::gencname-tail instead. (2017/10/19 furushchev)
12261228 (verbose *verbose* )
12271229 (entry (lisp ::gencname-tail (pathname-name file)))
12281230 (o))
1231+ (setq symstr (subseq entry 0 8 ))
12291232 (if (and (integerp c-optimize)
12301233 (> c-optimize 0 )
12311234 ; ; (not (member :gcc *features*))
14291432 (setq trans (instantiate translator)
14301433 idtable (instance identifier-table :init )
14311434 scope 0
1432- closure-level 0 )
1435+ closure-level 0
1436+ symstr " " )
14331437 self)
14341438 ) ; defmethod
14351439) ; eval-when
Original file line number Diff line number Diff line change 2828else
2929CC += -fPIC
3030endif
31+ else
32+ CC += -fPIC
3133endif
3234ifeq ($(ARCHDIR ) , Darwin)
3335CC += -I/opt/local/lib/jpeg6b/include -I/opt/local/include
@@ -42,7 +44,7 @@ LIBDIR=$(EUSDIR)/$(ARCH)/lib
4244OBJDIR =$(EUSDIR ) /$(ARCH ) /obj
4345OBJFILES = $(OBJDIR ) /jpegmemcd.o $(OBJDIR ) /jmemsrc.o $(OBJDIR ) /jmemdst.o
4446$(LIBDIR ) /jpegmemcd.$(LSFX ) : $(OBJFILES )
45- $(LD ) $(LDFLAGS ) -o $(LIBDIR ) /jpegmemcd.$(LSFX ) $(OBJDIR ) /jpegmemcd.o $(OBJDIR ) /jmemsrc.o $(OBJDIR ) /jmemdst.o -ljpeg
47+ $(LD ) -fPIC $(LDFLAGS ) -o $(LIBDIR ) /jpegmemcd.$(LSFX ) $(OBJDIR ) /jpegmemcd.o $(OBJDIR ) /jmemsrc.o $(OBJDIR ) /jmemdst.o -ljpeg
4648
4749$(OBJDIR ) /jpegmemcd.o : jpegmemcd.c
4850 $(CC ) $(CFLAGS ) -c -o $@ $^
You can’t perform that action at this time.
0 commit comments