From ffa8733df492b236419577aab239d91bd54111f4 Mon Sep 17 00:00:00 2001 From: jesusc Date: Thu, 31 Jul 2003 08:10:24 +0000 Subject: [PATCH] Adding sdcclib to the build. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2788 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 76 ++++++++++++++++++++-------------- Makefile.bcc | 6 +++ support/librarian/Makefile.bcc | 14 +++++++ 3 files changed, 65 insertions(+), 31 deletions(-) create mode 100644 support/librarian/Makefile.bcc diff --git a/ChangeLog b/ChangeLog index dbcda524..6392e53c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,33 +1,47 @@ +2003-07-30 Jesus Calvino-Fraga + + Adding sdcclib to the build. MSVC project coming soon. + Files added/changed: + + * support\librarian\clean.mk + * support\librarian\configure + * support\librarian\configure.in + * support\librarian\config_in.h + * support\librarian\Makefile.bcc + * support\librarian\Makefile.in + * support\librarian\sdcclib.c + * Makefile.bcc + 2003-07-29 Jesus Calvino-Fraga - Linker now complaints if linked modules have conflicting options, for - example, one compiled using --model-large and another one compiled with - --model-small. The following files were modified: - - * as\mcs51\asdata.c - * as\mcs51\aslink.h - * as\mcs51\asm.h - * as\mcs51\asmain.c - * as\mcs51\asout.c - * as\mcs51\i51pst.c - * as\mcs51\lkdata.c - * as\mcs51\lklibr.c - * as\mcs51\lkmain.c - * as\z80\asdata.c - * as\z80\asm.h - * as\z80\asmain.c - * as\z80\asout.c - * as\z80\z80pst.c - * link\z80\aslink.h - * link\z80\lkdata.c - * link\z80\lklibr.c - * link\z80\lkmain.c - * src\SDCCglue.c + Linker now complaints if linked modules have conflicting options, for + example, one compiled using --model-large and another one compiled with + --model-small. The following files were modified: + + * as\mcs51\asdata.c + * as\mcs51\aslink.h + * as\mcs51\asm.h + * as\mcs51\asmain.c + * as\mcs51\asout.c + * as\mcs51\i51pst.c + * as\mcs51\lkdata.c + * as\mcs51\lklibr.c + * as\mcs51\lkmain.c + * as\z80\asdata.c + * as\z80\asm.h + * as\z80\asmain.c + * as\z80\asout.c + * as\z80\z80pst.c + * link\z80\aslink.h + * link\z80\lkdata.c + * link\z80\lklibr.c + * link\z80\lkmain.c + * src\SDCCglue.c 2003-07-28 Jesus Calvino-Fraga - *link/z80/aslink.h, link/z80/lklibr.c, as/mcs51/aslink.h, - as/mcs51/lklibr.c: Generate a warning when a library is not found. + *link/z80/aslink.h, link/z80/lklibr.c, as/mcs51/aslink.h, + as/mcs51/lklibr.c: Generate a warning when a library is not found. 2003-07-28 Bernhard Held @@ -35,7 +49,7 @@ 2003-07-26 Jesus Calvino-Fraga - *src/SDCCmain.c: do not search for crt0.o when using --nostdlib + *src/SDCCmain.c: do not search for crt0.o when using --nostdlib 2003-07-24 Bernhard Held @@ -50,11 +64,11 @@ 2003-07-24 Jesus Calvino-Fraga - added support for new library format to z80, gbz80 linkers: - *link/z80/aslink.h - *link/z80/lklex.c - *link/z80/lklib.c - *link/z80/lklist.c + added support for new library format to z80, gbz80 linkers: + *link/z80/aslink.h + *link/z80/lklex.c + *link/z80/lklib.c + *link/z80/lklist.c 2003-07-24 Bernhard Held diff --git a/Makefile.bcc b/Makefile.bcc index 01df8e39..0428a19b 100644 --- a/Makefile.bcc +++ b/Makefile.bcc @@ -32,3 +32,9 @@ packihx: cd packihx make -f Makefile.bcc cd .. + +librarian: + cd support\librarian + make -f Makefile.bcc + cd ..\.. + diff --git a/support/librarian/Makefile.bcc b/support/librarian/Makefile.bcc new file mode 100644 index 00000000..a3b9d847 --- /dev/null +++ b/support/librarian/Makefile.bcc @@ -0,0 +1,14 @@ +# Makefile for Borlad C++ + +PRJDIR = ../.. + +!include $(PRJDIR)/Bcc.inc + +OBJECTS = sdcclib.obj + +TARGET = $(PRJDIR)/bin/sdcclib.exe + +all: $(TARGET) + +$(TARGET): $(OBJECTS) + $(CC) $(CFLAGS) -e$@ $(OBJECTS) -- 2.47.2