01-21-2008
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 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
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
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 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
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
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
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
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
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
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
LEARN ABOUT CENTOS
magick-config
Magick-Config(1) General Commands Manual Magick-Config(1)
NAME
Magick-config - get information about the installed version of ImageMagick
SYNOPSIS
Magick-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]
DESCRIPTION
Magick-config prints the compiler and linker flags required to compile and link programs that use the ImageMagick Application Programmer
Interface.
EXAMPLES
To print the version of the installed distribution of ImageMagick, use:
Magick-config --version
To compile a program that calls the ImageMagick Application Programmer Interface, use:
cc `Magick-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 Magick-Config(1)