This is a discussion on How to compile a c program in freeBSD within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; Hi, Am new to this forum as well as freeBSD. Can some one please tell me how to go about ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Hi,
Am new to this forum as well as freeBSD. Can some one please tell me how to go about compiling a c program with embedded informix SQL and get the exe? Thanks in advance JS |
| Sponsored Links | ||
|
|
|
||||
|
Your file name is hello.c, type in same directory
Code:
make hello Code:
cc hello.c gcc hello.c -o hello To run Code:
./a.out ./hello
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| compile a new kernel in RHEL 5 | vikas027 | CentOS / RHEL / Fedora | 3 | 03-24-2008 09:56 PM |
| How to compile a c program in freeBSD | jkmb | All about FreeBSD/OpenBSD/NetBSD | 0 | 01-21-2008 01:33 PM |
| sa-compile | diptanjan | Linux software | 1 | 06-07-2007 07:07 PM |
| Kernel Compile | mannrj45 | Linux software | 1 | 12-02-2006 08:32 PM |
| Dumb Newbie problem -- can't compile | Henry | Coding in General | 7 | 01-12-2006 04:24 AM |