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
redland-config(1) General Commands Manual redland-config(1)NAME
redland-config - script to get information about the installed version of Redland
SYNOPSIS
redland-config [--cflags] [--help] [--libs] [--libtool-libs] [--prefix[=DIR]] [--private-libs] [--version-decimal] [--version]
DESCRIPTION
redland-config is a tool that is used to determine the compile and linker flags that should be used to compile and link programs that use
the Redland RDF library.
OPTIONS
redland-config accepts the following options:
--version
Print the currently installed version of redland on the standard output.
--version-decimal
Print the currently installed version of redland as a decimal integer.
--libs Print the linker flags that are necessary to link a redland program. This excludes linker arguments used to build the librdf
shared library.
--libtool-libs
Print the flags that are necessary to link a redland program with libtool.
--private-libs
Print the linker flags that are necessary to build the librdf shared library. This option is not usually needed because the librdf
shared library has already been dynamically linked against these libs.
--cflags
Print the compiler flags that are necessary to compile a redland program.
--prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that redland was built with when computing the output for the --cflags
and --libs options. This option must be specified before any --libs or --cflags options.
SEE ALSO redland(3),
AUTHOR
Dave Beckett - http://www.dajobe.org/ <http://www.dajobe.org/>
2008-09-07 redland-config(1)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)