10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need UNIX scripts for polling, Uncompressing files and moving files between directory. Also trying to save file paths and any other variables in an independent file (.env) and use these at runtime by executing this file in the main script. (3 Replies)
Discussion started by: new2script
Im trying to compile a program written in C..
I am able to compile it to X86, especifically Ubuntu..
But i cant compile it to mips ar71xx architecture..
im using mips-linux-uclibc-gcc cross compiler.
this is the portion of code:
//STAT: LOGIN INFO
// 3. login info
i =... (3 Replies)
Discussion started by: lordtrex
//Find the root of the equation (x^2)-2 by bisection method.
using namespace std;
double f(double x)
} //Suppose the function is (x*x)-2.
void calcx(double a1,double b1)
x =... (2 Replies)
Discussion started by: poonam.gaigole
4. UNIX for Dummies Questions & Answers
i need to compile a proc program, say prog.pc
can we compile this program in the unix environment? does this need a make file? can anyone help me on this since i am new to this area.
Thanks in advance. (1 Reply)
Discussion started by: csprog
I have made use of 'valgrind' and -finstrument-functions compiler option for debugging / analyzing code. Both the options lets us know the line / file being executed to some extent.
Is there a generic way that lets program dump the file:line it is getting executed dumped to a log file during... (3 Replies)
Discussion started by: uunniixx
(gdb) r --------------------- enter
Breakpoint 1, 0x0000000000409d40 in main ()
Single stepping until exit from function main,
which has no line number information.
Find_Cmd_Option: found option no. 2: seed (s)
Find_Cmd_Option: found option no. 5: dfile (c)
Initial no. div... (1 Reply)
Discussion started by: cdbug
I wanted to know if i can write a program using switches and signals, etc to trace execution of other unix program which calls c program internally.
If yes how? If not with signals and switches then are there any other methods apart from debugging with gdb/dbx. (3 Replies)
Discussion started by: jiten_hegde
8. UNIX for Dummies Questions & Answers
I'm new to HP-Unix programming; I have a few programs, don't know the programming language used. I have to make minor changes and to recompile the source code. How do I find the programming language used and the compiler?
Nick. (3 Replies)
Discussion started by: NicoMan
how can I compile and execute multifile program in unix os.:o (0 Replies)
Discussion started by: alokmishra8
Hi my friends
I am beginner unix programmer I have written small c++ program in text editor and I have change it mode to 555 to make it executable file to use it in unix O.P.
but some syntax erroe came for <<
can any one help... (5 Replies)
Discussion started by: bintaleb