Search Results

Search: Posts Made By: Praveen_218
1,512
Posted By Scrutinizer
Try: ABC=pqr bash...
Try:
ABC=pqr bash ./my_commandScript_using_the_exportedVarABC
or if the script is executable (and has #!/bin/bash as the shebang or if bash is the current shell)
ABC=pqr...
1,512
Posted By rbatte1
Maybe something like would do the...
Maybe something like would do the trick:-/bin/bash -c "export ABC=pqr ; ./my_commandScript_using_the_exportedVarABC"

Does that help?


Robin
Forum: Programming 02-18-2014
11,030
Posted By jim mcnamara
I'm confused. Is there no way to link your...
I'm confused. Is there no way to link your library code on each platform? That way it will always run wherever it is ported to. It is not clear to me if this is what you are asking.

You seem...
Forum: Programming 07-25-2013
16,205
Posted By shamrock
The use of char __user *buf is typically found in...
The use of char __user *buf is typically found in the linux kernel...denoting that this address is in the user space. For example when writing to disk the kernel copies the contents of *buf into a...
84,028
Posted By bakunin
It has been explained why this is not possible....
It has been explained why this is not possible. In fact it should be this way, just like the state is claiming any property which is being abandoned without anyone inheriting it for a certain amount...
Forum: Programming 05-05-2011
20,569
Posted By alister
I know very little about C++. The following...
I know very little about C++. The following comment is not intended to address the original poster's issue. It's just a brief response to what seems to be a tendency to equate malloc'd memory with...
Forum: Programming 01-18-2011
2,788
Posted By Corona688
main's location is probably a coincidence from...
main's location is probably a coincidence from main being the first(or maybe even only?) function in your code. It doesn't need to be at anywhere in particular.

There is a tiny bit of code that's...
Forum: Programming 12-01-2010
2,638
Posted By Corona688
So, you're trawling the entire /usr/lib/...
So, you're trawling the entire /usr/lib/ directory? by default gcc uses these and only these: # Compiling with -static to make it more obvious which things it uses
$ echo "main() { return(42); }" >...
Forum: Programming 11-28-2010
2,638
Posted By jim mcnamara
The short answer is that gcc builds symbol tables...
The short answer is that gcc builds symbol tables on the fly by parsing your code into required symbols (a "myfile".o file plus the crt1.o file (where _start() lives) ), then invoking ld against...
Forum: Programming 05-19-2006
65,950
Posted By ranj@chn
compile proc
First generate the .c code from .pc.
proc -iname=filename.pc

Then generate the .o file
cc -I${ORACLE_HOME}/precomp/public -c filename.c

After that link the .o to libraries and produce the...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 12:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy