From: Karl Bongers <karl@tu...> - 2001-08-18 16:11:27
Sorry about the hassle.
We have not been real good about putting out releases or
providing periodic src-tarballs/snapshots. Your best
recoarse is to download the latest from CVS. The
homepage should have good instructions on how to do this,
its easy with Linux as CVS tools are available out of the
I am running RH 7.1/GCC V2.96. The older release version
does fail to compile with V2.96. The latest CVS version
should compile fine.
A note to developers: We should adjust the sourceforge
cron job to put out a periodic src-tarball for downloading.
Then add link to download on web-page.
A note to Windows users: The current source-code build
is broken under Cygwin last time I tried it. Some problems
I ran into include:
* Cygwin trips up on -z80(preceeding -) on Z80 obj directory
creation from make files. I fixed by adding a preceeding "o",
so: "o-z80", etc.
* The ports.all file gets mangled with spaces and ^M(CR's).
Sorry, I don't run Windows much any more(I don't think many
of the developers do, so it gets neglected...)
One more MCS51 note:
The default STACK location is down around 20H or so. The MAP
is confusing and leads one to believe the stack is positioned
up after the last data. It is not really put after the last
data unless --stack-after-data is used. You need to look at
the generated .asm file to see where _SP is initialized to.
(Devel: LETS FIX THIS). Users: Beware.
Keith, send us an email if you run into any problems.
On Fri, 17 Aug 2001 14:54:55 -0700
> -----Original Message-----
> From: Knight, Keith [mailto:Keith.Knight@...]
> Sent: Friday, August 17, 2001 10:11 AM
> To: 'sandeep@...'
> Subject: Cant compile SDCC v2.2.1 on my Red Hat Linux Box
> Hi Sandeep,
> I cant get SDCC V2.2.1 to compile with gcc V2.96 20000731 (Red Hat Linux 7.1
> This is what I've done
> 1) Download SDCC v2.2.1 Source (in gzipped tar format) [2.0M] (to my
> Downloads directory)
> 2) gunzip -c Downloads/sdcc-2.2.1-src.tar.gz | tar -xv- (creates directory
> 3) ./configure --prefix=/usr/local
> (reports no for... sys/isa_defs.h, opendir in -ldir, yylex, GC_malloc in
> -lgc, socket in -lsocket, byte ordering big endian)
> 4) make
> (make: Entering directory '/home/knightk,sdcc-2.2.1/support/cpp'
> Makefile:84: Makefile.dep : No file or directory
> gcc -I. -I../.. -D_FORASXXXX_ -ggdb -02 -pipe -c -o cpplib.o cpplib.c
> cpplib.c: In function 'special_symbol'
> cpplib.c:2447: dereferencing pointer to incomplete type
> make ***[cpplib.o] Error 1
> My Request
> Can you help me get a SDCC compiler running on my Linux box. I would be very
> grateful for any help.
> Keith Knight
> sdcc-devel mailing list