Can you not write a makefile for it ? Overwrite the VCS action to call make on the makefile instead of calling gcc directly (if it is possible).
Thanks for your kind reply ..
Actually Now I am having a shell script inside which I am using the vcs command like
Here the last line calls my c files in my present directory..
But I can edit the last line as so that it links my lib(.so file) or search the directory where all my c files resides..
I am extreamly sorry to give some tool information for c file compilation to this forum
I Think it would support my explanation If I provide some VCS Tool information here..
I need help Badly..
Regards,
Prady
Last edited by user_prady; 02-12-2008 at 10:04 PM..
Hi mates,
I am trying to copile and link to C programs with command:
cc file1,file2
but i raises the error "file not found" ... am i doing the right way?
any suggestion will be appreciated.
thanks
abdul (4 Replies)
hi there
can anyone tell me how to search and copy files under unix?
im writing shell scripts with 'vi' and 'pico'
something like
read directoryName
if
then
echo Copying the files
copy those *.src files to sub1(another directory) using cp
else
... (4 Replies)
Hi
I'm getting
ld: fatal: option -h and building a dynamic executable are incompatible
ld: fatal: Flags processing errors
When I run
ld -shared -L/usr/dt/lib -lDtSvc -o builtin.so Workspace.o
after running
gcc -fPIC -I/usr/X11R6/include -I/usr/dt/include -c Workspace.c
I'm... (6 Replies)
hi,
This is the first time I work in a big C project. All source code files are located in say directory /source/pp and all header files are in /include/pp. I've created a link to both of these directories from my home dir, say /home/ss. So in the /home/ss dir I have the /source/pp and /include/pp... (1 Reply)
Hello,
Can anyone tell me how I can make a file link or shortcut in UNIX 4.0, several
file links where damaged during an outage examples below.
Examples: file -> file
libX11.so -> /usr/shlib/libX11.so.pre.O3D
All of the file links that were damaged were in /shlib and point to... (3 Replies)
I used to program ksh a while back, but I've been off in Oracle/Windows land (for clients -- not by choice) for so long that I can't remember what should be an easy thing. Here's the scenario:
1)Find all files and directories beneath some directory point (A).
2)If directory, make the... (7 Replies)
Hi, I have the following command to list files beginning with a specific name and containing some text...
find . -type f -name "dm_merge_domain_adm*" -exec grep -il "Error Message:" '{}' \; -print|xargs ls -ltr
It works fine, but seems to list two of each file, when they only exist once...any... (1 Reply)
I have a list of pattern in a file, I want each of these pattern been searched from 4 files. I was wondering this can be done in SED / AWK.
say my 4 files to be searched are
> cat f1
abc/x(12) 1
abc/x 3
cde 2
zzz 3
fdf 4
> cat f2
fdf 4
cde 3
abc 2... (6 Replies)
I have 2 txt files, 1.txt and 2.txt which contain the paths to files that need to be linked.
Example 1.txt:
/root/001/folder2/image4.nii.gz
/root/002/folder2/image4.nii.gz
Example 2.txt:
/root/001/folder2/image5.nii.gz
/root/002/folder2/image5.nii.gz
Each line represents images from... (7 Replies)
Basically my problem is that when I try to compile anything using ./configure && make, it fails because of linker errors. I can reproduce the behavior I'm getting as follows:
I have the two following files
main.c:
#include <stdio.h>
extern void func(void);
int
main(int argc, char... (5 Replies)
Discussion started by: MarshallBanana
5 Replies
LEARN ABOUT DEBIAN
lhapdf-config
LHAPDF-CONFIG(1) User Commands LHAPDF-CONFIG(1)NAME
lhapdf-config - script to get version number and compiler flags of the installed LHAPDF library
SYNOPSIS
lhapdf-config [[--help|-h] | [--prefix] | [--pdfsets-path]]
DESCRIPTION
lhapdf-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link pro-
grams that use LHAPDF.
OPTIONS --help | -h
: show this help message
--prefix
: show the installation prefix (cf. autoconf)
--incdir
: show the path to the LHAPDF header directory (for C++ interface)
--libdir
: show the path to the LHAPDF library directory
--datadir
: show the path to the LHAPDF installed data directory
--pdfsets-path : show the path to the directory containing the PDF set data files
--cppflags
: get compiler flags for use with the C preprocessor stage of C++ compilation
--ldflags
: get compiler flags for use with the linker stage of any compilation
--version
: returns LHAPDF release version number
AUTHOR
This manual page was written by Lifeng Sun <lifongsun@gmail.com> for the Debian system (but may be used by others).
lhapdf-config May 2011 LHAPDF-CONFIG(1)