comparison loader/Makefile @ 7074:136332c7da42

with the help of the Mandrake compiler maintainer this problem has been solved. With gcc 3.2 or 3.1.1 you need to add the compiler option -mno-omit-leaf-frame-pointer to make the win32 dll loader work again. by Goetz Waschk <waschk@informatik.uni-rostock.de>
author arpi
date Thu, 22 Aug 2002 23:41:51 +0000
parents b69ddd4d3bb9
children 8b905703a450
comparison
equal deleted inserted replaced
7073:b69ddd4d3bb9 7074:136332c7da42
15 # propper %ebp first! 15 # propper %ebp first!
16 # -fno-omit-frame-pointer works around this gcc-3.0 bug. gcc-2.95.2 is OK. 16 # -fno-omit-frame-pointer works around this gcc-3.0 bug. gcc-2.95.2 is OK.
17 # Note: -D_FILE_OFFSET_BITS=32 is required to disable using mmap64(), 17 # Note: -D_FILE_OFFSET_BITS=32 is required to disable using mmap64(),
18 # as it's broken in glibc 2.1.2 (bad header) and 2.1.3 (bad code) 18 # as it's broken in glibc 2.1.2 (bad header) and 2.1.3 (bad code)
19 WARN_FLAGS = 19 WARN_FLAGS =
20 CFLAGS=-I. -I.. $(OPTFLAGS) -U_FILE_OFFSET_BITS $(EXTRA_INC) $(WARN_FLAGS) -fno-omit-frame-pointer 20 CFLAGS=-I. -I.. $(OPTFLAGS) -U_FILE_OFFSET_BITS $(EXTRA_INC) $(WARN_FLAGS) -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
21 #CFLAGS=-I. -I.. -O $(WARN_FLAGS) -g #-fno-omit-frame-pointer 21 #CFLAGS=-I. -I.. -O $(WARN_FLAGS) -g #-fno-omit-frame-pointer
22 22
23 all: libloader.a 23 all: libloader.a
24 24
25 clean: 25 clean: