delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Recipient: | djgpp AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=gmail.com; s=20120113; | |
h=mime-version:date:message-id:subject:from:to:content-type; | |
bh=vRsOcTfK2h3RSGiSvI/N6CeuDbo1fGg0hOSt2ZcSlcY=; | |
b=sHP7jQ0D+Ipt59OYV2DoVvPKo0MzUvhHw+aq8uyYXuZyor7dzBcsI1Vsoev+AGvCMp | |
1QT5UGFMCmW6dw2ZsL/ENwdaoLOE76wOYJyOfWqpbhRlp69eTXwCXMLr1paqKUsmuVZJ | |
5ByRC3HCx1AqxtDRf//QzjkEprzP8qb2aG1GS4ylo23/4GIqAo03OeLMjP3jSfbI4UM5 | |
VF/ocvgOl+noOMSsob7WfL+s1Y5OG/9djkZCITkpnlhZxabRSds/dRmrwasI1tq+bX8/ | |
zARUfMydfjtYdju1PLz/VeOu6JF/0DxdXkG7cMcZV/ANH7qOqL1ONGAPt4miNjAmQvic | |
Rovg== | |
MIME-Version: | 1.0 |
X-Received: | by 10.107.169.16 with SMTP id s16mr9681521ioe.74.1435233920041; |
Thu, 25 Jun 2015 05:05:20 -0700 (PDT) | |
Date: | Thu, 25 Jun 2015 15:05:20 +0300 |
Message-ID: | <CAA2C=vBoL0b5Sk+yxmhtosM6-m2CG+Fom905wJVS2hXg37HqXg@mail.gmail.com> |
Subject: | patch to add dxe3gen & co to djcrx packages |
From: | "Ozkan Sezer (sezeroz AT gmail DOT com)" <djgpp AT delorie DOT com> |
To: | djgpp <djgpp AT delorie DOT com> |
Reply-To: | djgpp AT delorie DOT com |
The following patch adds dxe3gen & co to djcrx packages and provides a standalone makefile for it to build under/for unix hosts. OK to apply? Index: distrib/p/djcrx205/files =================================================================== RCS file: /cvs/djgpp/djgpp/distrib/p/djcrx205/files,v retrieving revision 1.1 diff -u -r1.1 files --- distrib/p/djcrx205/files 4 May 2015 03:25:39 -0000 1.1 +++ distrib/p/djcrx205/files 25 Jun 2015 11:58:35 -0000 @@ -15,6 +15,21 @@ lib/libg.a lib/libm.a lib/libpc.a +src/dxe/dxe3gen.c +src/dxe/dxe3res.c +src/dxe/dxegen.txi +src/dxe/fini1.S +src/dxe/fini2.S +src/dxe/fini3.S +src/dxe/fini4.S +src/dxe/fini5.S +src/dxe/init1.S +src/dxe/init2.S +src/dxe/init3.S +src/dxe/init4.S +src/dxe/init5.S +src/dxe/makefile.dxe src/stub/stub.h src/stub/stubedit.c src/stub/stubify.c +src/utils/bin2h.c Index: src/dxe/makefile.dxe =================================================================== RCS file: src/dxe/makefile.dxe diff -N src/dxe/makefile.dxe --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ src/dxe/makefile.dxe 25 Jun 2015 11:58:36 -0000 @@ -0,0 +1,48 @@ +# Copyright (C) 2015 DJ Delorie, see COPYING.DJ for details + +# Standalone makefile for building dxe3gen and dxe3res for unixish hosts + +CROSS_PREFIX= i586-pc-msdosdjgpp- +CROSS_CC = $(CROSS_PREFIX)gcc +CROSS_AR = $(CROSS_PREFIX)ar +CROSS_AS = $(CROSS_PREFIX)as +CROSS_LD = $(CROSS_PREFIX)ld +CROSS_STRIP = $(CROSS_PREFIX)strip + +CC = gcc + +all: dxe3gen dxegen dxe3res + +%.o : %.S + $(CROSS_CC) -c $< + +.o.h: + $(CROSS_STRIP) --strip-unneeded $< + ./bin2h.exe $< $(basename $<) $@ + +init1.h: init1.o bin2h.exe +init2.h: init2.o bin2h.exe +init3.h: init3.o bin2h.exe +init4.h: init4.o bin2h.exe +init5.h: init5.o bin2h.exe +fini1.h: fini1.o bin2h.exe +fini2.h: fini2.o bin2h.exe +fini3.h: fini3.o bin2h.exe +fini4.h: fini4.o bin2h.exe +fini5.h: fini5.o bin2h.exe + +dxe3gen: dxe3gen.c init1.h init2.h init3.h init4.h init5.h fini1.h fini2.h fini3.h fini4.h fini5.h + $(CC) -O2 -Wall -DDXE_LD=\"$(CROSS_LD)\" -DDXE_CC=\"$(CROSS_CC)\" -DDXE_AR=\"$(CROSS_AR)\" -DDXE_AS=\"$(CROSS_AS)\" dxe3gen.c -o $@ + +dxegen: dxe3gen + ln -s dxe3gen dxegen + +dxe3res: dxe3res.c + $(CC) -O2 -Wall dxe3res.c -o $@ + +bin2h.exe: ../utils/bin2h.c + $(CC) ../utils/bin2h.c -o $@ + +clean: + rm -f *.o *.h bin2h.exe dxegen dxe3gen dxe3res +
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |