Oracle数据库开发(四).Linux下ProC的Makefile示例

本文详细介绍了在Linux环境下,如何使用Makefile编译Oracle Pro*C程序,解决编译时遇到的错误和警告。通过理解Precompiler Options,设置适当的编译选项,可以成功编译并运行示例程序。
摘要由CSDN通过智能技术生成

Oracle Database Development (4). Example Makefile for Pro*C

Vert Melon

Jun 8,2007

<本文主要介绍Linux下使用Makefile编译ProC程序的方法>

It is a pity that there is a few aritcle written in Chinese which talking about
the material method of Makefile for Pro*C/C++ .Maybe it's not diffcult to the most
Linux developers , but I find lots of questions about the method of compile
which follows no answer .

I don't know why .

1.Preface

 Assumed that you just finished the installation of Oracle Pro*C In Linux OS ,
 you hurry to enter the directory which contains lots of Pro*C examples and type
 this command " make -f demo_proc.mk sample1 " to get a first programme. In all
 probability you could find lots of errors and warnings full of the screen instead
 of a imaged executable file.
 
 Don't worry , let us discover the secrect in it , which is the mainly content
 of this artical.

 Oracle DataBase Development Series
 http://blog.csdn.net/liwei_cmg/category/207442.aspx


2.The causation of errors

 In the beginning , I was also puzzled with this errors , for i had no idea with
 Precompiler Options . Everything becomes clear go with the knowing the Precompiler
 Options.
 
 Input your command " proc parse=? " at the command line .
  $ proc parse=?
 
 You should see the prompt following .
 
  Pro*C/C++: Release 9.2.0.4.0 - Production on Fri Jun 8 12:22:36 2007
  
  Copyright (c) 1982, 2002, Oracle Corporation. 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值