Hello everyone i have a script written in C and i need to compile it in a unix machine i am a first time programmer and i do not know how to compile this and also i need to save the results in a table please help we normally use instructions like build_bb -f but now im confused i dnt knw hw to use that.
You should have a cc or gcc command. This is the C compiler.
This will tell you whether you have to use cc or gcc:
One of them should show something like
If you don't check back here and let us know.
suppose you have a file mycode.c and you want to compile and run it.
You now know the namke (gcc or cc) to use, I'm using gcc you may have to use cc, okay?
Step 1:
This means compile mycode.c into an exectutable file called "mycode"
Next run your code:
Note the ./ in front of the file name.
I tried to install UNIX system v R4, but the sources i've found(archive.org and WinWorldPC) are incomplete (missing cc, for example). Since archive.org has the source files i thought i could compile it and upload it for other users, but i cant get it to work. Any advice? (10 Replies)
Hi, I'm trying to compile the code for a program and I run into the following error,
ncfile.h: In constructor ‘ncfile::NcAttribute<T>::NcAttribute(const std::string&, const char*)':
ncfile.h:357: error: there are no arguments to ‘strlen' that depend on a template parameter, so a declaration of... (1 Reply)
Hi All..
Am new to Unix!!
Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp).
And also i have to transfer the input file from the local directory to Unix machine (Server)
Any help from you... (1 Reply)
Hello,
I am trying to compile a Pro*C program under unix:
proc iname=test.pc
works fine
but then I am not able to compile the test.c file :
gcc test.c -o test.o -L $ORACLE_HOME/lib -l clntsh
/usr/bin/ld:
Object file format error in: /u01/app/oracle/product/10.1.0.2.0/lib:... (1 Reply)
if somebody can help me pls.
i need the source code for a shell which compiles C or java programs in unix
i need a very short and simple one, just the compiling part
Respect (2 Replies)
Guys, I would like to know who are using monitoring tools? I use Nagios before but it seems is more on Linux and Windows platform.
- Nagios
- BigBrother
- BigSister
- Cacti
- MRTG
- JFFNMS
- anymore? Please give comment too
I would like to have some comment on UNIX monitoring tools.... (2 Replies)
I need some monitoring tools for SCO 7.1.4
Does anybody reccomend some software that I can install to monitor mem leaks and odd SAR values etc (2 Replies)
I like to know the bare minimum development/ testing tools which can be used with Unix environment wherein the applications are written in different combination - C++ COBOL..
I like to know list of development, performance, testing tools that can be used in Unix .
Thanks in advance
ls1429 (1 Reply)