Sponsored Content
Operating Systems BSD How to compile a c program in freeBSD Post 302160132 by jisha on Monday 21st of January 2008 01:14:34 AM
Old 01-21-2008
CPU & Memory How to compile a c program in freeBSD

Hi ,

I have freeBSD installed. I need to compile a c program which has embedded informix sql statement in it.
Can you please help me to to do the same. I need to know what I should I do to make BSD compatable to compile the c program ?

Thanks in advance
Jisha
 

10 More Discussions You Might Find Interesting

1. Programming

how to compile a program

how do i go about compiling a simple hello world script in mandrake linux? this is something i have had no luck in finding on the main site, please help? thank you (2 Replies)
Discussion started by: CmpKillr
2 Replies

2. Programming

Compile freeBSD binaries in Linux

I have to compile some c-programm as a binary for freeBSD, but I have no possibility to install and work with freeBSD itself - can I compile the needed bninaries in other OSes (Linux or Windows)??? (0 Replies)
Discussion started by: shalmoo
0 Replies

3. Programming

How to compile a c program by using gcc

Hi all, Yeasterday I try to compile c program by using cygwin. I just find an errors the fist one is concerinig about the end of the line. To summit my Assignment which is the day after tommorow I have to compile my c program by using just gcc. If any one know what do I have to... (5 Replies)
Discussion started by: Bell
5 Replies

4. Programming

how to compile a program statically

how can i do static compilation in cc and -lldap i have system defined and user defined header file. Can any one suggest any site where from i can get some information about static and dynamic compilation. Thankx (1 Reply)
Discussion started by: bhakti
1 Replies

5. Programming

How compile sample libxslt program?

What are the command I use to compile the sample program at the bottom of the page of http://xmlsoft.org/XSLT/tutorial/libxslttutorial.html? Here are my attempts: g++ -c libxslt_tutorial.cpp -I/usr/include/libxml2 g++ libxslt_tutorial.o -l xslt -l xml Here are the errors I get when I try... (1 Reply)
Discussion started by: siegfried
1 Replies

6. Programming

compile a c program

I am trying to compile a c program on AIX 5.3L 64-bit unix. I have used this program in the past and it works. Does anybody know what this error means? /usr/local/bin> gcc get_epoch_secs.c get_epoch_secs gcc: get_epoch_secs: No such file or directory get_epoch_secs.c: In function... (8 Replies)
Discussion started by: djehresmann
8 Replies

7. Shell Programming and Scripting

Still unable to compile pro*c program

I am unable to compile the programs, I am able to compile .pc to .c but later part of the compilation from .c to executalbe i am unable to do. Here is the way i am doing make -f $LIB_LIB/makefile.templ sample I am getting the following errors, which environment and where to set to point... (1 Reply)
Discussion started by: satvd
1 Replies

8. UNIX for Advanced & Expert Users

compile a c program in a encrypted way

Hi Guys, I wonder I had have a look to the cc compile options but I could be missing one but basically I'm compliling a c program where I will storing a command to connect to a database and also userid and password. The issue is that after the module is generated using a command like strings I... (14 Replies)
Discussion started by: arizah
14 Replies

9. Programming

Not able to compile C program on z/OS (USS)

Hi, I having an issue while compiling a C program in USS (z/OS) machine. I was able to create objest files (.o) from source (.c) files but when I try to create a binary file from the object files I am getting the below error. $ cc util.o sock.o app.o -lnsl -o ptf FSUM3067 The archive... (7 Replies)
Discussion started by: madhu84
7 Replies

10. UNIX and Linux Applications

Cannot compile/install gnu program

Hello, I'm trying to install ansifilter which is a program that translates ansi text to HTML. The idea is to install it on AIX 7.1 but is failing. All de appropriate gcc libraries and requirements for this software were installed successfully, but when I do the gmake I get the following... (4 Replies)
Discussion started by: bazajav
4 Replies
MagickCore-Config(1)					      General Commands Manual					      MagickCore-Config(1)

NAME
MagickCore-config - get information about the installed version of ImageMagick SYNOPSIS
MagickCore-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version] DESCRIPTION
MagickCore-config prints the compiler and linker flags required to compile and link programs that use the ImageMagick Application Program- mer Interface. EXAMPLES
To print the version of the installed distribution of ImageMagick, use: MagickCore-config --version To compile a program that calls the ImageMagick Application Programmer Interface, use: cc `MagickCore-config --cflags --cppflags --ldflags --libs` program.c OPTIONS
--cflags Print the compiler flags that were used to compile libMagick. --cppflags Print the preprocessor flags that are needed to find the ImageMagick C include files and defines to ensure that the ImageMagick data structures match between your program and the installed libraries. --exec-prefix Print the directory under which target specific binaries and executables are installed. --ldflags Print the linker flags that are needed to link with the ImageMagick library. --libs Print the linker flags that are needed to link a program with libMagick. --version Print the version of the ImageMagick distribution to standard output. LICENSE
See http://www.imagemagick.org/script/license.php. AUTHORS
John Cristy, ImageMagick Studio LLC ImageMagick 2 May 2002 MagickCore-Config(1)
All times are GMT -4. The time now is 09:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy