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 CENTOS
ocamlmktop
OCAMLMKTOP(1) General Commands Manual OCAMLMKTOP(1)NAME
ocamlmktop - Building custom toplevel systems
SYNOPSIS
ocamlmktop [ -v|-version|-vnum ] [ -cclib libname ] [ -ccopt option ] [ -custom [ -o exec-file ] [ -I lib-dir ] filename ...
DESCRIPTION
The ocamlmktop(1) command builds OCaml toplevels that contain user code preloaded at start-up. The ocamlmktop(1) command takes as argument
a set of x.cmo and x.cma files, and links them with the object files that implement the OCaml toplevel. If the -custom flag is given, C
object files and libraries (.o and .a files) can also be given on the command line and are linked in the resulting toplevel.
OPTIONS
The following command-line options are recognized by ocamlmktop(1).
-v Print the version string of the compiler and exit.
-vnumor-version
Print the version number of the compiler in short form and exit.
-cclib -llibname
Pass the -llibname option to the C linker when linking in ``custom runtime'' mode (see the corresponding option for ocamlc(1).
-ccopt Pass the given option to the C compiler and linker, when linking in ``custom runtime'' mode. See the corresponding option for
ocamlc(1).
-custom
Link in ``custom runtime'' mode. See the corresponding option for ocamlc(1).
-I directory
Add the given directory to the list of directories searched for compiled interface files (.cmo and .cma).
-o exec-file
Specify the name of the toplevel file produced by the linker. The default is is a.out.
SEE ALSO ocamlc(1).
OCAMLMKTOP(1)