Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

qd-config(1) [debian man page]

QD-CONFIGG(1)															     QD-CONFIGG(1)

NAME
qd-config - determine flags for compilation and linking SYNOPSIS
qd-config [options] DESCRIPTION
To link a Fortran-90 program with the C++ qd library, it is recommended to link with the C++ compiler used to generate the library. The Fortran 90 interface (along with a C-style main function calling f_main) is found in the qdmod library. The qd-config script can be used to determine which flags to pass to compile and link your programs. OPTIONS
--src Switch between source and system location. --prefix Output configured prefix value. --exec-prefix Output configured exec_prefix value. --build-flags Compiler options used during build. --build-libs Linker options used during build. --configure-args Configure arguments used for build. --cxx C++ compiler. --cflags C++ preprocessor and compiler options. --cxxflags C++ compiler options. --libs-la C++ linker options and libtool archive location. --libs C++ linker options. --fc Fortran compiler. --fcflags Fortran compiler options. --fclibs Fortran linker options. --fmainlib C++ linker options for main program written in Fortran. --version Output version. AUTHOR
This manual page was written by Daniel Leidert <daniel.leidert@wgdd.de> for the Debian project (but may be used by others). User Commands 2008-05-11 QD-CONFIGG(1)

Check Out this Related Man Page

caca-config(1)						      General Commands Manual						    caca-config(1)

NAME
caca-config - script to get information about the installed version of libcaca SYNOPSIS
caca-config [ --prefix= DIR] [ --exec-prefix= DIR] [ --version ] [ --libs ] [ --cflags ] DESCRIPTION
caca-config is a tool that is used to configure and determine the compiler and linker flags that should be used to compile and link progams, libraries, and plugins that use libcaca. The use of caca-config is deprecated. The more generic tool pkg-config should be used instead. OPTIONS
--cflags Print the compiler flags that are necessary to compile a program or library that uses libcaca. --exec-prefix=DIR If specified, use DIR instead of the installation exec prefix that libcaca was build with when computing the output for the --cflags and --libs options. This option must be specified before any of the --cflags and --libs options. --libs Print the linker flags that are necessary to link a program or library that uses libcaca. --prefix=DIR If specified, use PREFIX instead of the installation prefix that libcaca was built with when computing the output for the --cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified before any of the --cflags and --libs options. --version Prints the currently installed version of libcaca on standard output. EXAMPLES
gcc -o main.o $(caca-config --cflags) -c main.c is how you might use caca-config to compile a C source file for an executable program. gcc -o my_app $(caca-config --libs) main.o util.o is how you might use caca-config to link compiled objects into an executable program. SEE ALSO
pkg-config(1) AUTHOR
The libcaca library was written by Sam Hocevar <sam@hocevar.net>. This manual page was written for sdl-config by Branden Robinson, originally for Progeny Linux Systems, Inc., and the Debian Project. It was adapted to libcaca by Sam Hocevar. libcaca 2003-11-22 caca-config(1)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

C compiler

I have just installed C compiler, the installation was successful but when I try to excute a gcc file I received the error message "types.c: In function `main': > types.c:4: warning: return type of `main' is not `int' > ld: fatal: file values-Xa.o: open failed: No such file or directory >... (5 Replies)
Discussion started by: hassan2
5 Replies

2. Programming

C compiler

I'm new to C but eager to get started. I purchasewd beginning C by Ivor Horton and realise that I need a C compiler. I looking for the most appropriate and economical way to obtain this, any suggestions would be greatly appreciated. (5 Replies)
Discussion started by: ferret
5 Replies

3. UNIX for Advanced & Expert Users

re-compiling

I have a problem. How can I be sure that the binary currently in production is the binary originally produced by the compiler? I ask because recompiling the sources (ALL sources + stripping away the metadata: strip ...) does not give the same result. I am pretty sure that I wasn't hacked! ... (5 Replies)
Discussion started by: aViking
5 Replies

4. Programming

gcc compiler

i write c++ code it run perfectely with g++ compiler but same code when i compile with GCC compiler it gives linker error , followed these linker error /tmp/ccfZtXOQ.o(.text+0x22): In function `main': conf_system.cpp: undefined reference to `operator new(unsigned int)'... (5 Replies)
Discussion started by: munnu
5 Replies

5. Solaris

How do I compile a 64-bit program on SPARC??

Hi, wcslen(), strlen() returns size_t. On 64-bit platform i want to use int like str length is 10. int len = wcslen(str); On 64-bit what should I need to do if i wants the length in int. Because getting error as "Conversion of 64 bit type value to "int" causes truncation". if i... (17 Replies)
Discussion started by: amit_27
17 Replies

6. Solaris

Compiler - 32bit or 64bit?

Hi Gurus, I need to check whether the compiler installed in my system supports 64bit compilation. Server - Sun fire v490 OS - Solaris 5.9 Processor - Sparcv9 (64bit) Install Directory - /opt/SUNWSpro Compiler Model - Sun Forte C Compiler. My development team is claiming that there... (20 Replies)
Discussion started by: Hari_Ganesh
20 Replies

7. Programming

[c] is -lpthread correct option?

I read somewhere that I should use -pthread instead of -lpthread as compiler/linker flag, or define _REENTRANT. Is this incorrect to use only -lpthread? (I use gcc) (5 Replies)
Discussion started by: dawwin
5 Replies

8. Emergency UNIX and Linux Support

Generate Info From a Unix Binary

We have a situation where a binary from our build system is failing in one specific flow but the same from dev works fine. We are sure that build system picks up the right libs and code, however we see a difference of 6000 bytes in both. (build - 6000 bytes = size of dev binary) Hence we would... (7 Replies)
Discussion started by: uunniixx
7 Replies

9. Programming

AIX linker oddities...what is going on?

I've tried to figure out what the linker is smoking in AIX to no avail...so I'm trying to find a little information to see why it's being inconsistent. I have the following code in a shared library, it doesn't do anything useful, it's just there to exercise functions in a few system libraries: ... (11 Replies)
Discussion started by: DreamWarrior
11 Replies

10. Linux

Fortran Compiler cannot create executables

Hello everyone, I am trying to re-install quantum espresso-4.3 on the University's LINUX interface (because of a recent crash and I lost most of my files). when I " ./configure ", It is giving an error stating that : checking building system type... x86_64-unknown-linux-gnu checking... (7 Replies)
Discussion started by: Physicslad78
7 Replies

11. UNIX for Advanced & Expert Users

Getting library related error while executing a script

Hi , while executing below lines of a script compress /var/opt/MMS/NSM/dumpAlarm.1* find /var/opt/MMS/NSM/dumpAlarm.1*.Z -mtime +30 -exec rm {} \; i am getting below error ld.so.1: ls: fatal: vhost.so: open failed: No such file or directory Killed also i have... (7 Replies)
Discussion started by: Jcpratap
7 Replies

12. Programming

Incompatiblity of the code due to CC compiler version mismatch.

Incompatiblity of the code due to CC compiler version mismatch. I have a machine with Machine A-- Operating System:SunOs 5.8 Generic_117350-45 sun4u sparc SUNW,Ultra-80(solaris 5.8) CC Compiler:CC: WorkShop Compilers 4.2 16 Jun 1998 C++ 4.2 patch 104631-07 we have compiled C++... (36 Replies)
Discussion started by: Revathi R
36 Replies

13. Programming

Pointer and address

This code is to print out the program name and arguments list one by one: 1 #include<stdio.h> 2 3 void main(int argc, char *argv) 4 { 5 int iCount = 0; 6 while (iCount < argc) { 7 printf("argc:%d\t%s\n",iCount, argv); 8 ... (14 Replies)
Discussion started by: yifangt
14 Replies

14. Shell Programming and Scripting

FORTRAN Compiler

Need assistance in Fortran Compiler I need to install Fortran compiler on Linux distribution . I don't have root access to use rpm or yum to install compiler . Is there any way I can get it ? Are there any sites that has fortran compiler . Any links to download and install . (10 Replies)
Discussion started by: ajayram_arya
10 Replies

15. HP-UX

HP-UX uses cc -y and cc -g (-y and -g options) C compilation

Hello Experts, Would you please let me know what "-y " option does with cc compiler on HP-UX? As I am migrating application from HP-UX to RHEL 5 , at the time of running makefile make -f makefilename on Rhel 5, it is throwing error cc: unrecognized option '-y' <command line>:1:2: error:... (7 Replies)
Discussion started by: Belure Pooja B
7 Replies