Comments (1)
The command line argument parser is rather primitive for CP/M and uses a space
as a delimiter.
To specify an include location, don't prefix it by a space - for example
c -i0:a: -o -v test.c
By default, the compiler will look in user area 0 on drive A: for the system include
files and object libraries.
You can also create a file called ENVIRON.
on the source-file drive to override
the default, or have a system-wide one in 0:A:ENVIRON.
.
This file may contain lines like the following to specify the location of the
HI-TECH files - for example
HITECH=0:C:
TMP=M:
for distribution files on drive C: in user area 0, (and to create temporary
files on a RAMdrive - drive M: . NB; you can't specify a user area for TMP).
Details are in the Users Manual at
https://github.com/agn453/HI-TECH-Z80-C/blob/master/doc/Hi-Tech-Z80-1989-october.pdf
in section 1.6 Reconfiguring.
P.S. You didn't specify which version of CP/M you are using. With CP/M Plus you can
use the SETDEF command to set a search path for commands so you won't need to
specify the drive letter to invoke the compiler.
from hi-tech-z80-c.
Related Issues (20)
- Issues with predefined macro z80 HOT 4
- new C.C frontend not running on ZXCC HOT 9
- Extraction aborting - overlay.h isn't working HOT 4
- bios() calls to invoke XMOVE and MOVE fail under DRI banked BDOS HOT 2
- Wrong prototypes for ctime, gmtime and localtime HOT 1
- Work related to Hi-tech C HOT 1
- Hi-Tech C MSDOS v7.80 HOT 5
- LIBC library object modules need re-ordering HOT 1
- Undefined symbols with build 13 ( _open, _fseek, _creat, __filbuf) HOT 5
- Can't execute $EXEC HOT 4
- It doesn't run on the Agon Light yet and it's not 24 bit to suit the eZ80 CPUs HOT 1
- Cannot find user library on D0: HOT 11
- Resulting com files bigger than original compiler HOT 7
- Linking question HOT 2
- I'm getting a "can't create testprg.obj" HOT 3
- Passing struct as argument to function pointer inside struct HOT 1
- Can you detect if include defined? HOT 3
- Running out of memory HOT 2
- Better way to pass args from C to ASM HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hi-tech-z80-c.