Thread: How to compile Pro*C code on Linux..

  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    22

    How to compile Pro*C code on Linux..

    << moved to Linux Programming>>

    Hi All,
    I have some Pro*C program those are need to compile and execute on Linux environment.
    All those programs are currently running on Unix.I have copied all make file and related file and try to compile with same way like Unix but i am getting error.

    example -
    make -f test.mk test

    Does anyone have idea what could be reason ? Is any specail parameter need to be set or change ?

    pls its urgent help me.


    Thanks

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    If it has embedded SQL it needs to be pre-processed before you can compile it with a regular compiler (like gcc). I don't know the details of Pro*C, but you need to find linux tools for it (if there are any).

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > but i am getting error.
    Well post your error messages then - or a sample of them if there are lots.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code won't compile
    By monkles in forum C Programming
    Replies: 3
    Last Post: 05-28-2009, 01:45 PM
  2. I need help to compile this code...
    By wise_ron in forum C Programming
    Replies: 17
    Last Post: 05-07-2006, 12:22 PM
  3. Replies: 1
    Last Post: 10-18-2005, 10:20 AM
  4. how to compile a c program in Linux
    By xman in forum Linux Programming
    Replies: 4
    Last Post: 03-18-2003, 10:41 AM
  5. How to compile it under linux and win32
    By GaPe in forum C Programming
    Replies: 4
    Last Post: 12-28-2002, 02:44 PM