Chinaunix

标题: 在AIX中如何编译c连接db2程序 [打印本页]

作者: zyxcz    时间: 2009-08-18 09:05
标题: 在AIX中如何编译c连接db2程序
在AIX中如何编译c连接db2程序

db2 prep *.sqc bindfile
db2 bind *.bnd
cc -c *.c

最有一个报错 找不到头文件sqladef.h 但这个文件是有的
作者: snow888    时间: 2009-08-24 10:22
带一个 -I 指定 sqladef.h 文件所在的目录。

这个建议看 makefile 方面的资料 ... ...




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2