Compare commits

...

22 commits

Author SHA1 Message Date
Michael Hope 50a602383a Pull the version directly from git. 2015-01-10 21:49:00 +01:00
Michael Hope 51613ec605 Bump the version. 2015-01-10 21:36:06 +01:00
Michael Hope 1ec424f4e2 Added a travis-ci.org build config. 2015-01-10 21:32:20 +01:00
Michael Hope 0196eac7dc Added a Docker script to build in a clean VM. 2015-01-10 21:26:25 +01:00
Michael Hope 684a30b299 Added a build-dep rule for Debian machines. 2015-01-10 21:16:48 +01:00
Michael Hope ff61cf5601 Modernise the binary tarball command. 2015-01-10 20:54:56 +01:00
Michael Hope 637da8d677 Pulled maccer into the top level build. 2015-01-10 20:48:29 +01:00
Michael Hope 947e10906d Make the install prefix overridable. 2015-01-10 20:45:13 +01:00
Michael Hope bf945bdc26 Renamed getline() to getline_() so it doesn't collide with libc. 2015-01-10 20:21:18 +01:00
Michael Hope 584c3e5ef5 Fixed the build by moving -lm to the end of the ld command.
Don't generate the API documentation by default.
2015-01-10 20:06:03 +01:00
Michael Hope 2c782e0b62 Imported maccer 0.25. 2015-01-10 20:04:02 +01:00
Michael Hope 105215819f Removed an auto-generated file. 2015-01-10 19:28:17 +01:00
Michael Hope 105a361908 Ensure we have a bin/ directory. 2015-01-10 19:25:28 +01:00
Michael Hope af8c3fd0b7 Renamed getline() to getline_() to remove the conflict with the builtin getline(). 2015-01-10 18:59:29 +01:00
Michael Hope 87e88b6377 Rename getline() to getline_() so we don't conflict with the builtin getline(). 2015-01-10 18:57:12 +01:00
Michael Hope 83ff071c62 Fix the copy command by removing the explicit $MANUAL path. 2015-01-10 18:55:39 +01:00
Michael Hope f4ce5ce439 Removed generated files. 2015-01-10 18:01:58 +01:00
Michael Hope 01da2d884e Added a .gitignore. 2015-01-10 17:13:19 +01:00
Michael Hope 6a90b129b7 Update the YACC script to work with bison 3.0. 2015-01-10 17:09:22 +01:00
Michael Hope bf5cebfdd7 Update the lexer to match flex 2.5. 2015-01-10 17:08:13 +01:00
Michael Hope 64db604da9 Remove the generated lexer and yaccer from the tree. 2015-01-10 16:58:05 +01:00
Michael Hope f551cdb3c0 Pull the host architecture from the dpkg.
Default the build architecture to the host architecture.
2015-01-10 16:57:08 +01:00
45 changed files with 1543 additions and 9054 deletions

5
.travis.yml Normal file
View file

@ -0,0 +1,5 @@
language: c
install:
- sudo apt-get update -qq
- sudo make build-dep
script: make

View file

@ -9,9 +9,7 @@ TOPDIR = $(shell pwd)
# Package name, used for tarballs and cvs
PKG = gbdk
# Version, used for tarballs
VER = 2.96a
# Short version, used for cvs tags
SHORTVER = 296
VER ?= $(shell git describe --tags --always | sed "s/^$(PKG)-//")
# Prefix to add to the standard tools. Usefull for a standard gcc
# cross-compile.
@ -31,35 +29,39 @@ SDCCDIR = $(TOPDIR)/sdcc
GBDKLIBDIR = $(TOPDIR)/gbdk-lib
# Directory containing the source to gbdk-support
GBDKSUPPORTDIR = $(TOPDIR)/gbdk-support
# Directory containing the source to maccer
MACCERDIR = $(TOPDIR)/maccer
# Base setup
# Extension to add to executables
EXEEXTENSION =
# Host operating system identifier. The one below should work for
# most systems.
HOSTOS = ppc-unknown-linux2.2
HOSTOS := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
# Target operating system identifier. Used in the output zip name.
TARGETOS = ppc-unknown-linux2.2
TARGETOS = $(HOSTOS)
# Directory that gbdk should finally end up in
TARGETDIR = /opt/gbdk
# Directory that gbdk for this target is built into.
BUILDDIR = $(TOPDIR)/build/$(TARGETOS)/gbdk
# Intermediates directory
INTDIR = $(TOPDIR)/tmp
NOISELOG = $(TOPDIR)/noise.log
all: native-build
clean: sdcc-clean gbdk-support-clean gbdk-lib-clean
clean: sdcc-clean gbdk-support-clean gbdk-lib-clean maccer-clean
distclean: clean build-dir-clean
# Build rule for michaelh's machine to spin a release
sapphire-full-build: native-build binary cross-clean cross-linux-mingw32-build
# Cross-compilation targets
FIXUPMASKS = *.c *.h .bat *.s ChangeLog README
build-dep:
sudo apt-get install -y build-essential bison flex
native-build: gbdk-build gbdk-install
cross-clean: sdcc-clean gbdk-support-clean
@ -103,20 +105,6 @@ build-bin-dir:
build-dir-clean:
rm -r $(BUILDDIR)
# Setup rules
CVSFLAGS = -r $(PKG)-$(SHORTVER)
setup-from-local:
rm -rf sdcc gbdk-lib gbdk-support
ln -s ../sdcc
ln -s ../gbdk-lib
ln -s ../gbdk-support
setup-from-cvs:
cvs -d :pserver:anonymous@cvs.sdcc.sourceforge.net:/cvsroot/sdcc -q co $(CVSFLAGS) sdcc
cvs -d :pserver:anonymous@cvs.gbdk.sourceforge.net:/cvsroot/gbdk -q co $(CVSFLAGS) gbdk-lib
cvs -d :pserver:anonymous@cvs.gbdk.sourceforge.net:/cvsroot/gbdk -q co $(CVSFLAGS) gbdk-support
# Rules for sdcc
SDCCCONFIGUREFLAGS = \
--disable-mcs51-port \
@ -140,9 +128,9 @@ $(SDCCDIR)/sdccconf.h:
cd $(SDCCDIR); CC=$(TARGETCC) CXX=$(TARGETCXX) STRIP=$(TARGETSTRIP) RANLIB=$(TARGETRANLIB) CXXFLAGS=$(TARGETCXXFLAGS) ./configure $(SDCCCONFIGUREFLAGS) --host=$(HOSTOS)
sdcc-install: sdcc-build build-bin-dir
rm -fr tmp
$(MAKE) -C $(SDCCDIR) install prefix=$(TOPDIR)/tmp
cp tmp/bin/sdcc* tmp/bin/sdcpp* tmp/bin/link-* tmp/bin/as-* $(BUILDDIR)/bin
rm -rf $(INTDIR)/sdcc
$(MAKE) -C $(SDCCDIR) install prefix=$(INTDIR)/sdcc
cp $(INTDIR)/sdcc/bin/sdcc* $(INTDIR)/sdcc/bin/sdcpp* $(INTDIR)/sdcc/bin/link-* $(INTDIR)/sdcc/bin/as-* $(BUILDDIR)/bin
# PENDING: Hack below
sdcc-clean:
@ -162,9 +150,9 @@ gbdk-support-clean:
$(MAKE) -C $(GBDKSUPPORTDIR)/lcc clean
# Rules for gbdk-lib
gbdk-lib-build:
gbdk-lib-build: maccer-build
ifndef CROSSCOMPILING
$(MAKE) -C $(GBDKLIBDIR)/libc PORTS=gbz80 PLATFORMS=gb SDCCLIB=$(SDCCDIR)
PATH=$(PATH):$(INTDIR)/host $(MAKE) -C $(GBDKLIBDIR)/libc PORTS=gbz80 PLATFORMS=gb SDCCLIB=$(SDCCDIR)
endif
gbdk-lib-install: gbdk-lib-build
@ -179,14 +167,20 @@ gbdk-lib-examples-makefile:
$(MAKE) -C $(BUILDDIR)/examples/gb make.bat
unix2dos $(BUILDDIR)/examples/gb/make.bat
maccer-build:
$(MAKE) -C $(MACCERDIR) install PREFIX=$(INTDIR)/host
maccer-clean:
$(MAKE) -C $(MACCERDIR) clean
# Final binary
binary: binary-tidyup
ifeq ($(ARCHIVETYPE),zip)
rm -f $(TOPDIR)/gbdk-$(VER)-$(TARGETOS).zip
cd $(BUILDDIR)/..; zip -9Xrq $(TOPDIR)/gbdk-$(VER)-$(TARGETOS).zip gbdk
else
rm -f $(TOPDIR)/gbdk-$(VER)-$(TARGETOS).tar.gz
cd $(BUILDDIR)/..; tar czf $(TOPDIR)/gbdk-$(VER)-$(TARGETOS).tar.gz gbdk
rm -f gbdk-$(VER)-$(TARGETOS).tar.xz
tar caf gbdk-$(VER)-$(TARGETOS).tar.xz -C $(BUILDDIR)/.. gbdk
endif
binary-tidyup:

19
gbdk-support/Dockerfile Normal file
View file

@ -0,0 +1,19 @@
# Build gbdk in a VM.
FROM debian:squeeze
RUN apt-get update && \
apt-get install -y make sudo
COPY gbdk /src/gbdk
WORKDIR /src/gbdk
RUN make build-dep
VOLUME /artifacts
RUN make native-build binary
CMD cp *.tar* /artifacts
# Run with:
# sudo docker build -t gbdk-builder .
# sudo docker run --rm=true -i -t -v $PWD/artifacts:/artifacts gbdk-builder

46
maccer/ChangeLog Normal file
View file

@ -0,0 +1,46 @@
v0.1 (980707)
-------------
* Initial release
v0.15 (980827)
--------------
* Added INCBIN, INCLUDE and DF support
It's not very robust at the moment...
v0.16 (981213)
--------------
* Added INCIHX support
v0.17 (981220)
--------------
* Made a few changes to the state table to make both
A = B+C ; With whitespace at the front
.include "fish" ; Ditto
.even
and
A = B+C ; No whitespace
.include "fish"
.even
valid. There could be some trouble with Pascal's
'.label:' style, and the '.include' style, and also with the
'A =' style and the macro definition style. Macros can not
start with a '.' due to these changes.
v0.21 (981230)
--------------
* Added style support. Current styles are jas and asgb
* Fixed up text support. Can now have "" and '' strings
* Fixed up the whitespace eater for opcode arguments. The line:
Fish Cat Bob-Fred
was becoming
Fish CatBob-Fred
It now becomes (with a post-appended space between normal text)
Fish Cat Bob -Fred
* Lots of other fixes.
v0.22 (990102)
--------------
* Added ' to the SOPCODE_ARGS loopback to handle af,af'

39
maccer/Makefile Normal file
View file

@ -0,0 +1,39 @@
# Makefile for maccer
CC = gcc
LDADD = -lm
CFLAGS = -Wall -O
VER = 0.25
CFLAGS += -DVERSION=$(VER) -DVERSION_STRING=\"$(VER)\"
BIN = maccer
SRC = maccer.c test-1.ms Makefile
DOC = README ChangeLog
OBJS = maccer.o
PREFIX ?= /usr/local/bin
all: $(BIN)
$(BIN): $(OBJS)
$(CC) $(LDFLAGS) -o $(BIN) $(OBJS) $(LDADD)
clean:
rm -f $(BIN) $(BIN).exe $(OBJS) *~
rm -rf html
install: $(BIN)
install -D --strip $(BIN) $(PREFIX)/$(BIN)
dist-src: clean
rm -f ../$(BIN)-$(VER).tar.gz
cd ..; tar czf $(BIN)-$(VER).tar.gz maccer
dist-linux: all
rm -f ../$(BIN)-$(VER)_linux_glibc2.tar.gz
rm -f $(OBJS)
cd ..; tar czf $(BIN)-$(VER)_linux_glibc2.tar.gz maccer
dist-dos: all
rm -f ../$(BIN)-$(VER)_dos.zip
rm -f $(OBJS)
zip ../$(BIN)-$(VER)_dos.zip $(BIN).exe $(DOC) $(SRC)

108
maccer/README Normal file
View file

@ -0,0 +1,108 @@
maccer - macro preprocessor for the ASxxxx series of assemblers
-----------------------------------------------------------------
especially for asz80 used in the GBDK
Copyright Michael Hope 1998.
At the moment this code is distributed under the GPL until something
better comes along:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Use doc++ to extract the comments from maccer.c
Roadmap
-------
README - this file
test-1.S - Demonstration of the current capabilities of maccer
maccer.c - Source code to maccer
Makefile - The makefile for the project
ChangeLog - list of changes between versions
maccer is a very simple two pass macro preprocessor that currently
allows you to define macros and nest them. Two pass means that the
macros may appear at any place in the file, and nesting means that
you can call macros from within macros. It also allows you to
include the contents of binary files into the output - great for
raw data.
Useage
------
Simple enough :)
'maccer' to read from stdin and write to stdout
'maccer -o <output file> <input file>' to read from input file, and
to write to output file
Then pass the generated code through asz80.
The format of the data outputted by the DF, INCBIN, and INCIHX
directives can be set by adding '-ttype', where type is the output
style type. The current styles are:
asgb - original and default.
Hex numbers: 0x5A.
Data blocks: .db
jas - SGCC assembler
Hex numbers: $5A.
Data blocks: dc.b
Commands
--------
Note: Strings can use "" or ''
DF -1.234
- insert a fp number in the GBDK format
INCLUDE "filename"
- include file filename in
- accidently allows include nesting
abc123 MACRO arg1,arg2
ld arg1,#arg2
ENDM
- define macro abc123 with arguments arg1,arg2
- " abc hl,5 will gen ld hl,#5"
- nested macros are possible
- Macro names can only contain 'A-Z', 'a-z', '0-9', and '_'
- You can try others but I wont guarntee that they'll always
work
INCBIN "filename"
- include binary file filename
- turns it into an array of .db x,y,z...
INCIHX "filename"
- includes a Intel .ihx file as binary
- DOES NOT translate addresses or use the checksum
Disclaimer
----------
This program has not been stress tested. Any bug reports preferably
with fixes will be greatly appreciated.
Plans for the future
--------------------
* Add a 'REPEAT' block eg
REPEAT 5
ld a,(hl)
ld (de),a
inc de
inc hl
END
would expand into a piece of code that copies 5 bytes.
* Think of a decent name for it :)
-- Michael Hope
michaelh@earthling.net
www.pcmedia.co.nz/~michaelh/
1/20 Dublin Street
Christchurch
New Zealand

1202
maccer/maccer.c Normal file

File diff suppressed because it is too large Load diff

33
maccer/test-1.ms Normal file
View file

@ -0,0 +1,33 @@
.area _CODE
1$:
_main::
load16 .label,0x1234
ret
INCBIN "test-1.S" ; Include a binary file
; Comment
load16 MACRO address,val
ld a,#<val
ld (address),a
ld a,#>val
ld (address+1),a
ENDM
comment MACRO comm
.ascii comm
ENDM
writeato MACRO address
ld (address),a
ENDM
writenumto MACRO addr,val
ld a,#val
writeato addr
ENDM
.area _BSS
.label:
.ds 2

24
sdcc/.gitignore vendored Normal file
View file

@ -0,0 +1,24 @@
*.o
*.a
*.dep
peeph*.rul
SDCCy.c
SDCCy.h
SDCCy.output
SDCClex.c
Makefile.common
as/mcs51/Makefile
as/z80/as
bin/
config.cache
config.log
config.status
main.mk
ports.all
ports.build
sdccconf.h
src/Makefile
support/cpp2/Makefile
support/cpp2/auto-host.h
support/cpp2/configargs.h
support/cpp2/cstamp-h

View file

@ -26,7 +26,7 @@
* char endline()
* char get()
* VOID getid(id,c)
* int getline()
* int getline_()
* int getmap()
* char getnb()
* VOID getst()
@ -352,9 +352,9 @@ getmap(d)
return (c);
}
/*)Function int getline()
/*)Function int getline_()
*
* The function getline() reads a line of assembler-source text
* The function getline_() reads a line of assembler-source text
* from an assembly source text file or an include file.
* Lines of text are processed from assembler-source files until
* all files have been read. If an include file is opened then
@ -362,7 +362,7 @@ getmap(d)
* include file) until the end of the include file is found.
* The input text line is copied into the global string ib[]
* and converted to a NULL terminated string. The function
* getline() returns a (1) after succesfully reading a line
* getline_() returns a (1) after succesfully reading a line
* or a (0) if all files have been read.
*
* local variables:
@ -399,7 +399,7 @@ getmap(d)
*/
int
getline()
getline_()
{
loop: if (incfil >= 0) {
if (fgets(ib, sizeof ib, ifp[incfil]) == NULL) {

View file

@ -482,7 +482,7 @@ extern char ccase[]; /* an array of characters which
extern struct lfile *filep; /* The pointers (lfile *) filep,
* (lfile *) cfp, and (FILE *) sfp
* are used in conjunction with
* the routine getline() to read
* the routine getline_() to read
* asmlnk commands from
* (1) the standard input or
* (2) or a command file
@ -656,7 +656,7 @@ extern char get();
extern VOID getfid();
extern VOID getid();
extern VOID getSid();
extern int getline();
extern int getline_();
extern int getmap();
extern char getnb();
extern int more();

View file

@ -580,7 +580,7 @@ extern VOID usage();
extern char endline();
extern char get();
extern VOID getid();
extern int getline();
extern int getline_();
extern int getmap();
extern char getnb();
extern VOID getst();

View file

@ -129,7 +129,7 @@
* VOID diag() assubr.c
* VOID err() assubr.c
* int fprintf() c-library
* int getline() aslex.c
* int getline_() aslex.c
* VOID list() aslist.c
* VOID lstsym() aslist.c
* VOID minit() ___mch.c
@ -288,7 +288,7 @@ char *argv[];
dot.s_area = &dca;
symp = &dot;
minit();
while (getline()) {
while (getline_()) {
cp = cb;
cpt = cbt;
ep = eb;

View file

@ -107,7 +107,7 @@ Addr_T iram_size; /* internal ram size
struct lfile *filep; /* The pointers (lfile *) filep,
* (lfile *) cfp, and (FILE *) sfp
* are used in conjunction with
* the routine getline() to read
* the routine getline_() to read
* asmlnk commands from
* (1) the standard input or
* (2) or a command file

View file

@ -24,7 +24,7 @@
* VOID getfid()
* VOID getid()
* VOID getSid()
* int getline()
* int getline_()
* int getmap()
* char getnb()
* int more()
@ -417,15 +417,15 @@ getmap(d)
return (c);
}
/*)Function int getline()
/*)Function int getline_()
*
* The function getline() reads a line of input text from a
* The function getline_() reads a line of input text from a
* .rel source text file, a .lnk command file or from stdin.
* Lines of text are processed from a single .lnk file or
* multiple .rel files until all files have been read.
* The input text line is copied into the global string ib[]
* and converted to a NULL terminated string. The function
* getline() returns a (1) after succesfully reading a line
* getline_() returns a (1) after succesfully reading a line
* or a (0) if all files have been read.
* This function also opens each input .lst file and output
* .rst file as each .rel file is processed.
@ -471,7 +471,7 @@ getmap(d)
*/
int
getline()
getline_()
{
register int ftype;
register char *fid;

View file

@ -59,7 +59,7 @@ extern int unlink(const char *);
*
* The function main() evaluates the command line arguments to
* determine if the linker parameters are to input through 'stdin'
* or read from a command file. The functiond getline() and parse()
* or read from a command file. The functiond getline_() and parse()
* are to input and evaluate the linker parameters. The linking process
* proceeds by making the first pass through each .rel file in the order
* presented to the linker. At the end of the first pass the setbase(),
@ -113,7 +113,7 @@ extern int unlink(const char *);
* FILE * afile() lkmain.c
* int fclose() c_library
* int fprintf() c_library
* int getline() lklex.c
* int getline_() lklex.c
* VOID library() lklibr.c
* VOID link_main() lkmain.c
* VOID lkexit() lkmain.c
@ -191,7 +191,7 @@ char *argv[];
filep = startp;
while (1) {
ip = ib;
if (getline() == 0)
if (getline_() == 0)
break;
if (pflag && sfp != stdin)
fprintf(stdout, "%s\n", ip);
@ -222,7 +222,7 @@ char *argv[];
hp = NULL;
radix = 10;
while (getline()) {
while (getline_()) {
ip = ib;
/* pass any "magic comments" to NoICE output */

View file

@ -28,7 +28,7 @@
* char endline()
* char get()
* VOID getid(id,c)
* int getline()
* int getline_()
* int getmap()
* char getnb()
* VOID getst()
@ -354,9 +354,9 @@ getmap(d)
return (c);
}
/*)Function int getline()
/*)Function int getline_()
*
* The function getline() reads a line of assembler-source text
* The function getline_() reads a line of assembler-source text
* from an assembly source text file or an include file.
* Lines of text are processed from assembler-source files until
* all files have been read. If an include file is opened then
@ -364,7 +364,7 @@ getmap(d)
* include file) until the end of the include file is found.
* The input text line is copied into the global string ib[]
* and converted to a NULL terminated string. The function
* getline() returns a (1) after succesfully reading a line
* getline_() returns a (1) after succesfully reading a line
* or a (0) if all files have been read.
*
* local variables:
@ -401,7 +401,7 @@ getmap(d)
*/
int
getline()
getline_()
{
register int i;

View file

@ -521,7 +521,7 @@ extern VOID usage();
extern char endline();
extern char get();
extern VOID getid();
extern int getline();
extern int getline_();
extern int getmap();
extern char getnb();
extern VOID getst();

View file

@ -135,7 +135,7 @@
* VOID diag() assubr.c
* VOID err() assubr.c
* int fprintf() c-library
* int getline() aslex.c
* int getline_() aslex.c
* VOID list() aslist.c
* VOID lstsym() aslist.c
* VOID minit() ___mch.c
@ -296,7 +296,7 @@ main(int argc, char **argv)
dot.s_area = &dca;
symp = &dot;
minit();
while (getline()) {
while (getline_()) {
cp = cb;
cpt = cbt;
ep = eb;

0
sdcc/bin/.gitignore vendored Normal file
View file

View file

@ -8,7 +8,7 @@ all: $(MANUAL).html $(MANUAL).pdf $(MANUAL).txt \
install:
$(INSTALL) -d $(docdir)
cp -rf *.html *.txt *.pdf $(MANUAL).html $(TSS).html z80 avr $(docdir)
cp -rf *.html *.txt *.pdf z80 avr $(docdir)
uninstall:
rm -rf $(docdir)

View file

@ -471,7 +471,7 @@ extern char ccase[]; /* an array of characters which
extern struct lfile *filep; /* The pointers (lfile *) filep,
* (lfile *) cfp, and (FILE *) sfp
* are used in conjunction with
* the routine getline() to read
* the routine getline_() to read
* asmlnk commands from
* (1) the standard input or
* (2) or a command file
@ -635,7 +635,7 @@ extern char endline();
extern char get();
extern VOID getfid();
extern VOID getid();
extern int getline();
extern int getline_();
extern int getmap();
extern char getnb();
extern int more();

View file

@ -97,7 +97,7 @@ int gcntr; /* LST file relocation active
struct lfile *filep; /* The pointers (lfile *) filep,
* (lfile *) cfp, and (FILE *) sfp
* are used in conjunction with
* the routine getline() to read
* the routine getline_() to read
* asmlnk commands from
* (1) the standard input or
* (2) or a command file

View file

@ -28,7 +28,7 @@
* char get()
* VOID getfid()
* VOID getid()
* int getline()
* int getline_()
* int getmap()
* char getnb()
* int more()
@ -367,15 +367,15 @@ getmap(d)
return (c);
}
/*)Function int getline()
/*)Function int getline_()
*
* The function getline() reads a line of input text from a
* The function getline_() reads a line of input text from a
* .rel source text file, a .lnk command file or from stdin.
* Lines of text are processed from a single .lnk file or
* multiple .rel files until all files have been read.
* The input text line is copied into the global string ib[]
* and converted to a NULL terminated string. The function
* getline() returns a (1) after succesfully reading a line
* getline_() returns a (1) after succesfully reading a line
* or a (0) if all files have been read.
* This function also opens each input .lst file and output
* .rst file as each .rel file is processed.
@ -421,7 +421,7 @@ getmap(d)
*/
int
getline()
getline_()
{
register int i, ftype;
register char *fid;

View file

@ -60,7 +60,7 @@
*
* The function main() evaluates the command line arguments to
* determine if the linker parameters are to input through 'stdin'
* or read from a command file. The functiond getline() and parse()
* or read from a command file. The functiond getline_() and parse()
* are to input and evaluate the linker parameters. The linking process
* proceeds by making the first pass through each .rel file in the order
* presented to the linker. At the end of the first pass the setbase(),
@ -114,7 +114,7 @@
* FILE * afile() lkmain.c
* int fclose() c_library
* int fprintf() c_library
* int getline() lklex.c
* int getline_() lklex.c
* VOID library() lklibr.c
* VOID link() lkmain.c
* VOID lkexit() lkmain.c
@ -258,7 +258,7 @@ char *argv[];
filep = startp;
while (1) {
ip = ib;
if (getline() == 0)
if (getline_() == 0)
break;
if (pflag && sfp != stdin)
fprintf(stdout, "%s\n", ip);
@ -301,7 +301,7 @@ char *argv[];
hp = NULL;
radix = 10;
while (getline()) {
while (getline_()) {
ip = ib;
link();
}

View file

@ -1,16 +0,0 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:531: checking for gcc
configure:644: checking whether the C compiler (i586-mingw32msvc-gcc ) works
configure:660: i586-mingw32msvc-gcc -o conftest conftest.c 1>&5
configure:686: checking whether the C compiler (i586-mingw32msvc-gcc ) is a cross-compiler
configure:691: checking whether we are using GNU C
configure:719: checking whether i586-mingw32msvc-gcc accepts -g
configure:757: checking size of char
configure:797: checking size of short
configure:837: checking size of int
configure:877: checking size of long
configure:917: checking size of long long
configure:983: checking type name for byte
configure:987: checking type name for word

View file

@ -1,239 +0,0 @@
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host sapphire:
#
# ./configure --disable-mcs51-port --disable-avr-port --disable-ds390-port --disable-pic-port --disable-i186-port --disable-tlcs900h-port --disable-ucsim --disable-device-lib-build --disable-packihx --prefix=/sdcc --program-suffix=.exe --host=ppc-unknown-linux2.2 --cache-file=.././config.cache --srcdir=.
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
for ac_option
do
case "$ac_option" in
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
echo "running ${CONFIG_SHELL-/bin/sh} ./configure --disable-mcs51-port --disable-avr-port --disable-ds390-port --disable-pic-port --disable-i186-port --disable-tlcs900h-port --disable-ucsim --disable-device-lib-build --disable-packihx --prefix=/sdcc --program-suffix=.exe --host=ppc-unknown-linux2.2 --cache-file=.././config.cache --srcdir=. --no-create --no-recursion"
exec ${CONFIG_SHELL-/bin/sh} ./configure --disable-mcs51-port --disable-avr-port --disable-ds390-port --disable-pic-port --disable-i186-port --disable-tlcs900h-port --disable-ucsim --disable-device-lib-build --disable-packihx --prefix=/sdcc --program-suffix=.exe --host=ppc-unknown-linux2.2 --cache-file=.././config.cache --srcdir=. --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "./config.status generated by autoconf version 2.13"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "$ac_cs_usage"; exit 0 ;;
*) echo "$ac_cs_usage"; exit 1 ;;
esac
done
ac_given_srcdir=.
trap 'rm -fr Makefile config.h conftest*; exit 1' 1 2 15
# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
/^[ ]*VPATH[ ]*=[^:]*$/d
s%@SHELL@%/bin/sh%g
s%@CFLAGS@%-g -O2%g
s%@CPPFLAGS@%%g
s%@CXXFLAGS@%%g
s%@FFLAGS@%%g
s%@DEFS@%-DHAVE_CONFIG_H%g
s%@LDFLAGS@%%g
s%@LIBS@%%g
s%@exec_prefix@%${prefix}%g
s%@prefix@%/sdcc%g
s%@program_transform_name@%s,x,x,%g
s%@bindir@%${exec_prefix}/bin%g
s%@sbindir@%${exec_prefix}/sbin%g
s%@libexecdir@%${exec_prefix}/libexec%g
s%@datadir@%${prefix}/share%g
s%@sysconfdir@%${prefix}/etc%g
s%@sharedstatedir@%${prefix}/com%g
s%@localstatedir@%${prefix}/var%g
s%@libdir@%${exec_prefix}/lib%g
s%@includedir@%${prefix}/include%g
s%@oldincludedir@%/usr/include%g
s%@infodir@%${prefix}/info%g
s%@mandir@%${prefix}/man%g
s%@CC@%i586-mingw32msvc-gcc%g
CEOF
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
if test $ac_beg -gt 1; then
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
else
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
fi
if test ! -s conftest.s$ac_file; then
ac_more_lines=false
rm -f conftest.s$ac_file
else
if test -z "$ac_sed_cmds"; then
ac_sed_cmds="sed -f conftest.s$ac_file"
else
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
fi
ac_file=`expr $ac_file + 1`
ac_beg=$ac_end
ac_end=`expr $ac_end + $ac_max_sed_cmds`
fi
done
if test -z "$ac_sed_cmds"; then
ac_sed_cmds=cat
fi
CONFIG_FILES=${CONFIG_FILES-"Makefile"}
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
# A "../" for each directory in $ac_dir_suffix.
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
else
ac_dir_suffix= ac_dots=
fi
case "$ac_given_srcdir" in
.) srcdir=.
if test -z "$ac_dots"; then top_srcdir=.
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
*) # Relative path.
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
echo creating "$ac_file"
rm -f "$ac_file"
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
case "$ac_file" in
*Makefile*) ac_comsub="1i\\
# $configure_input" ;;
*) ac_comsub= ;;
esac
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_uB='\([ ]\)%\1#\2define\3'
ac_uC=' '
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'
if test "${CONFIG_HEADERS+set}" != set; then
CONFIG_HEADERS="config.h:config_in.h"
fi
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
echo creating $ac_file
rm -f conftest.frag conftest.in conftest.out
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
cat $ac_file_inputs > conftest.in
cat > conftest.frag <<CEOF
${ac_dA}SIZEOF_CHAR${ac_dB}SIZEOF_CHAR${ac_dC}1${ac_dD}
${ac_uA}SIZEOF_CHAR${ac_uB}SIZEOF_CHAR${ac_uC}1${ac_uD}
${ac_eA}SIZEOF_CHAR${ac_eB}SIZEOF_CHAR${ac_eC}1${ac_eD}
${ac_dA}SIZEOF_SHORT${ac_dB}SIZEOF_SHORT${ac_dC}2${ac_dD}
${ac_uA}SIZEOF_SHORT${ac_uB}SIZEOF_SHORT${ac_uC}2${ac_uD}
${ac_eA}SIZEOF_SHORT${ac_eB}SIZEOF_SHORT${ac_eC}2${ac_eD}
${ac_dA}SIZEOF_INT${ac_dB}SIZEOF_INT${ac_dC}4${ac_dD}
${ac_uA}SIZEOF_INT${ac_uB}SIZEOF_INT${ac_uC}4${ac_uD}
${ac_eA}SIZEOF_INT${ac_eB}SIZEOF_INT${ac_eC}4${ac_eD}
${ac_dA}SIZEOF_LONG${ac_dB}SIZEOF_LONG${ac_dC}4${ac_dD}
${ac_uA}SIZEOF_LONG${ac_uB}SIZEOF_LONG${ac_uC}4${ac_uD}
${ac_eA}SIZEOF_LONG${ac_eB}SIZEOF_LONG${ac_eC}4${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}SIZEOF_LONG_LONG${ac_dB}SIZEOF_LONG_LONG${ac_dC}8${ac_dD}
${ac_uA}SIZEOF_LONG_LONG${ac_uB}SIZEOF_LONG_LONG${ac_uC}8${ac_uD}
${ac_eA}SIZEOF_LONG_LONG${ac_eB}SIZEOF_LONG_LONG${ac_eC}8${ac_eD}
${ac_dA}TYPE_BYTE${ac_dB}TYPE_BYTE${ac_dC}char${ac_dD}
${ac_uA}TYPE_BYTE${ac_uB}TYPE_BYTE${ac_uC}char${ac_uD}
${ac_eA}TYPE_BYTE${ac_eB}TYPE_BYTE${ac_eC}char${ac_eD}
${ac_dA}TYPE_WORD${ac_dB}TYPE_WORD${ac_dC}short${ac_dD}
${ac_uA}TYPE_WORD${ac_uB}TYPE_WORD${ac_uC}short${ac_uD}
${ac_eA}TYPE_WORD${ac_eB}TYPE_WORD${ac_eC}short${ac_eD}
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
rm -f conftest.frag conftest.h
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
cat conftest.in >> conftest.h
rm -f conftest.in
if cmp -s $ac_file conftest.h 2>/dev/null; then
echo "$ac_file is unchanged"
rm -f conftest.h
else
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
fi
rm -f $ac_file
mv conftest.h $ac_file
fi
fi; done
exit 0

View file

@ -1,126 +0,0 @@
# Generated automatically from Makefile.in by configure.
#
# uCsim avr.src/Makefile
#
# (c) Drotos Daniel, Talker Bt. 1997
#
STARTYEAR = 1997
SHELL = /bin/sh
CXX = i586-mingw32msvc-g++
CPP = @CPP@
CXXCPP = i586-mingw32msvc-g++ -E
RANLIB = i586-mingw32msvc-ranlib
INSTALL = /usr/bin/install -c
PRJDIR = ..
DEFS = $(subs -DHAVE_CONFIG_H,,-DHAVE_CONFIG_H)
CPPFLAGS = -I. -I$(PRJDIR) \
-I$(PRJDIR)/cmd.src -I$(PRJDIR)/sim.src -I$(PRJDIR)/gui.src
CFLAGS = -Wall
CXXFLAGS = -ggdb -O -pipe -Wall
M_OR_MM = -MM
LIBS = -L$(PRJDIR) -lsim -lcmd -lutil -lguiucsim
prefix = /sdcc
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
libdir = ${exec_prefix}/lib
datadir = ${prefix}/share
includedir = ${prefix}/include
mandir = ${prefix}/man
man1dir = $(mandir)/man1
man2dir = $(mandir)/man2
infodir = ${prefix}/info
srcdir = .
OBJECTS = savr.o glob.o \
simavr.o avr.o port.o \
inst.o bit_inst.o jump_inst.o move_inst.o logic_inst.o \
arith_inst.o
AVRASM = tavrasm
TEST_OBJ = test_bit.hex test_dis.hex test_mov.hex test_jmp.hex \
test_arith.hex test_call.hex
# Compiling entire program or any subproject
# ------------------------------------------
all: checkconf otherlibs avr.src
tests: $(TEST_OBJ)
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
$(INSTALL) -s savr $(bindir)
# Deleting all the installed files
# --------------------------------
uninstall:
rm -f $(bindir)/savr
# Performing self-test
# --------------------
check:
# Performing installation test
# ----------------------------
installcheck:
# Creating installation directories
# ---------------------------------
installdirs:
test -d $(bindir) || $(INSTALL) -d $(bindir)
# Creating dependencies
# ---------------------
dep: Makefile.dep
Makefile.dep: *.cc *.h
$(CXXCPP) $(CPPFLAGS) $(M_OR_MM) *.cc >Makefile.dep
include Makefile.dep
include clean.mk
#parser.cc: parser.y
#plex.cc: plex.l
# My rules
# --------
.SUFFIXES: .asm .hex
avr.src: savr
savr: $(OBJECTS) $(PRJDIR)/*.a
$(CXX) $(CXXFLAGS) -o savr $(OBJECTS) $(LIBS)
otherlibs:
cd $(PRJDIR)/cmd.src && $(MAKE) all
cd $(PRJDIR)/sim.src && $(MAKE) all
.cc.o:
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
.asm.hex:
$(AVRASM) -l $< -o $@ -e $<.lst
# Remaking configuration
# ----------------------
checkconf:
@if [ -f $(PRJDIR)/devel ]; then\
$(MAKE) -f conf.mk srcdir="$(srcdir)" PRJDIR="$(PRJDIR)" freshconf;\
fi
# End of avr.src/Makefile.in

View file

@ -1,119 +0,0 @@
# Generated automatically from Makefile.in by configure.
#
# ucsim cmd.src/Makefile
#
# (c) Drotos Daniel, Talker Bt. 1997
#
STARTYEAR = 1997
SHELL = /bin/sh
CXX = i586-mingw32msvc-g++
CPP = @CPP@
CXXCPP = i586-mingw32msvc-g++ -E
RANLIB = i586-mingw32msvc-ranlib
INSTALL = /usr/bin/install -c
PRJDIR = ..
DEFS = $(subs -DHAVE_CONFIG_H,,-DHAVE_CONFIG_H)
CPPFLAGS = -I. -I$(PRJDIR) \
-I$(PRJDIR)/sim.src -I$(PRJDIR)/gui.src
CFLAGS = -Wall
CXXFLAGS = -ggdb -O -pipe -Wall
M_OR_MM = -MM
prefix = /sdcc
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
libdir = ${exec_prefix}/lib
datadir = ${prefix}/share
includedir = ${prefix}/include
mandir = ${prefix}/man
man1dir = $(mandir)/man1
man2dir = $(mandir)/man2
infodir = ${prefix}/info
srcdir = .
OBJECTS = cmdset.o newcmd.o cmdutil.o syntax.o \
get.o set.o timer.o bp.o info.o show.o cmdgui.o cmdconf.o \
cmduc.o
# Compiling entire program or any subproject
# ------------------------------------------
all: checkconf cmdlib
cmd.src: all
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
# Deleting all the installed files
# --------------------------------
uninstall:
# Performing self-test
# --------------------
check:
# Performing installation test
# ----------------------------
installcheck:
# Creating installation directories
# ---------------------------------
installdirs:
# Creating dependencies
# ---------------------
dep: Makefile.dep
Makefile.dep: *.cc *.h
$(CXXCPP) $(CPPFLAGS) $(M_OR_MM) *.cc >Makefile.dep
include Makefile.dep
include clean.mk
#parser.cc: parser.y
#plex.cc: plex.l
# My rules
# --------
cmdlib: $(PRJDIR)/libcmd.a
$(PRJDIR)/libcmd.a: $(OBJECTS)
$(AR) -rcu $*.a $(OBJECTS)
$(RANLIB) $*.a
.cc.o:
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
.y.cc:
rm -f $*.cc $*.h
$(YACC) -d $<
mv y.tab.c $*.cc
mv y.tab.h $*.h
.l.cc:
rm -f $*.cc
$(LEX) -t $< >$*.cc
# Remaking configuration
# ----------------------
checkconf:
@if [ -f $(PRJDIR)/devel ]; then\
$(MAKE) -f conf.mk srcdir="$(srcdir)" PRJDIR="$(PRJDIR)" freshconf;\
fi
# End of cmd.src/Makefile.in

View file

@ -1,299 +0,0 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:532: checking for mawk
configure:563: checking version of the package
configure:603: checking for c++
configure:635: checking whether the C++ compiler (i586-mingw32msvc-g++ ) works
configure:651: i586-mingw32msvc-g++ -o conftest conftest.C 1>&5
configure:677: checking whether the C++ compiler (i586-mingw32msvc-g++ ) is a cross-compiler
configure:682: checking whether we are using GNU C++
configure:710: checking whether i586-mingw32msvc-g++ accepts -g
configure:742: checking how to run the C++ preprocessor
configure:760: i586-mingw32msvc-g++ -E conftest.C >/dev/null 2>conftest.out
configure:815: checking for a BSD compatible install
configure:870: checking for ranlib
configure:908: checking for strip
configure:944: checking for ANSI C header files
configure:1054: checking for getopt.h
configure:1094: checking for unistd.h
configure:1132: checking for sys/socket.h
configure:1194: checking for dlfcn.h
configure:1204: i586-mingw32msvc-g++ -E conftest.C >/dev/null 2>conftest.out
configure:1200: dlfcn.h: No such file or directory
configure: failed program was:
#line 1199 "configure"
#include "confdefs.h"
#include <dlfcn.h>
configure:1230: checking for dirent.h that defines DIR
configure:1268: checking for opendir in -ldir
configure:1360: checking which header file defines FD_ macros
configure:1400: sys/select.h: No such file or directory
configure:1476: checking for socket in -lsocket
configure:1498: i586-mingw32msvc-g++ -o conftest conftest.C -lsocket 1>&5
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/bin/ld: cannot find -lsocket
configure: failed program was:
#line 1484 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char socket();
int main() {
socket()
; return 0; }
configure:1526: checking for xdr_short in -lnsl
configure:1548: i586-mingw32msvc-g++ -o conftest conftest.C -lnsl 1>&5
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/bin/ld: cannot find -lnsl
configure: failed program was:
#line 1534 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char xdr_short();
int main() {
xdr_short()
; return 0; }
configure:1576: checking for dlopen in -ldl
configure:1598: i586-mingw32msvc-g++ -o conftest conftest.C -ldl 1>&5
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/bin/ld: cannot find -ldl
configure: failed program was:
#line 1584 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dlopen();
int main() {
dlopen()
; return 0; }
configure:1624: checking for panel_above in -lpanel
configure:1646: i586-mingw32msvc-g++ -o conftest conftest.C -lpanel -lcurses 1>&5
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/bin/ld: cannot find -lpanel
configure: failed program was:
#line 1632 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char panel_above();
int main() {
panel_above()
; return 0; }
configure:1669: checking for nl in -lcurses
configure:1691: i586-mingw32msvc-g++ -o conftest conftest.C -lcurses 1>&5
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/bin/ld: cannot find -lcurses
configure: failed program was:
#line 1677 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char nl();
int main() {
nl()
; return 0; }
configure:1722: checking for vprintf
configure:1753: i586-mingw32msvc-g++ -o conftest conftest.C 1>&5
configure:1835: checking for vsnprintf
configure:1866: i586-mingw32msvc-g++ -o conftest conftest.C 1>&5
/tmp/cckvqtD4.o(.text+0xc):conftest.C: undefined reference to `vsnprintf'
configure: failed program was:
#line 1840 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vsnprintf(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char vsnprintf();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
choke me
#else
vsnprintf();
#endif
; return 0; }
configure:1835: checking for vasprintf
configure:1866: i586-mingw32msvc-g++ -o conftest conftest.C 1>&5
/tmp/ccJVHtk5.o(.text+0xc):conftest.C: undefined reference to `vasprintf'
configure: failed program was:
#line 1840 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vasprintf(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char vasprintf();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_vasprintf) || defined (__stub___vasprintf)
choke me
#else
vasprintf();
#endif
; return 0; }
configure:1893: checking for strlen
configure:1893: checking for strcpy
configure:1893: checking for strcat
configure:1893: checking for strstr
configure:1893: checking for strcmp
configure:1893: checking for strerror
configure:1893: checking for strtok
configure:1893: checking for strdup
configure:1951: checking for strchr
configure:1951: checking for memcpy
configure:2009: checking for fgets
configure:2067: checking for yylex
configure:2124: checking whether scanf knows %a
configure:2180: checking whether getcwd is GNUish
configure:2229: checking for type of length pointer parameter of accept
configure:2246: i586-mingw32msvc-g++ -c -DACCEPT_SOCKLEN_T=int conftest.C 1>&5
configure:2240: sys/socket.h: No such file or directory
configure: failed program was:
#line 2238 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
int main() {
struct sockaddr a; int len; accept (0, &a, &len);
; return 0; }
configure:2246: i586-mingw32msvc-g++ -c -DACCEPT_SOCKLEN_T=size_t conftest.C 1>&5
configure:2240: sys/socket.h: No such file or directory
configure: failed program was:
#line 2238 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
int main() {
struct sockaddr a; size_t len; accept (0, &a, &len);
; return 0; }
configure:2246: i586-mingw32msvc-g++ -c -DACCEPT_SOCKLEN_T=socklen_t conftest.C 1>&5
configure:2240: sys/socket.h: No such file or directory
configure: failed program was:
#line 2238 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
int main() {
struct sockaddr a; socklen_t len; accept (0, &a, &len);
; return 0; }
configure:2293: checking whether byte ordering is bigendian
configure:2386: checking whether preprocessor accepts -MM or -M
Reading specs from /usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/specs
gcc version 2.95.2-7 19991024 (cygwin experimental)
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/cpp -lang-c++ -v -MM -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Di386 -D_WIN32 -DWIN32 -D__WIN32__ -D__MINGW32__=0.2 -D__MSVCRT__ -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D_stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386__ -D_WIN32 -D__WIN32__ -D__WIN32__ -D__MINGW32__=0.2 -D__MSVCRT__ -D__WINNT__ -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D___stdcall__=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386 -D__WIN32 -D__WINNT -D___stdcall=__attribute__((__stdcall__)) -Asystem(winnt) -Acpu(i386) -Amachine(i386) -D__EXCEPTIONS -remap -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__ _test_.c
GNU CPP version 2.95.2-7 19991024 (cygwin experimental) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../include/g++-3
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/include
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/include
End of search list.
The following default directories have been omitted from the search path:
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/sys-include
End of omitted list.
_test_.o: _test_.c
configure:2409: checking whether i586-mingw32msvc-g++ accepts -ggdb
Reading specs from /usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/specs
gcc version 2.95.2-7 19991024 (cygwin experimental)
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Di386 -D_WIN32 -DWIN32 -D__WIN32__ -D__MINGW32__=0.2 -D__MSVCRT__ -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D_stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386__ -D_WIN32 -D__WIN32__ -D__WIN32__ -D__MINGW32__=0.2 -D__MSVCRT__ -D__WINNT__ -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D___stdcall__=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386 -D__WIN32 -D__WINNT -D___stdcall=__attribute__((__stdcall__)) -Asystem(winnt) -Acpu(i386) -Amachine(i386) -D__EXCEPTIONS -ggdb -remap -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__ _test_.c /tmp/ccxVSdRq.ii
GNU CPP version 2.95.2-7 19991024 (cygwin experimental) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../include/g++-3
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/include
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/include
End of search list.
The following default directories have been omitted from the search path:
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/sys-include
End of omitted list.
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/cc1plus /tmp/ccxVSdRq.ii -quiet -dumpbase _test_.cc -ggdb -version -o /tmp/cceBBzzI.s
GNU C++ version 2.95.2-7 19991024 (cygwin experimental) (i586-mingw32msvc) compiled by GNU C version 2.95.4 20010319 (Debian prerelease).
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/bin/as -o _test_.o /tmp/cceBBzzI.s
configure:2438: checking whether i586-mingw32msvc-g++ accepts -pipe
Reading specs from /usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/specs
gcc version 2.95.2-7 19991024 (cygwin experimental)
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Di386 -D_WIN32 -DWIN32 -D__WIN32__ -D__MINGW32__=0.2 -D__MSVCRT__ -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D_stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386__ -D_WIN32 -D__WIN32__ -D__WIN32__ -D__MINGW32__=0.2 -D__MSVCRT__ -D__WINNT__ -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D___stdcall__=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386 -D__WIN32 -D__WINNT -D___stdcall=__attribute__((__stdcall__)) -Asystem(winnt) -Acpu(i386) -Amachine(i386) -D__EXCEPTIONS -remap -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__ _test_.c |
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/cc1plus -quiet -dumpbase _test_.cc -version -o - |
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/bin/as -o _test_.o
GNU CPP version 2.95.2-7 19991024 (cygwin experimental) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../include/g++-3
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/include
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/include
End of search list.
The following default directories have been omitted from the search path:
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/sys-include
End of omitted list.
GNU C++ version 2.95.2-7 19991024 (cygwin experimental) (i586-mingw32msvc) compiled by GNU C version 2.95.4 20010319 (Debian prerelease).
configure:2465: checking whether i586-mingw32msvc-g++ accepts -fPIC
Reading specs from /usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/specs
gcc version 2.95.2-7 19991024 (cygwin experimental)
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Di386 -D_WIN32 -DWIN32 -D__WIN32__ -D__MINGW32__=0.2 -D__MSVCRT__ -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D_stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386__ -D_WIN32 -D__WIN32__ -D__WIN32__ -D__MINGW32__=0.2 -D__MSVCRT__ -D__WINNT__ -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D___stdcall__=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386 -D__WIN32 -D__WINNT -D___stdcall=__attribute__((__stdcall__)) -Asystem(winnt) -Acpu(i386) -Amachine(i386) -D__EXCEPTIONS -remap -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__ _test_.c /tmp/ccdSJZWL.ii
GNU CPP version 2.95.2-7 19991024 (cygwin experimental) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../include/g++-3
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/include
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/include
End of search list.
The following default directories have been omitted from the search path:
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/sys-include
End of omitted list.
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/cc1plus /tmp/ccdSJZWL.ii -quiet -dumpbase _test_.cc -version -fPIC -o /tmp/ccsmjMTq.s
cc1plus: warning: -fPIC ignored for target (all code is position independent)
GNU C++ version 2.95.2-7 19991024 (cygwin experimental) (i586-mingw32msvc) compiled by GNU C version 2.95.4 20010319 (Debian prerelease).
/usr/lib/gcc-lib/i586-mingw32msvc/2.95.2-7/../../../../i586-mingw32msvc/bin/as -o _test_.o /tmp/ccsmjMTq.s
gcc version 2.95.2-7 19991024 (cygwin experimental)
configure:2531: checking return type of signal handlers
configure:2572: checking size of char
configure:2615: checking size of short
configure:2658: checking size of int
configure:2701: checking size of long
configure:2744: checking size of long long
configure:2813: checking type name for byte
configure:2817: checking type name for word
configure:2821: checking type name for dword

View file

@ -1,402 +0,0 @@
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host sapphire:
#
# ./configure --disable-mcs51-port --disable-avr-port --disable-ds390-port --disable-pic-port --disable-i186-port --disable-tlcs900h-port --disable-ucsim --disable-device-lib-build --disable-packihx --prefix=/sdcc --program-suffix=.exe --host=ppc-unknown-linux2.2 --cache-file=../.././config.cache --srcdir=.
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
for ac_option
do
case "$ac_option" in
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
echo "running ${CONFIG_SHELL-/bin/sh} ./configure --disable-mcs51-port --disable-avr-port --disable-ds390-port --disable-pic-port --disable-i186-port --disable-tlcs900h-port --disable-ucsim --disable-device-lib-build --disable-packihx --prefix=/sdcc --program-suffix=.exe --host=ppc-unknown-linux2.2 --cache-file=../.././config.cache --srcdir=. --no-create --no-recursion"
exec ${CONFIG_SHELL-/bin/sh} ./configure --disable-mcs51-port --disable-avr-port --disable-ds390-port --disable-pic-port --disable-i186-port --disable-tlcs900h-port --disable-ucsim --disable-device-lib-build --disable-packihx --prefix=/sdcc --program-suffix=.exe --host=ppc-unknown-linux2.2 --cache-file=../.././config.cache --srcdir=. --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "./config.status generated by autoconf version 2.13"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "$ac_cs_usage"; exit 0 ;;
*) echo "$ac_cs_usage"; exit 1 ;;
esac
done
ac_given_srcdir=.
ac_given_INSTALL="/usr/bin/install -c"
trap 'rm -fr main.mk
sim.src/Makefile
cmd.src/Makefile
s51.src/Makefile
avr.src/Makefile
z80.src/Makefile
gui.src/Makefile
gui.src/serio.src/Makefile
doc/Makefile
ddconfig.h conftest*; exit 1' 1 2 15
# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
/^[ ]*VPATH[ ]*=[^:]*$/d
s%@SHELL@%/bin/sh%g
s%@CFLAGS@%%g
s%@CPPFLAGS@%%g
s%@CXXFLAGS@%-ggdb -O -pipe%g
s%@FFLAGS@%%g
s%@DEFS@%-DHAVE_CONFIG_H%g
s%@LDFLAGS@%%g
s%@LIBS@%%g
s%@exec_prefix@%${prefix}%g
s%@prefix@%/sdcc%g
s%@program_transform_name@%s,x,x,%g
s%@bindir@%${exec_prefix}/bin%g
s%@sbindir@%${exec_prefix}/sbin%g
s%@libexecdir@%${exec_prefix}/libexec%g
s%@datadir@%${prefix}/share%g
s%@sysconfdir@%${prefix}/etc%g
s%@sharedstatedir@%${prefix}/com%g
s%@localstatedir@%${prefix}/var%g
s%@libdir@%${exec_prefix}/lib%g
s%@includedir@%${prefix}/include%g
s%@oldincludedir@%/usr/include%g
s%@infodir@%${prefix}/info%g
s%@mandir@%${prefix}/man%g
s%@AWK@%mawk%g
s%@VERSION@%0.3.2-pre1%g
s%@VERSIONHI@%0%g
s%@VERSIONLO@%3%g
s%@VERSIONP@%2-pre1%g
s%@CXX@%i586-mingw32msvc-g++%g
s%@CXXCPP@%i586-mingw32msvc-g++ -E%g
s%@INSTALL_PROGRAM@%${INSTALL}%g
s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g
s%@INSTALL_DATA@%${INSTALL} -m 644%g
s%@RANLIB@%i586-mingw32msvc-ranlib%g
s%@STRIP@%i586-mingw32msvc-strip%g
s%@dl_ok@%no%g
s%@DL@%%g
s%@panel_ok@%no%g
s%@curses_ok@%%g
s%@CURSES_LIBS@%%g
s%@M_OR_MM@%-MM%g
s%@SHAREDLIB@%no%g
s%@PICOPT@%%g
CEOF
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
if test $ac_beg -gt 1; then
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
else
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
fi
if test ! -s conftest.s$ac_file; then
ac_more_lines=false
rm -f conftest.s$ac_file
else
if test -z "$ac_sed_cmds"; then
ac_sed_cmds="sed -f conftest.s$ac_file"
else
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
fi
ac_file=`expr $ac_file + 1`
ac_beg=$ac_end
ac_end=`expr $ac_end + $ac_max_sed_cmds`
fi
done
if test -z "$ac_sed_cmds"; then
ac_sed_cmds=cat
fi
CONFIG_FILES=${CONFIG_FILES-"main.mk:main_in.mk
sim.src/Makefile
cmd.src/Makefile
s51.src/Makefile
avr.src/Makefile
z80.src/Makefile
gui.src/Makefile
gui.src/serio.src/Makefile
doc/Makefile
"}
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
# A "../" for each directory in $ac_dir_suffix.
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
else
ac_dir_suffix= ac_dots=
fi
case "$ac_given_srcdir" in
.) srcdir=.
if test -z "$ac_dots"; then top_srcdir=.
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
*) # Relative path.
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
case "$ac_given_INSTALL" in
[/$]*) INSTALL="$ac_given_INSTALL" ;;
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
esac
echo creating "$ac_file"
rm -f "$ac_file"
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
case "$ac_file" in
*Makefile*) ac_comsub="1i\\
# $configure_input" ;;
*) ac_comsub= ;;
esac
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_uB='\([ ]\)%\1#\2define\3'
ac_uC=' '
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'
if test "${CONFIG_HEADERS+set}" != set; then
CONFIG_HEADERS="ddconfig.h:ddconfig_in.h"
fi
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
echo creating $ac_file
rm -f conftest.frag conftest.in conftest.out
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
cat $ac_file_inputs > conftest.in
cat > conftest.frag <<CEOF
${ac_dA}VERSIONSTR${ac_dB}VERSIONSTR${ac_dC}"0.3.2-pre1"${ac_dD}
${ac_uA}VERSIONSTR${ac_uB}VERSIONSTR${ac_uC}"0.3.2-pre1"${ac_uD}
${ac_eA}VERSIONSTR${ac_eB}VERSIONSTR${ac_eC}"0.3.2-pre1"${ac_eD}
${ac_dA}VERSIONHI${ac_dB}VERSIONHI${ac_dC}0${ac_dD}
${ac_uA}VERSIONHI${ac_uB}VERSIONHI${ac_uC}0${ac_uD}
${ac_eA}VERSIONHI${ac_eB}VERSIONHI${ac_eC}0${ac_eD}
${ac_dA}VERSIONLO${ac_dB}VERSIONLO${ac_dC}3${ac_dD}
${ac_uA}VERSIONLO${ac_uB}VERSIONLO${ac_uC}3${ac_uD}
${ac_eA}VERSIONLO${ac_eB}VERSIONLO${ac_eC}3${ac_eD}
${ac_dA}VERSIONP${ac_dB}VERSIONP${ac_dC}2-pre1${ac_dD}
${ac_uA}VERSIONP${ac_uB}VERSIONP${ac_uC}2-pre1${ac_uD}
${ac_eA}VERSIONP${ac_eB}VERSIONP${ac_eC}2-pre1${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_DIRENT_H${ac_dB}HAVE_DIRENT_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_DIRENT_H${ac_uB}HAVE_DIRENT_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_DIRENT_H${ac_eB}HAVE_DIRENT_H${ac_eC}1${ac_eD}
${ac_dA}FD_HEADER_OK${ac_dB}FD_HEADER_OK${ac_dC}0${ac_dD}
${ac_uA}FD_HEADER_OK${ac_uB}FD_HEADER_OK${ac_uC}0${ac_uD}
${ac_eA}FD_HEADER_OK${ac_eB}FD_HEADER_OK${ac_eC}0${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}FD_NEED_TIME_H${ac_dB}FD_NEED_TIME_H${ac_dC}0${ac_dD}
${ac_uA}FD_NEED_TIME_H${ac_uB}FD_NEED_TIME_H${ac_uC}0${ac_uD}
${ac_eA}FD_NEED_TIME_H${ac_eB}FD_NEED_TIME_H${ac_eC}0${ac_eD}
${ac_dA}FD_NEED_TYPES_H${ac_dB}FD_NEED_TYPES_H${ac_dC}0${ac_dD}
${ac_uA}FD_NEED_TYPES_H${ac_uB}FD_NEED_TYPES_H${ac_uC}0${ac_uD}
${ac_eA}FD_NEED_TYPES_H${ac_eB}FD_NEED_TYPES_H${ac_eC}0${ac_eD}
${ac_dA}FD_NEED_SELECT_H${ac_dB}FD_NEED_SELECT_H${ac_dC}0${ac_dD}
${ac_uA}FD_NEED_SELECT_H${ac_uB}FD_NEED_SELECT_H${ac_uC}0${ac_uD}
${ac_eA}FD_NEED_SELECT_H${ac_eB}FD_NEED_SELECT_H${ac_eC}0${ac_eD}
${ac_dA}HEADER_FD${ac_dB}HEADER_FD${ac_dC}unknown${ac_dD}
${ac_uA}HEADER_FD${ac_uB}HEADER_FD${ac_uC}unknown${ac_uD}
${ac_eA}HEADER_FD${ac_eB}HEADER_FD${ac_eC}unknown${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}HAVE_VPRINTF${ac_dB}HAVE_VPRINTF${ac_dC}1${ac_dD}
${ac_uA}HAVE_VPRINTF${ac_uB}HAVE_VPRINTF${ac_uC}1${ac_uD}
${ac_eA}HAVE_VPRINTF${ac_eB}HAVE_VPRINTF${ac_eC}1${ac_eD}
${ac_dA}HAVE_STRLEN${ac_dB}HAVE_STRLEN${ac_dC}1${ac_dD}
${ac_uA}HAVE_STRLEN${ac_uB}HAVE_STRLEN${ac_uC}1${ac_uD}
${ac_eA}HAVE_STRLEN${ac_eB}HAVE_STRLEN${ac_eC}1${ac_eD}
${ac_dA}HAVE_STRCPY${ac_dB}HAVE_STRCPY${ac_dC}1${ac_dD}
${ac_uA}HAVE_STRCPY${ac_uB}HAVE_STRCPY${ac_uC}1${ac_uD}
${ac_eA}HAVE_STRCPY${ac_eB}HAVE_STRCPY${ac_eC}1${ac_eD}
${ac_dA}HAVE_STRCAT${ac_dB}HAVE_STRCAT${ac_dC}1${ac_dD}
${ac_uA}HAVE_STRCAT${ac_uB}HAVE_STRCAT${ac_uC}1${ac_uD}
${ac_eA}HAVE_STRCAT${ac_eB}HAVE_STRCAT${ac_eC}1${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}HAVE_STRSTR${ac_dB}HAVE_STRSTR${ac_dC}1${ac_dD}
${ac_uA}HAVE_STRSTR${ac_uB}HAVE_STRSTR${ac_uC}1${ac_uD}
${ac_eA}HAVE_STRSTR${ac_eB}HAVE_STRSTR${ac_eC}1${ac_eD}
${ac_dA}HAVE_STRCMP${ac_dB}HAVE_STRCMP${ac_dC}1${ac_dD}
${ac_uA}HAVE_STRCMP${ac_uB}HAVE_STRCMP${ac_uC}1${ac_uD}
${ac_eA}HAVE_STRCMP${ac_eB}HAVE_STRCMP${ac_eC}1${ac_eD}
${ac_dA}HAVE_STRERROR${ac_dB}HAVE_STRERROR${ac_dC}1${ac_dD}
${ac_uA}HAVE_STRERROR${ac_uB}HAVE_STRERROR${ac_uC}1${ac_uD}
${ac_eA}HAVE_STRERROR${ac_eB}HAVE_STRERROR${ac_eC}1${ac_eD}
${ac_dA}HAVE_STRTOK${ac_dB}HAVE_STRTOK${ac_dC}1${ac_dD}
${ac_uA}HAVE_STRTOK${ac_uB}HAVE_STRTOK${ac_uC}1${ac_uD}
${ac_eA}HAVE_STRTOK${ac_eB}HAVE_STRTOK${ac_eC}1${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}HAVE_STRDUP${ac_dB}HAVE_STRDUP${ac_dC}1${ac_dD}
${ac_uA}HAVE_STRDUP${ac_uB}HAVE_STRDUP${ac_uC}1${ac_uD}
${ac_eA}HAVE_STRDUP${ac_eB}HAVE_STRDUP${ac_eC}1${ac_eD}
${ac_dA}HAVE_STRCHR${ac_dB}HAVE_STRCHR${ac_dC}1${ac_dD}
${ac_uA}HAVE_STRCHR${ac_uB}HAVE_STRCHR${ac_uC}1${ac_uD}
${ac_eA}HAVE_STRCHR${ac_eB}HAVE_STRCHR${ac_eC}1${ac_eD}
${ac_dA}HAVE_MEMCPY${ac_dB}HAVE_MEMCPY${ac_dC}1${ac_dD}
${ac_uA}HAVE_MEMCPY${ac_uB}HAVE_MEMCPY${ac_uC}1${ac_uD}
${ac_eA}HAVE_MEMCPY${ac_eB}HAVE_MEMCPY${ac_eC}1${ac_eD}
${ac_dA}HAVE_FGETS${ac_dB}HAVE_FGETS${ac_dC}1${ac_dD}
${ac_uA}HAVE_FGETS${ac_uB}HAVE_FGETS${ac_uC}1${ac_uD}
${ac_eA}HAVE_FGETS${ac_eB}HAVE_FGETS${ac_eC}1${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}RETSIGTYPE${ac_dB}RETSIGTYPE${ac_dC}void${ac_dD}
${ac_uA}RETSIGTYPE${ac_uB}RETSIGTYPE${ac_uC}void${ac_uD}
${ac_eA}RETSIGTYPE${ac_eB}RETSIGTYPE${ac_eC}void${ac_eD}
${ac_dA}SIZEOF_CHAR${ac_dB}SIZEOF_CHAR${ac_dC}1${ac_dD}
${ac_uA}SIZEOF_CHAR${ac_uB}SIZEOF_CHAR${ac_uC}1${ac_uD}
${ac_eA}SIZEOF_CHAR${ac_eB}SIZEOF_CHAR${ac_eC}1${ac_eD}
${ac_dA}SIZEOF_SHORT${ac_dB}SIZEOF_SHORT${ac_dC}2${ac_dD}
${ac_uA}SIZEOF_SHORT${ac_uB}SIZEOF_SHORT${ac_uC}2${ac_uD}
${ac_eA}SIZEOF_SHORT${ac_eB}SIZEOF_SHORT${ac_eC}2${ac_eD}
${ac_dA}SIZEOF_INT${ac_dB}SIZEOF_INT${ac_dC}4${ac_dD}
${ac_uA}SIZEOF_INT${ac_uB}SIZEOF_INT${ac_uC}4${ac_uD}
${ac_eA}SIZEOF_INT${ac_eB}SIZEOF_INT${ac_eC}4${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}SIZEOF_LONG${ac_dB}SIZEOF_LONG${ac_dC}4${ac_dD}
${ac_uA}SIZEOF_LONG${ac_uB}SIZEOF_LONG${ac_uC}4${ac_uD}
${ac_eA}SIZEOF_LONG${ac_eB}SIZEOF_LONG${ac_eC}4${ac_eD}
${ac_dA}SIZEOF_LONG_LONG${ac_dB}SIZEOF_LONG_LONG${ac_dC}4${ac_dD}
${ac_uA}SIZEOF_LONG_LONG${ac_uB}SIZEOF_LONG_LONG${ac_uC}4${ac_uD}
${ac_eA}SIZEOF_LONG_LONG${ac_eB}SIZEOF_LONG_LONG${ac_eC}4${ac_eD}
${ac_dA}TYPE_BYTE${ac_dB}TYPE_BYTE${ac_dC}char${ac_dD}
${ac_uA}TYPE_BYTE${ac_uB}TYPE_BYTE${ac_uC}char${ac_uD}
${ac_eA}TYPE_BYTE${ac_eB}TYPE_BYTE${ac_eC}char${ac_eD}
${ac_dA}TYPE_WORD${ac_dB}TYPE_WORD${ac_dC}short${ac_dD}
${ac_uA}TYPE_WORD${ac_uB}TYPE_WORD${ac_uC}short${ac_uD}
${ac_eA}TYPE_WORD${ac_eB}TYPE_WORD${ac_eC}short${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}TYPE_DWORD${ac_dB}TYPE_DWORD${ac_dC}int${ac_dD}
${ac_uA}TYPE_DWORD${ac_uB}TYPE_DWORD${ac_uC}int${ac_uD}
${ac_eA}TYPE_DWORD${ac_eB}TYPE_DWORD${ac_eC}int${ac_eD}
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
rm -f conftest.frag conftest.h
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
cat conftest.in >> conftest.h
rm -f conftest.in
if cmp -s $ac_file conftest.h 2>/dev/null; then
echo "$ac_file is unchanged"
rm -f conftest.h
else
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
fi
rm -f $ac_file
mv conftest.h $ac_file
fi
fi; done
exit 0

View file

@ -1,104 +0,0 @@
/* ddconfig.h. Generated automatically by configure. */
/*
* Simulator of microcontrollers (ddconfig.h)
*
* Copyright (C) 1999,99 Drotos Daniel, Talker Bt.
*
* To contact author send email to drdani@mazsola.iit.uni-miskolc.hu
*
*/
/* This file is part of microcontroller simulator: ucsim.
UCSIM is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
UCSIM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with UCSIM; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
/*@1@*/
#ifndef DDCONFIG_HEADER
#define DDCONFIG_HEADER
#define DD_TRUE 1
#define DD_FALSE 0
#define bool int
#define STDC_HEADERS 1
/* #undef HAVE_GETOPT_H */
#define HAVE_UNISTD_H 1
#define HAVE_DIRENT_H 1
/* #undef HAVE_SYS_NDIR_H */
/* #undef HAVE_SYS_DIR_H */
/* #undef HAVE_SYS_SOCKET_H */
/* #undef HAVE_NDIR_H */
/* #undef HAVE_DLFCN_H */
/* #undef SOCKET_AVAIL */
/* #undef SOCKLEN_T */
#define FD_NEED_TIME_H 0
#define FD_NEED_TYPES_H 0
#define FD_NEED_SELECT_H 0
#define HEADER_FD unknown
#define FD_HEADER_OK 0
/* #undef SCANF_A */
/* #undef GNU_GETCWD */
#define HAVE_STRLEN 1
#define HAVE_STRCPY 1
#define HAVE_STRCAT 1
#define HAVE_STRSTR 1
#define HAVE_STRCMP 1
#define HAVE_STRERROR 1
#define HAVE_STRTOK 1
#define HAVE_STRDUP 1
#define HAVE_STRCHR 1
#define HAVE_MEMCPY 1
#define HAVE_VPRINTF 1
/* #undef HAVE_DOPRNT */
/* #undef HAVE_VSNPRINTF */
/* #undef HAVE_VASPRINTF */
/* #undef HAVE_GETLINE */
/* #undef HAVE_GETDELIM */
#define HAVE_FGETS 1
/* #undef HAVE_YYLEX */
#define RETSIGTYPE void
#define SIZEOF_CHAR 1
#define SIZEOF_SHORT 2
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 4
#define TYPE_BYTE char
#define TYPE_WORD short
#define TYPE_DWORD int
#define TYPE_UBYTE unsigned TYPE_BYTE
#define TYPE_UWORD unsigned TYPE_WORD
#define TYPE_UDWORD unsigned TYPE_DWORD
/* #undef WORDS_BIGENDIAN */
#define VERSIONSTR "0.3.2-pre1"
#define VERSIONHI 0
#define VERSIONLO 3
#define VERSIONP 2-pre1
/* #undef ACCEPT_SOCKLEN_T */
#endif
/* End of ddconfig.h */

View file

@ -1,80 +0,0 @@
# Generated automatically from Makefile.in by configure.
#
# uCsim doc/Makefile
#
# (c) Drotos Daniel, Talker Bt. 1997
#
STARTYEAR = 1997
SHELL = /bin/sh
INSTALL = /usr/bin/install -c
PRJDIR = ..
prefix = /sdcc
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
libdir = ${exec_prefix}/lib
datadir = ${prefix}/share
includedir = ${prefix}/include
mandir = ${prefix}/man
man1dir = $(mandir)/man1
man2dir = $(mandir)/man2
infodir = ${prefix}/info
srcdir = .
docdir = $(prefix)/doc/ucsim
# Compiling entire program or any subproject
# ------------------------------------------
all: doc
doc: checkconf
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
cp *.html $(docdir)
cp *.gif $(docdir)
cp *.jpg $(docdir)
cp *.fig $(docdir)
# Deleting all the installed files
# --------------------------------
uninstall:
rm -f $(docdir)/*
# Performing self-test
# --------------------
check:
# Performing installation test
# ----------------------------
installcheck:
# Creating installation directories
# ---------------------------------
installdirs:
test -d $(docdir) || $(INSTALL) -d $(docdir)
# Creating dependencies
# ---------------------
include clean.mk
# My rules
# --------
# Remaking configuration
# ----------------------
checkconf:
@if [ -f $(PRJDIR)/devel ]; then\
$(MAKE) -f conf.mk srcdir="$(srcdir)" PRJDIR="$(PRJDIR)" freshconf;\
fi
# End of s51.src/Makefile.in

View file

@ -1,159 +0,0 @@
# Generated automatically from Makefile.in by configure.
#
# uCsim gui.src/Makefile
#
# (c) Drotos Daniel, Talker Bt. 1999
#
SHELL = /bin/sh
CXX = i586-mingw32msvc-g++
CPP = @CPP@
CXXCPP = i586-mingw32msvc-g++ -E
RANLIB = i586-mingw32msvc-ranlib
INSTALL = /usr/bin/install -c
PRJDIR = ..
DEFS = $(subs -DHAVE_CONFIG_H,,-DHAVE_CONFIG_H)
CPPFLAGS = -I. -I$(PRJDIR) \
-I$(PRJDIR)/sim.src -I$(PRJDIR)/cmd.src
CFLAGS = -Wall
CXXFLAGS = -ggdb -O -pipe -Wall
M_OR_MM = -MM
LIBS = -L$(PRJDIR)
curses_ok =
prefix = /sdcc
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
libdir = ${exec_prefix}/lib
datadir = ${prefix}/share
includedir = ${prefix}/include
mandir = ${prefix}/man
man1dir = $(mandir)/man1
man2dir = $(mandir)/man2
infodir = ${prefix}/info
srcdir = .
PKGS =
CURSES_PKGS = serio.src
# Common code
OBJECTS = rec.o
SOURCES = $(patsubst %.o,%.cc,$(OBJECTS))
# uCsim only
UCSIM_OBJECTS = gui.o if.o
UCSIM_SOURCES = $(patsubst %.o,%.cc,$(UCSIM_OBJECTS))
# Tool only
TOOL_OBJECTS =
TOOL_SOURCES = $(patsubst %.o,%.cc,$(TOOL_OBJECTS))
ALL_SOURCES = $(SOURCES) $(UCSIM_SOURCES) $(TOOL_SOURCES)
# Compiling entire program or any subproject
# ------------------------------------------
all: gui.src
gui.src: checkconf gui_api
ifeq ($(curses_ok),yes)
@for pkg in $(CURSES_PKGS); do\
$(MAKE) -C $$pkg $$pkg ;\
done
endif
# @for pkg in $(PKGS); do\
# $(MAKE) -C $$pkg $$pkg ;\
# done
gui_api: ucsim_lib tool_lib
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: install_gui_api
@for pkg in $(PKGS); do\
cd $$pkg && $(MAKE) install ; cd ..;\
done
install_gui_api:
# Deleting all the installed files
# --------------------------------
uninstall: uninstall_gui_api
@for pkg in $(PKGS); do\
cd $$pkg && $(MAKE) uninstall ; cd ..;\
done
uninstall_gui_api:
# Performing self-test
# --------------------
check: check_gui_api
@for pkg in $(PKGS); do\
cd $$pkg && $(MAKE) check ; cd ..;\
done
check_gui_api:
# Performing installation test
# ----------------------------
installcheck: installcheck_gui_api
@for pkg in $(PKGS); do\
cd $$pkg && $(MAKE) installcheck ; cd ..;\
done
installcheck_gui_api:
# Creating installation directories
# ---------------------------------
installdirs:
@for pkg in $(PKGS); do\
cd $$pkg && $(MAKE) installdirs ; cd ..;\
done
# Creating dependencies
# ---------------------
dep: Makefile.dep
Makefile.dep: $(ALL_SOURCES) *.h
$(CXXCPP) -MM $(CPPFLAGS) $(M_OR_MM) $(ALL_SOURCES) >Makefile.dep
include Makefile.dep
include clean.mk
# My rules
# --------
ucsim_lib: $(PRJDIR)/libguiucsim.a
$(PRJDIR)/libguiucsim.a: $(OBJECTS) $(UCSIM_OBJECTS)
$(AR) -rcu $*.a $(OBJECTS) $(UCSIM_OBJECTS)
$(RANLIB) $*.a
tool_lib: $(PRJDIR)/libguitool.a
$(PRJDIR)/libguitool.a: $(OBJECTS) $(TOOL_OBJECTS)
$(AR) -rcu $*.a $(OBJECTS) $(TOOL_OBJECTS)
$(RANLIB) $*.a
.cc.o:
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< -o $@
# Remaking configuration
# ----------------------
checkconf:
@if [ -f $(PRJDIR)/devel ]; then\
$(MAKE) -f conf.mk srcdir="$(srcdir)" PRJDIR="$(PRJDIR)" freshconf;\
fi
# End of gui.src/Makefile

View file

@ -1,103 +0,0 @@
# Generated automatically from Makefile.in by configure.
# Makefile for kano-networks talker
SHELL = /bin/sh
CXX = i586-mingw32msvc-g++
CXXCPP = i586-mingw32msvc-g++ -E
INSTALL = /usr/bin/install -c
CP = /bin/cp
PRJDIR = ../..
DEFS = $(subs -DHAVE_CONFIG_H,,-DHAVE_CONFIG_H)
CPPFLAGS = -I. -I$(PRJDIR)
# -I$(PRJDIR)/cmd.src -I$(PRJDIR)/sim.src
CFLAGS = -Wall
CXXFLAGS = -ggdb -O -pipe -Wall
M_OR_MM = -MM
LIBS =
curses_ok =
prefix = /sdcc
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
libdir = ${exec_prefix}/lib
datadir = ${prefix}/share
includedir = ${prefix}/include
mandir = ${prefix}/man
man1dir = $(mandir)/man1
man2dir = $(mandir)/man2
infodir = ${prefix}/info
srcdir = .
OBJECTS = main.o fileio.o frontend.o posix_signal.o
# Compiling entire program or any subproject
# ------------------------------------------
all: serio.src
ifeq ($(curses_ok),yes)
serio.src: checkconf serialview
else
serio.src: checkconf
endif
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
$(INSTALL) -s serialview $(bindir)
# Deleting all the installed files
# --------------------------------
uninstall:
rm -f $(bindir)/serialview
# Performing self-test
# --------------------
check:
# Performing installation test
# ----------------------------
installcheck:
# Creating installation directories
# ---------------------------------
installdirs:
test -d $(bindir) || $(INSTALL) -d $(bindir)
# Creating dependencies
# ---------------------
dep: Makefile.dep
Makefile.dep: *.cc *.h *.hh
$(CXXCPP) $(CPPFLAGS) $(M_OR_MM) *.cc >Makefile.dep
include Makefile.dep
include clean.mk
# My rules
# --------
serialview: $(OBJECTS)
$(CXX) -o $@ $(OBJECTS) $(LIBS)
.cc.o:
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< -o $@
# Remaking configuration
# ----------------------
checkconf:
@if [ -f $(PRJDIR)/devel ]; then\
$(MAKE) -f conf.mk srcdir="$(srcdir)" PRJDIR="$(PRJDIR)" freshconf;\
fi
# End of gui.src/serio.src/Makefile.in

View file

@ -1,134 +0,0 @@
#
# S51 main.mk
#
# (c) Drotos Daniel, Talker Bt. 1997,99
#
STARTYEAR = 1997
SHELL = /bin/sh
CXX = i586-mingw32msvc-g++
#CPP = @CPP@
CXXCPP = i586-mingw32msvc-g++ -E
RANLIB = i586-mingw32msvc-ranlib
INSTALL = /usr/bin/install -c
PRJDIR = .
SIMDIR = sim.src
DEFS = $(subs -DHAVE_CONFIG_H,,-DHAVE_CONFIG_H)
# FIXME: -Imcs51 must be removed!!!
CPPFLAGS = -I$(PRJDIR) -I$(PRJDIR)/$(SIMDIR)
CFLAGS = -I$(PRJDIR) -Wall
CXXFLAGS = -ggdb -O -pipe -I$(PRJDIR) -Wall
M_OR_MM = -MM
LIB_LIST = sim cmd sim util
UCSIM_LIBS = $(patsubst %,-l%,$(LIB_LIST))
UCSIM_LIB_FILES = $(patsubst %,lib%.a,$(LIB_LIST))
LIBS =
prefix = /sdcc
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
libdir = ${exec_prefix}/lib
datadir = ${prefix}/share
includedir = ${prefix}/include
mandir = ${prefix}/man
man1dir = $(mandir)/man1
man2dir = $(mandir)/man2
infodir = ${prefix}/info
srcdir = .
OBJECTS = pobj.o globals.o utils.o
SOURCES = $(patsubst %.o,%.cc,$(OBJECTS))
UCSIM_OBJECTS = ucsim.o
UCSIM_SOURCES = $(patsubst %.o,%.cc,$(UCSIM_OBJECTS))
ALL_SOURCES = $(SOURCES) $(UCSIM_SOURCES)
# Compiling entire program or any subproject
# ------------------------------------------
all: checkconf libs
libs: libutil.a
main_app: checkconf ucsim_app
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
# Deleting all the installed files
# --------------------------------
uninstall:
rm -f $(bindir)/s51
rm -f $(bindir)/savr
rm -f $(bindir)/serialview
rm -f $(bindir)/portmon
# Performing self-test
# --------------------
check:
# Performing installation test
# ----------------------------
installcheck:
# Creating installation directories
# ---------------------------------
installdirs:
# Creating dependencies
# ---------------------
dep: main.dep
main.dep: $(ALL_SOURCES) *.h
$(CXXCPP) $(CPPFLAGS) $(M_OR_MM) $(ALL_SOURCES) >main.dep
include main.dep
include clean.mk
#parser.cc: parser.y
#plex.cc: plex.l
# My rules
# --------
libutil.a: $(OBJECTS)
$(AR) -rcu $*.a $(OBJECTS)
$(RANLIB) $*.a
ucsim_app: libs ucsim
ucsim: $(UCSIM_OBJECTS) $(UCSIM_LIB_FILES)
$(CXX) $(CXXFLAGS) -o $@ $< -L$(PRJDIR) $(UCSIM_LIBS) $(LIBS)
.cc.o:
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
.y.cc:
rm -f $*.cc $*.h
$(YACC) -d $<
mv y.tab.c $*.cc
mv y.tab.h $*.h
.l.cc:
rm -f $*.cc
$(LEX) -t $< >$*.cc
# Remaking configuration
# ----------------------
checkconf:
@if [ -f devel ]; then\
echo "MAIN.MK checkconf";\
$(MAKE) -f conf.mk srcdir="$(srcdir)" freshconf;\
fi
# End of main_in.mk/main.mk

View file

@ -1,149 +0,0 @@
# Generated automatically from Makefile.in by configure.
#
# uCsim s51.src/Makefile
#
# (c) Drotos Daniel, Talker Bt. 1997
#
STARTYEAR = 1997
SHELL = /bin/sh
CXX = i586-mingw32msvc-g++
CPP = @CPP@
CXXCPP = i586-mingw32msvc-g++ -E
RANLIB = i586-mingw32msvc-ranlib
INSTALL = /usr/bin/install -c
STRIP = i586-mingw32msvc-strip
PRJDIR = ..
DEFS = $(subs -DHAVE_CONFIG_H,,-DHAVE_CONFIG_H)
CPPFLAGS = -I. -I$(PRJDIR) \
-I$(PRJDIR)/cmd.src -I$(PRJDIR)/sim.src -I$(PRJDIR)/gui.src
CFLAGS = -Wall
CXXFLAGS = -ggdb -O -pipe -Wall
M_OR_MM = -MM
PICOPT =
SHAREDLIB = no
SDCC = sdcc
SDCFLAGS = --debug --stack-after-data --model-small
SDCPPFLAGS =
LIBS = -L$(PRJDIR) -lsim -lcmd -lguiucsim -lutil
DL =
dl_ok = no
prefix = /sdcc
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
libdir = ${exec_prefix}/lib
datadir = ${prefix}/share
includedir = ${prefix}/include
mandir = ${prefix}/man
man1dir = $(mandir)/man1
man2dir = $(mandir)/man2
infodir = ${prefix}/info
srcdir = .
OBJECTS_SHARED = glob.o sim51.o \
inc.o jmp.o mov.o logic.o arith.o bit.o \
timer0.o timer1.o timer2.o serial.o port.o interrupt.o \
uc51.o uc52.o uc51r.o uc89c51r.o uc251.o uc390.o
OBJECTS_EXE = s51.o
OBJECTS = $(OBJECTS_SHARED) $(OBJECTS_EXE)
# Compiling entire program or any subproject
# ------------------------------------------
all: checkconf otherlibs s51.src
tests: test_ser.ihx
test_ser.ihx: test_ser.rel
$(SDCC) $(SDCFLAGS) $<
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
if test -f s51.exe; then $(INSTALL) s51.exe $(bindir); $(STRIP) $(bindir)/s51.exe; fi
if test -f s51; then $(INSTALL) s51 $(bindir); $(STRIP) $(bindir)/s51; fi
# Deleting all the installed files
# --------------------------------
uninstall:
rm -f $(bindir)/s51
# Performing self-test
# --------------------
check:
# Performing installation test
# ----------------------------
installcheck:
# Creating installation directories
# ---------------------------------
installdirs:
test -d $(bindir) || $(INSTALL) -d $(bindir)
# Creating dependencies
# ---------------------
dep: Makefile.dep
Makefile.dep: *.cc *.h
$(CXXCPP) $(CPPFLAGS) $(M_OR_MM) *.cc >Makefile.dep
include Makefile.dep
include clean.mk
#parser.cc: parser.y
#plex.cc: plex.l
# My rules
# --------
.SUFFIXES: .rel
s51.src: s51 shared_lib
s51: $(OBJECTS) $(PRJDIR)/*.a
$(CXX) $(CXXFLAGS) -o s51 $(OBJECTS) $(LIBS)
ifeq ($(SHAREDLIB),yes)
shared_lib: $(PRJDIR)/s51.so
else
shared_lib:
@echo "No shared lib made."
endif
$(PRJDIR)/s51.so: $(OBJECTS_SHARED)
$(CXX) -shared $(OBJECTS_SHARED) -o $(PRJDIR)/s51.so
otherlibs:
cd $(PRJDIR)/cmd.src && $(MAKE) all
cd $(PRJDIR)/sim.src && $(MAKE) all
$(MAKE) -C $(PRJDIR)/gui.src checkconf ucsim_lib
.cc.o:
$(CXX) $(CXXFLAGS) $(PICOPT) $(CPPFLAGS) -c $< -o $@
.c.rel:
$(SDCC) $(SDCFLAGS) $(SDCPPFLAGS) -c $<
# Remaking configuration
# ----------------------
checkconf:
@if [ -f $(PRJDIR)/devel ]; then\
$(MAKE) -f conf.mk srcdir="$(srcdir)" PRJDIR="$(PRJDIR)" freshconf;\
fi
# End of s51.src/Makefile.in

View file

@ -1,123 +0,0 @@
# Generated automatically from Makefile.in by configure.
#
# S51 sim.src/Makefile
#
# (c) Drotos Daniel, Talker Bt. 1997,99
#
STARTYEAR = 1997
SHELL = /bin/sh
CXX = i586-mingw32msvc-g++
CPP = @CPP@
CXXCPP = i586-mingw32msvc-g++ -E
RANLIB = i586-mingw32msvc-ranlib
INSTALL = /usr/bin/install -c
PRJDIR = ..
DEFS = $(subs -DHAVE_CONFIG_H,,-DHAVE_CONFIG_H)
CPPFLAGS = -I. -I$(PRJDIR) \
-I$(PRJDIR)/cmd.src -I$(PRJDIR)/gui.src
CFLAGS = -Wall
CXXFLAGS = -ggdb -O -pipe -Wall
M_OR_MM = -MM
prefix = /sdcc
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
libdir = ${exec_prefix}/lib
datadir = ${prefix}/share
includedir = ${prefix}/include
mandir = ${prefix}/man
man1dir = $(mandir)/man1
man2dir = $(mandir)/man2
infodir = ${prefix}/info
srcdir = .
OBJECTS = app.o sim.o itsrc.o brk.o option.o arg.o stack.o \
guiobj.o uc.o hw.o mem.o
# Compiling entire program or any subproject
# ------------------------------------------
all: checkconf sim_lib
test_mem_speed: $(PRJDIR)/libsim.a $(PRJDIR)/libutil.a test_mem_speed.o
$(CC) -o $@ test_mem_speed.o -L$(PRJDIR) -lsim -lutil
sim.src: all
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
# Deleting all the installed files
# --------------------------------
uninstall:
# Performing self-test
# --------------------
check:
# Performing installation test
# ----------------------------
installcheck:
# Creating installation directories
# ---------------------------------
installdirs:
test: test_mem_speed
# Creating dependencies
# ---------------------
dep: main.dep
Makefile.dep: *.cc *.h
$(CXXCPP) $(CPPFLAGS) $(M_OR_MM) *.cc >Makefile.dep
include Makefile.dep
include clean.mk
#parser.cc: parser.y
#plex.cc: plex.l
# My rules
# --------
sim_lib: $(PRJDIR)/libsim.a
$(PRJDIR)/libsim.a: $(OBJECTS)
$(AR) -rcu $*.a $(OBJECTS)
$(RANLIB) $*.a
.cc.o:
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
.y.cc:
rm -f $*.cc $*.h
$(YACC) -d $<
mv y.tab.c $*.cc
mv y.tab.h $*.h
.l.cc:
rm -f $*.cc
$(LEX) -t $< >$*.cc
# Remaking configuration
# ----------------------
checkconf:
@if [ -f $(PRJDIR)/devel ]; then\
$(MAKE) -f conf.mk srcdir="$(srcdir)" PRJDIR="$(PRJDIR)" freshconf;\
fi
# End of sim.src/Makefile

View file

@ -1,121 +0,0 @@
# Generated automatically from Makefile.in by configure.
#
# uCsim z80.src/Makefile
#
# (c) Drotos Daniel, Talker Bt. 1997
#
STARTYEAR = 1997
SHELL = /bin/sh
CXX = i586-mingw32msvc-g++
CPP = @CPP@
CXXCPP = i586-mingw32msvc-g++ -E
RANLIB = i586-mingw32msvc-ranlib
INSTALL = /usr/bin/install -c
PRJDIR = ..
DEFS = $(subs -DHAVE_CONFIG_H,,-DHAVE_CONFIG_H)
CPPFLAGS = -I. -I$(PRJDIR) \
-I$(PRJDIR)/cmd.src -I$(PRJDIR)/sim.src -I$(PRJDIR)/gui.src
CFLAGS = -Wall
CXXFLAGS = -ggdb -O -pipe -Wall
M_OR_MM = -MM
LIBS = -L$(PRJDIR) -lsim -lcmd -lutil -lguiucsim
prefix = /sdcc
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
libdir = ${exec_prefix}/lib
datadir = ${prefix}/share
includedir = ${prefix}/include
mandir = ${prefix}/man
man1dir = $(mandir)/man1
man2dir = $(mandir)/man2
infodir = ${prefix}/info
srcdir = .
OBJECTS = sz80.o glob.o \
inst.o \
simz80.o z80.o
Z80ASM =
#TEST_OBJ = test_bit.hex test_dis.hex test_mov.hex test_jmp.hex \
# test_arith.hex
# Compiling entire program or any subproject
# ------------------------------------------
all: checkconf otherlibs z80.src tests
tests: $(TEST_OBJ)
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
$(INSTALL) -s sz80 $(bindir)
# Deleting all the installed files
# --------------------------------
uninstall:
rm -f $(bindir)/sz80
# Performing self-test
# --------------------
check:
# Performing installation test
# ----------------------------
installcheck:
# Creating installation directories
# ---------------------------------
installdirs:
test -d $(bindir) || $(INSTALL) -d $(bindir)
# Creating dependencies
# ---------------------
dep: Makefile.dep
Makefile.dep: *.cc *.h
$(CXXCPP) $(CPPFLAGS) $(M_OR_MM) *.cc >Makefile.dep
include Makefile.dep
include clean.mk
# My rules
# --------
.SUFFIXES: .asm .hex
z80.src: sz80
sz80: $(OBJECTS) $(PRJDIR)/*.a
$(CXX) $(CXXFLAGS) -o sz80 $(OBJECTS) $(LIBS)
otherlibs:
cd $(PRJDIR)/cmd.src && $(MAKE) all
cd $(PRJDIR)/sim.src && $(MAKE) all
.cc.o:
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
.asm.hex:
$(Z80ASM) -l $< -o $@ -e $<.lst
# Remaking configuration
# ----------------------
checkconf:
@if [ -f $(PRJDIR)/devel ]; then\
$(MAKE) -f conf.mk srcdir="$(srcdir)" PRJDIR="$(PRJDIR)" freshconf;\
fi
# End of z80.src/Makefile.in

View file

@ -42,12 +42,11 @@ char *currFname;
extern int lineno, column;
extern char *filename ;
extern char *fullSrcFileName ;
int yylineno = 1 ;
void count() ;
int process_pragma(char *);
#undef yywrap
int yywrap YY_PROTO((void))
int yywrap (void)
{
return(1);
}

View file

@ -1004,6 +1004,7 @@ pointer
default:
// this could be just "constant"
// werror(W_PTR_TYPE_INVALID);
;
}
}
else

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,117 +0,0 @@
typedef union {
symbol *sym ; /* symbol table pointer */
structdef *sdef; /* structure definition */
char yychar[SDCC_NAME_MAX+1];
sym_link *lnk ; /* declarator or specifier */
int yyint; /* integer value returned */
value *val ; /* for integer constant */
initList *ilist; /* initial list */
char *yyinline; /* inlined assembler code */
ast *asts; /* expression tree */
} YYSTYPE;
#define IDENTIFIER 257
#define TYPE_NAME 258
#define CONSTANT 259
#define STRING_LITERAL 260
#define SIZEOF 261
#define PTR_OP 262
#define INC_OP 263
#define DEC_OP 264
#define LEFT_OP 265
#define RIGHT_OP 266
#define LE_OP 267
#define GE_OP 268
#define EQ_OP 269
#define NE_OP 270
#define AND_OP 271
#define OR_OP 272
#define MUL_ASSIGN 273
#define DIV_ASSIGN 274
#define MOD_ASSIGN 275
#define ADD_ASSIGN 276
#define SUB_ASSIGN 277
#define LEFT_ASSIGN 278
#define RIGHT_ASSIGN 279
#define AND_ASSIGN 280
#define XOR_ASSIGN 281
#define OR_ASSIGN 282
#define TYPEDEF 283
#define EXTERN 284
#define STATIC 285
#define AUTO 286
#define REGISTER 287
#define CODE 288
#define EEPROM 289
#define INTERRUPT 290
#define SFR 291
#define AT 292
#define SBIT 293
#define REENTRANT 294
#define USING 295
#define XDATA 296
#define DATA 297
#define IDATA 298
#define PDATA 299
#define VAR_ARGS 300
#define CRITICAL 301
#define NONBANKED 302
#define BANKED 303
#define CHAR 304
#define SHORT 305
#define INT 306
#define LONG 307
#define SIGNED 308
#define UNSIGNED 309
#define FLOAT 310
#define DOUBLE 311
#define CONST 312
#define VOLATILE 313
#define VOID 314
#define BIT 315
#define STRUCT 316
#define UNION 317
#define ENUM 318
#define ELIPSIS 319
#define RANGE 320
#define FAR 321
#define CASE 322
#define DEFAULT 323
#define IF 324
#define ELSE 325
#define SWITCH 326
#define WHILE 327
#define DO 328
#define FOR 329
#define GOTO 330
#define CONTINUE 331
#define BREAK 332
#define RETURN 333
#define NAKED 334
#define INLINEASM 335
#define IFX 336
#define ADDRESS_OF 337
#define GET_VALUE_AT_ADDRESS 338
#define SPIL 339
#define UNSPIL 340
#define GETHBIT 341
#define BITWISEAND 342
#define UNARYMINUS 343
#define IPUSH 344
#define IPOP 345
#define PCALL 346
#define ENDFUNCTION 347
#define JUMPTABLE 348
#define RRC 349
#define RLC 350
#define CAST 351
#define CALL 352
#define PARAM 353
#define NULLOP 354
#define BLOCK 355
#define LABEL 356
#define RECEIVE 357
#define SEND 358
#define ARRAYINIT 359
extern YYSTYPE yylval;

View file

@ -1,393 +0,0 @@
/* auto-host.h. Generated automatically by configure. */
/* config.in. Generated automatically from configure.in by autoheader. */
#ifdef __BORLANDC__
#include "borland.h"
#else
/* Define to empty if the keyword does not work. */
/* #undef const */
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef gid_t */
/* Define if you have the ANSI # stringizing operator in cpp. */
#define HAVE_STRINGIZE 1
/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
#define HAVE_SYS_WAIT_H 1
/* Define if you have <vfork.h>. */
/* #undef HAVE_VFORK_H */
/* Define as __inline if that's what the C compiler calls it. */
/* #undef inline */
/* Define if your C compiler doesn't accept -c and -o together. */
/* #undef NO_MINUS_C_MINUS_O */
/* Define to `long' if <sys/types.h> doesn't define. */
/* #undef off_t */
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef pid_t */
/* Define to `unsigned' if <sys/types.h> doesn't define. */
/* #undef size_t */
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef uid_t */
/* Define vfork as fork if vfork does not work. */
/* #undef vfork */
/* Define as 1 if you have the stpcpy function. */
/* #undef HAVE_STPCPY */
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef ssize_t */
/* Define if you have the atoll function. */
/* #undef HAVE_ATOLL */
/* Define if you have the atoq function. */
/* #undef HAVE_ATOQ */
/* Define if you have the clock function. */
#define HAVE_CLOCK 1
/* Define if you have the dcgettext function. */
/* #undef HAVE_DCGETTEXT */
/* Define if you have the getpagesize function. */
#define HAVE_GETPAGESIZE 1
/* Define if you have the getrlimit function. */
/* #undef HAVE_GETRLIMIT */
/* Define if you have the getrusage function. */
/* #undef HAVE_GETRUSAGE */
/* Define if you have the kill function. */
/* #undef HAVE_KILL */
/* Define if you have the lstat function. */
#define HAVE_LSTAT 1
/* Define if you have the munmap function. */
/* #undef HAVE_MUNMAP */
/* Define if you have the nl_langinfo function. */
/* #undef HAVE_NL_LANGINFO */
/* Define if you have the putenv function. */
/* #undef HAVE_PUTENV */
/* Define if you have the setenv function. */
/* #undef HAVE_SETENV */
/* Define if you have the setlocale function. */
/* #undef HAVE_SETLOCALE */
/* Define if you have the setrlimit function. */
/* #undef HAVE_SETRLIMIT */
/* Define if you have the stpcpy function. */
/* #undef HAVE_STPCPY */
/* Define if you have the strcasecmp function. */
/* #undef HAVE_STRCASECMP */
/* Define if you have the strchr function. */
#define HAVE_STRCHR 1
/* Define if you have the strdup function. */
/* #undef HAVE_STRDUP */
/* Define if you have the strrchr function. */
#define HAVE_STRRCHR 1
/* Define if you have the strstr function. */
/* #undef HAVE_STRSTR */
/* Define if you have the times function. */
#define HAVE_TIMES 1
/* Define if you have the <argz.h> header file. */
/* #undef HAVE_ARGZ_H */
/* Define if you have the <direct.h> header file. */
/* #undef HAVE_DIRECT_H */
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <iconv.h> header file. */
/* #undef HAVE_ICONV_H */
/* Define if you have the <langinfo.h> header file. */
#define HAVE_LANGINFO_H 1
/* Define if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define if you have the <locale.h> header file. */
/* #undef HAVE_LOCALE_H */
/* Define if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Define if you have the <nl_types.h> header file. */
/* #undef HAVE_NL_TYPES_H */
/* Define if you have the <stddef.h> header file. */
#define HAVE_STDDEF_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
/* Define if you have the <sys/resource.h> header file. */
#define HAVE_SYS_RESOURCE_H 1
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define if you have the <sys/times.h> header file. */
#define HAVE_SYS_TIMES_H 1
/* Define if you have the <time.h> header file. */
#define HAVE_TIME_H 1
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define if you have the i library (-li). */
/* #undef HAVE_LIBI */
/* Define to enable the use of a default linker. */
/* #undef DEFAULT_LINKER */
/* Define to enable the use of a default assembler. */
/* #undef DEFAULT_ASSEMBLER */
/* Define if you want more run-time sanity checks. This one gets a grab
bag of miscellaneous but relatively cheap checks. */
/* #undef ENABLE_CHECKING */
/* Define if you want all operations on trees (the basic data
structure of the front ends) to be checked for dynamic type safety
at runtime. This is moderately expensive. */
/* #undef ENABLE_TREE_CHECKING */
/* Define if you want all operations on RTL (the basic data structure
of the optimizer and back end) to be checked for dynamic type safety
at runtime. This is quite expensive. */
/* #undef ENABLE_RTL_CHECKING */
/* Define if you want the garbage collector to do object poisoning and
other memory allocation checks. This is quite expensive. */
/* #undef ENABLE_GC_CHECKING */
/* Define if you want the garbage collector to operate in maximally
paranoid mode, validating the entire heap and collecting garbage at
every opportunity. This is extremely expensive. */
/* #undef ENABLE_GC_ALWAYS_COLLECT */
/* Define if you want the C and C++ compilers to support multibyte
character sets for source code. */
/* #undef MULTIBYTE_CHARS */
/* Define if your compiler understands volatile. */
/* #undef HAVE_VOLATILE */
/* Define if your compiler supports the `long double' type. */
/* #undef HAVE_LONG_DOUBLE */
/* The number of bytes in type short */
#define SIZEOF_SHORT 2
/* The number of bytes in type int */
#define SIZEOF_INT 4
/* The number of bytes in type long */
#define SIZEOF_LONG 4
/* Define if the host execution character set is EBCDIC. */
/* #undef HOST_EBCDIC */
/* Always define this when using the GNU C Library */
#define _GNU_SOURCE 1
/* Define if you have a working <stdbool.h> header file. */
/* #undef HAVE_STDBOOL_H */
/* Define if you can safely include both <string.h> and <strings.h>. */
#define STRING_WITH_STRINGS 1
/* Define as the number of bits in a byte, if `limits.h' doesn't. */
/* #undef CHAR_BIT */
/* Define if the host machine stores words of multi-word integers in
big-endian order. */
#define HOST_WORDS_BIG_ENDIAN 1
/* Define to the floating point format of the host machine, if not IEEE. */
/* #undef HOST_FLOAT_FORMAT */
/* Define to 1 if the host machine stores floating point numbers in
memory with the word containing the sign bit at the lowest address,
or to 0 if it does it the other way around.
This macro should not be defined if the ordering is the same as for
multi-word integers. */
/* #undef HOST_FLOAT_WORDS_BIG_ENDIAN */
/* Define if you have a working <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define if printf supports %p. */
/* #undef HAVE_PRINTF_PTR */
/* Define if mmap can get us zeroed pages from /dev/zero. */
#define HAVE_MMAP_DEV_ZERO 1
/* Define if mmap can get us zeroed pages using MAP_ANON(YMOUS). */
#define HAVE_MMAP_ANON 1
/* Define if read-only mmap of a plain file works. */
#define HAVE_MMAP_FILE 1
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_GETENV 0
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_ABORT 0
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_ERRNO 0
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_MALLOC 0
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_REALLOC 0
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_CALLOC 0
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_FREE 0
/* Define to 1 if we found this declaration otherwise define to 0. */
/* #undef HAVE_DECL_BASENAME */
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_GETOPT 0
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_CLOCK 0
/* Define to 1 if we found this declaration otherwise define to 0. */
/* #undef HAVE_DECL_GETRLIMIT */
/* Define to 1 if we found this declaration otherwise define to 0. */
/* #undef HAVE_DECL_SETRLIMIT */
/* Define to 1 if we found this declaration otherwise define to 0. */
/* #undef HAVE_DECL_GETRUSAGE */
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_TIMES 0
/* Define if <sys/times.h> defines struct tms. */
/* #undef HAVE_STRUCT_TMS */
/* Define if <time.h> defines clock_t. */
/* #undef HAVE_CLOCK_T */
/* Define if host mkdir takes a single argument. */
/* #undef MKDIR_TAKES_ONE_ARG */
/* Define to the name of the distribution. */
#define PACKAGE "sdcc"
/* Define to the version of the distribution. */
#define VERSION "3.1"
/* Define to 1 if installation paths should be looked up in Windows32
Registry. Ignored on non windows32 hosts. */
/* #undef ENABLE_WIN32_REGISTRY */
/* Define to be the last portion of registry key on windows hosts. */
/* #undef WIN32_REGISTRY_KEY */
/* Define if your assembler supports .subsection and .subsection -1 starts
emitting at the beginning of your section. */
/* #undef HAVE_GAS_SUBSECTION_ORDERING */
/* Define if your assembler supports .weak. */
/* #undef HAVE_GAS_WEAK */
/* Define if your assembler supports .hidden. */
/* #undef HAVE_GAS_HIDDEN */
/* Define if your assembler supports .uleb128. */
/* #undef HAVE_AS_LEB128 */
/* Define if your assembler mis-optimizes .eh_frame data. */
/* #undef USE_AS_TRADITIONAL_FORMAT */
/* Define if your assembler supports .register. */
/* #undef HAVE_AS_REGISTER_PSEUDO_OP */
/* Define if your assembler supports -relax option. */
/* #undef HAVE_AS_RELAX_OPTION */
/* Define if the assembler supports 64bit sparc. */
/* #undef AS_SPARC64_FLAG */
/* Define if your assembler supports offsetable %lo(). */
/* #undef HAVE_AS_OFFSETABLE_LO10 */
/* Define if your assembler supports dwarf2 .file/.loc directives,
and preserves file table indicies exactly as given. */
/* #undef HAVE_AS_DWARF2_DEBUG_LINE */
/* Define 0/1 to force the choice for exception handling model. */
/* #undef CONFIG_SJLJ_EXCEPTIONS */
/* Bison unconditionally undefines `const' if neither `__STDC__' nor
__cplusplus are defined. That's a problem since we use `const' in
the GCC headers, and the resulting bison code is therefore type
unsafe. Thus, we must match the bison behavior here. */
#ifndef __STDC__
#ifndef __cplusplus
/* #undef const */
#define const
#endif
#endif
#endif /* !__BORLANDC__ */