Hi. The DECUS C compiler can easily be identified.
If it understands the -h switch, then it's DECUS C. Like this:
.xcc -h
-a: Auto-spawn AS -n: Disable inline EIS
-b: Brief error messages -p: Compile profiling code
-d: Double floating default -r: #define rsts
-e: Enable inline EIS -t: Generate symbol tables
-f: Single floating default -w: Suppress 'no use' warning
-h: Help - give this display -x: Support: display phase
-l: Show code trees in .S file timings; keep temp. files
-m: Bypass preprocessor -z: DEBUG, trap phase entry
?CC-W-1 compilation error(s), no .S file written
The DEC PDP-11 C on the other hand don't have any help, but if you throw
something unknown to it, it looks like this:
.ccc /version
%PDP11C-E-CLP_UNK_QUAL, Unknown QUALIFIER name
\/VERSION\
Message summary: Informational 0 Warning 0 Error 1
Now, if you can tell me which C compiler we're talking about, I can give
you the routines.
Johnny
> > (
uu.se <
http://uu.se>)
> <
http://cookie.update.uu.se/manuals/layered/pdp11c3.pdf
> <
http://cookie.update.uu.se/manuals/layered/pdp11c3.pdf>>)
> > This is an old chestnut and soooo OS specific. Does anyone know
> how to
> > a. implement kbhit() b. set getchar() to return single characters
> > without pressing enter and c. turn off local echo?????
> > I have a very nasty fix for RT11 C if anyone wants a copy.....
> >
> > Regards, Ian.
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "[PiDP-11]" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to
pidp-11+u...@googlegroups.com
> > <mailto:
pidp-11+u...@googlegroups.com>.
> > To view this discussion on the web visit
> >
>
https://groups.google.com/d/msgid/pidp-11/b30724d2-425a-496d-a608-0a6aaa7de15cn%40googlegroups.com <
https://groups.google.com/d/msgid/pidp-11/b30724d2-425a-496d-a608-0a6aaa7de15cn%40googlegroups.com> <
https://groups.google.com/d/msgid/pidp-11/b30724d2-425a-496d-a608-0a6aaa7de15cn%40googlegroups.com?utm_medium=email&utm_source=footer <
https://groups.google.com/d/msgid/pidp-11/b30724d2-425a-496d-a608-0a6aaa7de15cn%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> --
> Johnny Billquist || "I'm on a bus
> || on a psychedelic trip
> email:
b...@softjar.se || Reading murder books
> pdp is alive! || tryin' to stay hip" - B. Idol
>
> --
> You received this message because you are subscribed to the Google
> Groups "[PiDP-11]" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
pidp-11+u...@googlegroups.com
> <mailto:
pidp-11+u...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/pidp-11/fae38dac-9ebb-47d0-abfa-997ddc626185n%40googlegroups.com <
https://groups.google.com/d/msgid/pidp-11/fae38dac-9ebb-47d0-abfa-997ddc626185n%40googlegroups.com?utm_medium=email&utm_source=footer>.