Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Viewing all articles
Browse latest Browse all 34639

How to store the result of "which gcc"?

$
0
0

using VIX api I want to copy a C file into the guest and compile it and run it.

 

the problem is with compiling the C program. Here we need to supply the full path of gcc. but I full path might not be always known.

 

So, how to run "which gcc" in the guest than use the result to compile it?

 

Thanks in advance.

 

-Arindam


Viewing all articles
Browse latest Browse all 34639

Trending Articles