JBC_CCOMPILER_PATH, JBC_SHAREDIDE_PATH and jsetkey are applicable only on
jBASE 3.

On jBASE 4 the jshell automatically detects the compiler and conveniently
adds the required environment to PATH, LIB, INCLUDE.

You can set these explicitly and jBASE will not attempt to add them...

Add to PATH:
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE;C:\Program
Files\Microsoft Visual Studio .NET 2003\VC7\BIN

Add to INCLUDE:
C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\INCLUDE

Add to LIB:
C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\LIB

If these are not explicitly set then this is why you are able to compile and
catalog in a jshell and not in a Windows shell.

Dan


On Mon, Jun 6, 2011 at 7:10 PM, Jonathan B. <[email protected]> wrote:

> When you run jdiag in Windows, you get to see what path jsh.exe
> automatically comes up with for your C compiler.  However, I'm trying
> to see how one sets this value explicitly.
>
> The jdiag output shows the key / value below:
> "VC++ Registry               : Version 7; Path C:\Program Files
> (x86)\Microsoft Visual Studio .NET 2003\VC7"
>
> I've tried overwriting that value using the JBC_CCOMPILER_PATH
> environment variable.  But, jsh.exe is still appending the path
> variable with the entry above saying that the value I place in
> JBC_CCOMPILER_PATH does not match the value in VC++ Registry.
>
> It seems there used to be a tool called jsetkey for this, but that
> seems to be obsolete?  How else do I set the VC++ Registry key?  Where
> are these values stored?
>
> Thanks,
> Jonathan
>
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to