aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix/Cons_gcc.pm
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-25 21:43:48 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-25 21:43:48 +0000
commitf88350b2cd66fc278f479ac4af1e6ff4f420507a (patch)
tree5429e525d8bb1e323adfc909e2ed36110b328d88 /code/unix/Cons_gcc.pm
parent6f6a6d0e4d64c69e56082d82c12c0cee7155f43c (diff)
downloadioquake3-aero-f88350b2cd66fc278f479ac4af1e6ff4f420507a.tar.gz
ioquake3-aero-f88350b2cd66fc278f479ac4af1e6ff4f420507a.zip
* Removed cons based build system
* Removed some id specific shell/perl scripts * Removed some unused asm files * Removed prehistoric RPM build rules git-svn-id: svn://svn.icculus.org/quake3/trunk@104 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix/Cons_gcc.pm')
-rw-r--r--code/unix/Cons_gcc.pm47
1 files changed, 0 insertions, 47 deletions
diff --git a/code/unix/Cons_gcc.pm b/code/unix/Cons_gcc.pm
deleted file mode 100644
index 485d1a3..0000000
--- a/code/unix/Cons_gcc.pm
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Some utilities to handle gcc compiler setup
-#
-
-package Cons_gcc;
-
-# pass the compiler name
-# returns an array, first element is 2 for 2.x 3 for 3.x, then full version, then machine info
-sub get_gcc_version
-{
- my @ret;
- my ($CC) = @_;
- my $version=`$CC --version | head -n 1`;
- chop($version);
- my $machine=`$CC -dumpmachine`;
- chop($machine);
- if($version =~ '2\.[0-9]*\.[0-9]*')
- {
- push @ret, '2';
- } else {
- push @ret, '3';
- }
- push @ret, $version;
- push @ret, $machine;
- return @ret;
-}
-
-# http://ccache.samba.org/
-# check ccache existence and path
-# returns an array, first element 0 / 1, then path
-sub get_ccache
-{
- my @ret;
- $ccache_path=`which ccache`;
- chop($ccache_path);
- if(-x $ccache_path)
- {
- push @ret, '1';
- push @ret, $ccache_path;
- return @ret;
- }
- push @ret, '0';
- return @ret;
-}
-
-# close package
-1;