How to compile and run the ProC (*.pc) program?


 
Thread Tools Search this Thread
Top Forums Programming How to compile and run the ProC (*.pc) program?
# 1  
Old 08-16-2015
How to compile and run the ProC (*.pc) program?

Hi Team,

I am very new to this forum and hope someone will help me in resolving the issue.

I am new to Pro C also.

I made some changes to the existing Pro C program and want to run the program with the changes.

But I am unable to neither compile nor run the program.

Please do the needful.

Thanks in advance!!
# 2  
Old 08-16-2015
If all you're going to tell us is "I changed something and it stopped working.", the obvious solution to your problem is to undo the changes you made.

If you would like to:
  • tell us what your program used to do,
  • (if possible) show us the code as it existed before you made changes to it,
  • tell us what you now want it to do,
  • show us the code that won't compile, and
  • show us the diagnostics produced by Pro C when you try to compile your program,
then we might be able to help you.

It might also help to know what operating system you're using and what version of Pro C you're using.
# 3  
Old 08-19-2015
Hi,

Thanks for ur reply Don.

1) Program is used to check the data from the db tables, then based on validation, it creates a flat file.
2) As I am new to this code, I want to debug the code by adding the comments in the program.
3) Is there any standard process for compiling the pro c program.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Error when run makefile to compile C program

I have a make file for C program, which always gives the error ld: 0711-738 ERROR: Input file ../src/file_name.o XCOFF32 object files are not allowed in 64 mode Does anybody know the problem? Thanks for contribution (2 Replies)
Discussion started by: digioleg54
2 Replies

2. UNIX for Advanced & Expert Users

java compile and run program help

What is the trick to get a java program to run and compile? I can't even get a basic skeleton to run and compile. What packages do I need? I figured the java-gcj and gcc-java packages was enough. Do I need any other packages? I thought I had to do this and it would work but its not. javac... (1 Reply)
Discussion started by: cokedude
1 Replies

3. Programming

Linux 11.2 to 10.2 Proc Compile error

I am trying to compile a proc++ program on linux using an 11.2 client and pointing to a 10.2 database running on Solaris. The compiler is able to connect to the database but the semantic checks fail as if it cannot see any objects in the database. I tried a test, only selecting 'X' into a... (0 Replies)
Discussion started by: rdudash
0 Replies

4. Programming

Can someone compile and run a program on AIX 6.1 please?

Hi, I have a program which collects performance data from AIX. It works fine on older releases (< 5.3) but I fail to get data from /proc. I would really appreciate it if someone could compile (using ANSI compat C compiler), run the program (for 30-40 minutes) on AIX 6.1 and send me the... (2 Replies)
Discussion started by: StuBob
2 Replies

5. UNIX for Dummies Questions & Answers

proc program compilation in unix

hi, i need to compile a proc program, say prog.pc can we compile this program in the unix environment? does this need a make file? can anyone help me on this since i am new to this area. Thanks in advance. (1 Reply)
Discussion started by: csprog
1 Replies

6. Solaris

Proc Compile error, Cannot create .o

Hi, I'm facing problem compiling proc on Solaris 10, with proc version 9.2. I'm not able to create .o This is how it looks: $make . . . Making linkable xxx.o proc sqlcheck=full user=/ include=../include include=/aa/bb/include iname=xxx.pcx Pro*C/C++: Release 9.2.0.1.0 - Production on... (2 Replies)
Discussion started by: suhaswallur
2 Replies

7. UNIX for Dummies Questions & Answers

Proc Compile error, Cannot create .o

Hi, I'm facing problem compiling proc on Solaris 10, with proc version 9.2. I'm not able to create .o This is how it looks: $ make . . . Making linkable rim_grd_main.o proc sqlcheck=full user=/ include=../include include=/rims/prod/include iname=rim_grd_main.pcx Pro*C/C++: Release... (1 Reply)
Discussion started by: suhaswallur
1 Replies

8. UNIX for Dummies Questions & Answers

Proc Compile error, Cannot create .o

Hi, I'm facing problem compiling proc on Solaris 10, with proc version 9.2. I'm not able to create .o This is how it looks: $make . . . Making linkable xxx.o proc sqlcheck=full user=/ include=../include include=/aa/bb/include iname=xxx.pcx Pro*C/C++: Release 9.2.0.1.0 - Production on Thu... (1 Reply)
Discussion started by: suhaswallur
1 Replies

9. Programming

Compile a proc/c++ file in debug mode.

Hi, I'm using the following commands to execute a proc file, but I'm unable to debug the program. What modifications do I need to make in the command options to debug the program created. I have a proc1.pc file, using the following three steps to generate the proc1 exe. After the proc1 exe... (2 Replies)
Discussion started by: ehari
2 Replies

10. Programming

Compile and Run C Program on Solaris

Hello Guys, I am using Solaris Developer Express Edition 9/07, I am a beginner. Please tell me how to compile and execute a C program. Please give me your answers clearly, for the compilers cc,c89,c99. I not getting the answer anywhere. Please....... reply to me. Advance thanks......... (0 Replies)
Discussion started by: selva_ss
0 Replies
Login or Register to Ask a Question