Code Monkey home page Code Monkey logo

Comments (1)

agn453 avatar agn453 commented on July 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.