Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

extra slash in tbbvars.sh script - Linux

pivo12
Beginner
378 Views

Hello,

I am encountering the following problem on tbbvars.sh script of Linux Composer XE

opt/intel/tbb/bin/tbbvars.sh :

[bash] get_intel64(){

echo /cc4.1.0_libc2.4_kernel2.6.16.21

}[/bash]

The leading slash gives an extra / in directory path:

opt/intel/composerxe-2011.4.191/tbb/lib/intel64//cc4.1.0_libc2.4_kernel2.6.16.21

Is this a typo?

Intel C++ Intel 64 Compiler XE for applications running on Intel 64, Version 12.0.4.191 Build 20110427
Copyright (C) 1985-2011 Intel Corporation.All rights reserved.
FOR NON-COMMERCIAL USE ONLY

Linux 64bit
Kernel version 2.6.37.6

Tamas I.

0 Kudos
1 Reply
Dale_S_Intel
Employee
378 Views
When you say it's a problem, what do you mean? It shouldn't be a problem on linux to have consecutive slashes in a path name. I suspect it's done for safety's sake, just in case someone else leaves the trailing slash off.
Dale
0 Kudos
Reply