How do you complile a .pc file?

This is a discussion on How do you complile a .pc file? within the C Programming forums, part of the General Programming Boards category; Hello, I need to compile a .pc file. I think you pre-compile it to a C file and then make ...

  1. #1
    Unregistered
    Guest

    Question How do you complile a .pc file?

    Hello,

    I need to compile a .pc file. I think you pre-compile it to a C file and then make it a .exe file. Can anyone help me on this? Also, is there any free compiler out there that I can download and use?

    Thanks for your help.

    Regards,
    Sadeq

  2. #2
    Unregistered
    Guest
    I don't know what a .pc file is. But isn't itdescribed in your documentation?

  3. #3
    Unregistered
    Guest
    I was asked to modify a C file and found some of the default values were being set on a .pc file. I am assuming you use a precompiler to compile this .pc to .C to embed SQL statements in high-level source programs like C, C++. So, .pc might be a Pro*c file. I did not find any documentation for this.

  4. #4
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    What compiler are you using? Perhaps somebody who uses this compiler also can help you with it.

  5. #5
    Unregistered
    Guest
    Actually, I am trying to find out what compiler to use to pre-compile this .pc file and make it a .C file.

    Thanks,
    Sadeq

  6. #6
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    Can't the people who gave you this task give more information? Can't you find out who wrote the software?

    I assume you are working at this task behind a PC with a development environment. I also assume this environment provides you the tools required to perform your task. If not, then you can't do the task and should ask the people who gave you this task for a working environment. Which environment do you use?

  7. #7
    Unregistered
    Guest
    Hi Shiro,

    In answers to your question, I was asked to help fix some problems in a software written in C. The folks who wrote this piece are long gone and I could not find any documentation for it. This is a MS environment. I have made the changes that's going to fix the problems. All I need now is to complie this .pc file and test it.

    Sadeq

  8. #8
    Registered User bljonk's Avatar
    Join Date
    Oct 2001
    Posts
    70
    Ok!
    !if the source code is C and the extension is just PC, them just compile it just as you compile a normal *.c file.

    if is an *.o or *.obj that you are refering to 'link' it.
    Ünicode¬>world = 10.0£

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 04:39 AM
  2. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 10:54 AM
  3. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 11:12 PM
  4. Hmm....help me take a look at this: File Encryptor
    By heljy in forum C Programming
    Replies: 3
    Last Post: 03-23-2002, 10:57 AM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21