Query: sc-config
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SC-CONFIG(1) General Commands Manual SC-CONFIG(1)NAMEsc-config - script to get information about the installed version of SCSYNOPSISsc-config [--prefix[=DIR] ] [--exec-prefix[=DIR] ] [--version] [--libs] [--cppflags] [--cc] [--cflags] [--cxx] [--cxxflags] [--f77] [--f77flags]DESCRIPTIONThe sc-config program can be used to obtain the compilers, compiler options and libraries needed to use the SC (Scientific Computing) tool- kit from your program.OPTIONSThe sc-config program returns information about how SC was compiled and installed. The following information is available: --prefix The directory where SC is installed. --version The version of SC. --libdir The directory were the libraries are found. --libs The libraries and library paths needed to link. --cppflags The include directories needed to build. --cc The C compiler. --cflags The C compiler flags. --cxx The C++ compiler. --cxxflags The C++ compiler flags. --f77 The FORTRAN 77 compiler. --f77flags The FORTRAN 77 compiler flags.EXAMPLESTo use the sc-config program to link your executable to SC, use a Makefile for GNU make similar to the following: SCCONFIG = /usr/bin/sc-config CXX := $(shell $(SCCONFIG) --cxx) CXXFLAGS := $(shell $(SCCONFIG) --cxxflags) CPPFLAGS := $(shell $(SCCONFIG) --cppflags) LIBS := $(shell $(SCCONFIG) --libs) myprog: myprog.o $(CXX) $(CXXFLAGS) -o $@ $^ $(LIBS) Version 2 15 Feb 2001 SC-CONFIG(1)
Related Man Pages |
---|
magickwand-config(1) - centos |
graphicsmagick-config(1) - debian |
freealut-config(1) - debian |
sc-config(1) - debian |
wand-config(1) - suse |
Similar Topics in the Unix Linux Community |
---|
Searching a string in a file |
Getting Rid of Having to Write to Flat Files |
what does this mean? |
shc compiler issue |
FORTRAN read statement |