-
Compiling C on OSR 6
Am I missing something?
If I have a file "test.c", that starts:
#include <stdlib.h>
and I do:
cc -K osr test.c
I get:
UX:acomp: ERROR: "test.c", line 1: cannot find include file: <stdlib.h>
Furthermore,
man cc
gives me nothing.
Regards,
.....Bob Rasmussen, President, Rasmussen Software, Inc.
personal e-mail: [email]ras@anzio.com[/email]
company e-mail: [email]rsi@anzio.com[/email]
voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: [url]http://www.anzio.com[/url]
-
Re: Compiling C on OSR 6
Bob Rasmussen typed (on Fri, Aug 05, 2005 at 03:22:26PM -0700):
| Am I missing something?
|
| If I have a file "test.c", that starts:
| #include <stdlib.h>
| and I do:
| cc -K osr test.c
| I get:
| UX:acomp: ERROR: "test.c", line 1: cannot find include file: <stdlib.h>
|
| Furthermore,
| man cc
| gives me nothing.
I'm not seeing this.
Is /osr5/usr/include/stdlib.h present?
--
JP
-
Re: Compiling C on OSR 6
On Fri, 5 Aug 2005, Jean-Pierre Radley wrote:
[color=blue]
> Bob Rasmussen typed (on Fri, Aug 05, 2005 at 03:22:26PM -0700):
> | Am I missing something?
> |
> | If I have a file "test.c", that starts:
> | #include <stdlib.h>
> | and I do:
> | cc -K osr test.c
> | I get:
> | UX:acomp: ERROR: "test.c", line 1: cannot find include file: <stdlib.h>
> |
> | Furthermore,
> | man cc
> | gives me nothing.
>
> I'm not seeing this.
> Is /osr5/usr/include/stdlib.h present?[/color]
No!
I am unclear on whether I need to do a separate install of the development
system. Scoadmin seems to indicate that it is installed, but who knows? If
I have to install it, I can not see how to do that.
Regards,
.....Bob Rasmussen, President, Rasmussen Software, Inc.
personal e-mail: [email]ras@anzio.com[/email]
company e-mail: [email]rsi@anzio.com[/email]
voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: [url]http://www.anzio.com[/url]
-
Re: Compiling C on OSR 6
On Fri, 5 Aug 2005 19:35:45 -0700 (PDT), Bob Rasmussen <ras@anzio.com>
wrote:
|I am unclear on whether I need to do a separate install of the development
|system. Scoadmin seems to indicate that it is installed, but who knows? If
|I have to install it, I can not see how to do that.
|
I had the same problem when I installed an evaluation copy of OSR6,
custom indicated that the Development System was installed, yet files
were missing.
Run custom and install the Development System.
Regards,
Robin
-
Re: Compiling C on OSR 6
Bob,
You need to install the SCO OpenServer Development System.
The base Operating System includes the cc compiler and standard headers
and libraries but it does not include the debuggers and tools, the
openserver 5 libraries and headers etc. To get these you need to
install the Development System.
There is an eval license for the Development System in the coverletter
in the OSR6 Media Kit.
John