File: gcc

package info (click to toggle)
nvidia-cuda-toolkit 5.5.22-6~bpo70%2B2
  • links: PTS, VCS
  • area: non-free
  • in suites: wheezy-backports
  • size: 1,129,272 kB
  • sloc: sh: 4,033,472; makefile: 140
file content (14 lines) | stat: -rwxr-xr-x 294 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# Check for g++ to avoid using different versions of gcc and g++ on systems
# with both g++-4.X and gcc-4.Y but not g++-4.Y installed.

if which g++-4.6 >/dev/null 2>&1; then
	prog=gcc-4.6
elif which g++-4.5 >/dev/null 2>&1; then
	prog=gcc-4.5
else
	prog=gcc-4.4
fi

exec $prog "$@"