10 More Discussions You Might Find Interesting
1. Programming
hello everybody! I have the source code(C) about a flat file system with shell,directory service,file service and blockservice.But I don t know how to compile this.Can anyone inform me?I connect to a remote system of Unix...Actually I have 4 files,system.c direct.c blockserv.c and fileserv.c.:( (4 Replies)
Discussion started by: sonia13
4 Replies
2. UNIX for Dummies Questions & Answers
I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies
3. Shell Programming and Scripting
Hi,
I was compiling few C programs in the unix server and getting the following error message
rm: /home/a0xxx28/AVT/SEEDLIBRARYDB/LIB/*.a non-existent
proc MODE=ANSI CODE=ANSI_C INCLUDE=/home/a0xxx28/PVT/SEEDLIBRARYDB/INCLUDE
INCLUDE=/home/a0xxx28/PVT/SEEDLIBRARY/INCLUDE ... (1 Reply)
Discussion started by: kavithakuttyk
1 Replies
4. Shell Programming and Scripting
How do I compile a test file to test functionality of my script? (1 Reply)
Discussion started by: Pauline mugisha
1 Replies
5. Shell Programming and Scripting
I am unable to compile the programs, I am able to compile .pc to .c but later part of the compilation from .c to executalbe i am unable to do.
Here is the way i am doing
make -f $LIB_LIB/makefile.templ sample
I am getting the following errors, which environment and where to set to point... (1 Reply)
Discussion started by: satvd
1 Replies
6. Programming
I am trying to compile the pro*C file but gives errors. It says it encountered "std" while it was expecting ; , = ( $ $ORACLE_HOME/bin/proc tradewind/dataaccess/Blob.pcc
Pro*C/C++: Release 10.2.0.3.0 - Production on Fri May 9 11:10:54 2008
Copyright (c) 1982, 2005, Oracle. All rights... (0 Replies)
Discussion started by: shafi2all
0 Replies
7. Programming
Hi,
How to precompile the c program which has proc statements within it.
If it is only c, I will use the following cmd
cc filename.c -o output
so please tell me what command I have to use for precompilation.
I beleave that this is not an oracle or proc forum, but still I hope will... (1 Reply)
Discussion started by: sweta
1 Replies
8. Programming
While compiling and executing i get the following error.
Error at line 1200, column 1 in file xxx.pc
{
1
PCC-S-02201,Encountered the symbol "{" when expecting one of the following:
; , = < [
please help (1 Reply)
Discussion started by: musavir19
1 Replies
9. UNIX for Advanced & Expert Users
I am trying to build a tuxedo server which in turn depends on several Pro*C programs. I am doing it on HP-UX system.
It looks to me that the ORACLE_HOME is set properly.
But I am getting error message when trying to build.
PCC-F-NOERRFILE, unable to open error message file, facility PR2
exit... (1 Reply)
Discussion started by: asutoshch
1 Replies
10. UNIX for Dummies Questions & Answers
this is the seventh problem i'm having with samba.
for some reason, i cannot logon to the domain.
i've created user accounts... and i was able to establish a connection between
the samba server (my PDC) and my workstations by logging in as "root."
however now when i try to logon it gives... (5 Replies)
Discussion started by: xyyz
5 Replies
PCC(1) General Commands Manual PCC(1)
NAME
pcc - APE C compiler driver
SYNOPSIS
pcc [ option ... ] [ name ... ]
DESCRIPTION
Pcc compiles and loads C programs, using APE (ANSI C/POSIX) include files and libraries. Named files ending with .c are preprocessed with
cpp(1), then compiled with one of the compilers described in 2c(1), as specified by the environment variable $objtype. The object files
are then loaded using one of the loaders described in 2l(1). The options are:
-o out Place loader output in file out instead of the default 2.out, v.out, etc.
-P Omit the compilation and loading phases; leave the result of preprocessing name.c in name.i.
-c Omit the loading phase.
-p Insert profiling code into the executable output.
-w Print compiler warning messages.
-B Don't complain about functions used without ANSI function prototypes.
-v Echo the preprocessing, compiling, and loading commands before they are executed.
-Dname=def
-Dname Define the name to the preprocessor, as if by If no definition is given, the name is defined as
-Uname Undefine the name to the preprocessor, as if by
-Idir files whose names do not begin with are always sought first in the directory of the file argument, then in directories named in
-I options, then in /$objtype/include/ape.
-N Don't optimize compiled code.
-S Print an assembly language version of the object code on standard output.
-a Instead of compiling, print on standard output acid functions (see acid(1)) for examining structures declared in the source
files.
-aa Like -a except that functions for structures declared in included header files are omitted.
The APE environment contains all of the include files and library routines specified in the ANSI C standard (X3.159-1989), as well as those
specified in the IEEE Portable Operating System Interface standard (POSIX, 1003.1-1990, ISO 9945-1). In order to access the POSIX rou-
tines, source programs should define the preprocessor constant _POSIX_SOURCE.
FILES
/sys/include/ape
directory for machine-independent #include files.
/$objtype/include/ape
directory for machine-dependent #include files.
/$objtype/lib/ape/libap.a
ANSI C/POSIX library.
SEE ALSO
cpp(1), 2c(1), 2a(1), 2l(1), mk(1), nm(1), acid(1), db(1), prof(1)
Howard Trickey, ``APE -- The ANSI/POSIX Environment''
SOURCE
/sys/src/cmd/pcc.c
BUGS
The locale manipulation functions are minimal. Signal functions and terminal characteristic handlers are only minimally implemented. Link
always fails, because Plan 9 doesn't support multiple links to a file. The functions related to setting effective user and group ids can-
not be implemented because the concept doesn't exist in Plan 9.
PCC(1)