07-17-2001
Just to make sure I have this clear, If you dont mind helping.
wood that be:
> cc code.c -o filename -i linklibrary.dll -L /temp/
Any help is appreciated????
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am accessing two files. I am using read command to read from the files.
For the first file, I need read the fields delimited by spaces, and for the other file, I need to read the whole line as a single field including the spaces.
When I used read command for the second file, the spaces... (4 Replies)
Discussion started by: kumariak
4 Replies
2. UNIX for Dummies Questions & Answers
Hi
I want to archive the following all the files and directory like listed below:
$ ls -a
. .. .bash_history .bash_logout .bash_profile .bashrc .emacs .mysql_history public_html .viminfo
What I tried is to use the following command
$ gtar cvzf allmyfiles.tar.gz *
... (1 Reply)
Discussion started by: monkfan
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I need to create recursive tar archive, while I put there only files of type a*.txt.
Without file filtering the command is: tar cfzf test.tar.gz test_tar/
How I include the switch for including only files with pattern a*.txt ?
Thanks a lot! (1 Reply)
Discussion started by: john.gelburg
1 Replies
4. Shell Programming and Scripting
Hello Experts,
I m newbie. Could u pls help me to write script on Sun solaris-
I have backup directory "/var/opt/backup/" where files are backed up in different directory "backup1" "backup2" "backup3".
I want to write a shell script which i will put in crontab and daily midnight it will... (1 Reply)
Discussion started by: thepurple
1 Replies
5. Shell Programming and Scripting
I am wondering how I can include external files in a perl script. I'm currently working on a website, and I'd like to put my menu items in a subroutine for example, and put that in another file such as menu.pl. That way, I can call the subroutine from each page (such as news.pl), and if I want to... (2 Replies)
Discussion started by: LNC
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Is it possible to include files (print with EOF, sort of like ssi) in perl/cgi?
Thanks (1 Reply)
Discussion started by: marringi
1 Replies
7. Shell Programming and Scripting
I want to list all the files in the current directory including those in the subdirectories as well as a single lot in the order of last updated. (Not as separate list given by ls -lRt).
Any suggestion?
Thanks (4 Replies)
Discussion started by: Soham
4 Replies
8. Red Hat
Hello,
I'm experimenting a problem on my rh server.
Red Hat Enterprise Linux AS release 3 (Taroon Update 8)
2.4.21-47.ELsmp #1 SMP i686 i686 i386 GNU/Linux
It started with a segmentation fault on
#id root
To resolve it, I've installed
coreutils-4.5.3-28.4.i386.rpm
But, I... (6 Replies)
Discussion started by: gogol_bordello
6 Replies
9. Shell Programming and Scripting
Hi,
Is is possible to zip a folder and all its contents within the folder ( including sub-directories and files) into a zip file? and can regain the same structure if unzipped?
Thanks (6 Replies)
Discussion started by: rudoraj
6 Replies
10. AIX
Hi All,
I am trying to install IIS Suite application on AIX box. It gave an error as below
Ensure the following libraries do not exist: /usr/lib/libicuio.a, /usr/lib/libicuuc.a, /usr/lib/libicui18n.a. These libraries may cause uvsh to not work properly.
I manually removed these files by... (1 Reply)
Discussion started by: tostay2003
1 Replies
LEARN ABOUT DEBIAN
sc-config
SC-CONFIG(1) General Commands Manual SC-CONFIG(1)
NAME
sc-config - script to get information about the installed version of SC
SYNOPSIS
sc-config [--prefix[=DIR] ] [--exec-prefix[=DIR] ] [--version] [--libs] [--cppflags] [--cc] [--cflags] [--cxx] [--cxxflags] [--f77]
[--f77flags]
DESCRIPTION
The 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.
OPTIONS
The 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.
EXAMPLES
To 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)