Re: 1987 Z80 C compiler '2500ad' documentation
- From: Ico <usenet@xxxxxxx>
- Date: 15 Aug 2006 08:00:19 GMT
Paul Burke <paul@xxxxxxxxxx> wrote:
Ico wrote:
I just inherited a project running on a Z80, which is built with acompiler called 'c80.exe' :
2500 A.D. Z80 C Compiler Copyright (C) 1987 - Version 4.05c
You lucky sod.
Hehe; well it's not too bad actually: I setup a dos emulator environment
on my main linux machine, and it actually runs quite well. Apart from
some quirks (no enums, static variables are re-initialized, and probably
more I didn't run into yet), it does the job.
The best part is that the inherited code was written so well, that it
compiles and runs with gcc 4, with no modifications at all. That's what
I call luck :)
Does anybody happen to have any documentation about this compiler at
hand ? I am mainly looking for flags to change warning levels, and
information about pref-defined preprocessor symbols.
I just happened to almost throw out the 6809 compiler (V4.03) the other
day, so I know where it is. Here are the command line options:
-1 Skip phase 1 preoptimization.
-d Include source code in output
-D Allow definition of symbols in command line
-i Specify #include path
-I change to alternate library section names
-n Run linker after compilation
-ofilename Output fiulename
-p/path/ Output directory
-P Run preprocessor only
-S Create assembler output with source code as comments
And that's it. I like the way with only a handful of options they still
managed to make case matter.
Not much indeed, but the '-1' is one of the things I was looking for.
Thanks for the info.
--
:wq
^X^Cy^K^X^C^C^C^C
.
- Follow-Ups:
- Re: 1987 Z80 C compiler '2500ad' documentation
- From: Mark McDougall
- Re: 1987 Z80 C compiler '2500ad' documentation
- References:
- 1987 Z80 C compiler '2500ad' documentation
- From: Ico
- Re: 1987 Z80 C compiler '2500ad' documentation
- From: Paul Burke
- 1987 Z80 C compiler '2500ad' documentation
- Prev by Date: ARMexpress
- Next by Date: Re: C / C++ skills
- Previous by thread: Re: 1987 Z80 C compiler '2500ad' documentation
- Next by thread: Re: 1987 Z80 C compiler '2500ad' documentation
- Index(es):
Relevant Pages
|