Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Pro*C compiler for 8i (8.1.5)
See below for what I use for 8.1.5 under Solaris 2.7.
This is pretty much a simplified version of what the Oracle demo
makefile uses.
Note that I'm using the Sun C compiler; some changes in the CFLAGS might
be required for GCC.
Peter
ORA815_CFLAGS = \
-c -g -Xc -xstrconst -xF \ -D_REENTRANT $(ORA_C_INC_PATH) -KPIC \ -I. -I$(ORA)/precomp/public -I$(ORA)/rdbms/public -I$(ORA)/plsql/public\
Jeff Brocious wrote:
>
> hey,
>
> We're trying to get the Pro*C compiler working in 8i. So far, we can't find
> the right combination of oracle libraries to get the finished executable all
> linked together. I've tried using the makefile from the demo directory, but
> can't get that to work. We still end up with 30-35 undefined references.
> We don't need anything fancy, just the basic Pro*C stuff - no threads, OCI,
> etc. We're running this on Sun Solaris 2.6 and DEC Alpha 4.0D. If anyone
> has any hints or tips, they would be greatly appreciated. Thanks.
>
> Jeff
Received on Mon Sep 20 1999 - 06:16:08 CDT
![]() |
![]() |