[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2359: dlltools example



Package: dlltools
Status: install ok installed
Priority: optional
Section: devel
Maintainer: Andrew D. Fernandes <adfernan@cnd.mcgill.ca>
Version: 2.17
Revision: 3
Description: Tools used to create DLL jumptable libraries.

Problem: Outdated (?) assumptions in Makefile.

My fix was as follows:

-------------------------- quote ---------------------------
27,29c27,28
< #  This stuff is for the Linux jump table version (see
< #  /usr/doc/dlltools/README_FIRST apropos `gcc -B' flag).
< CC	= gcc -B/usr/dll/jump/
---
> #  This stuff is for the Linux jump table version.
> CC	= gcc -B../tools/jump
54,57d52
< ##  Set mkimage, mkstubs as appropriate:
< MKIMAGE = /usr/bin/mkimage
< MKSTUBS = /usr/bin/mkstubs
<
78c73
< 	$(MKIMAGE) -l $(IMAGE) -v $(VERSION) -a $(ADDRESS) -j $(JUMPSIZE) -g $(GOTSIZE) -- $(OBJECTS) -ltermcap -lc `gcc --print-libgcc-file-name` -lc
---
> 	../tools/mkimage -l $(IMAGE) -v $(VERSION) -a $(ADDRESS) -j $(JUMPSIZE) -g $(GOTSIZE) -- $(OBJECTS) -ltermcap -lc `gcc --print-libgcc-file-name` -lc
82c77
< 	$(MKSTUBS) -l $(IMAGE) -v $(VERSION) -a $(ADDRESS) -j $(JUMPSIZE)  -g $(GOTSIZE) -- libedit
---
> 	../tools/mkstubs -l $(IMAGE) -v $(VERSION) -a $(ADDRESS) -j $(JUMPSIZE)  -g $(GOTSIZE) -- libedit
-------------------------------- unquote ---------------------------

   BH


Reply to: