[Coco] Microware C Compiler -- issues finding library files

Gene Heskett gheskett at wdtv.com
Thu Aug 13 04:52:24 EDT 2015


On Thursday 13 August 2015 00:47:17 Chris Oliver wrote:

> All,
>
> Two-drive OS-9 scenario — compiler (cc1) in /d1/cmds, LIB and DEFS
> (including stdio.h) on /d0.  Execution directory set to /d1/cmds.  For
> the life of me, I can’t figure out how to get the compiler to look on
> /d0 for LIB and DEFS — and I can’t put everything on /d1 due to space.
>  Is there a way in OS-9 to pin one of the drives as the “default
> drive”, such that the compiler will look there vs. on the same drive
> as the current execution directory?  When I get to the linker, for
> example, I get a cannot-find error on “/d1/lib/cstart.r” — when, of
> course, cstart.r is sitting in /d0/lib.
>
> Many thanks — I’m guessing there is something simple here that I’m
> overlooking…
>
> Chris

Generally, those options are set in the compilers driver script.  You 
didn't say which one, and there are several variations extant.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>


More information about the Coco mailing list