/*
$Id: hg_linux_elf.cf,v 1.2 1996/10/17 13:35:53 hleitner Exp $

$Log: hg_linux_elf.cf,v $
Revision 1.2  1996/10/17 13:35:53  hleitner
DefaultCCOptions uses -pipe for faster compilation.

Added shared library support: HaveShared is defined;
SharedCCLdFlags are used for linking binaries with shared libraries.

Revision 1.1  1996/07/25 17:34:15  bheide
Initial revision


*/

XCOMM platform: LINUX (ELF)

#define OSMajorVersion     2
#define OSMinorVersion     0

/* We really need XLibDir -- bheide070795 */
#ifndef XLibDir
#define XLibDir /usr/X11R6/lib
#endif

/* g++ 2.6.4 950218 has problems with -O6; mpichler, 19950229 */
/* g++  has also problems with -O2; hleitner, 22.03.1995 */
/* we are back to gcc/g++ 2.6.3; let's try again -O2 -- bheide070795 */
#define OptimizeCCFlags -O2
#define DefaultCCOptions       -pipe

/* I don't know, why we need -static... -- hdg241194 */
/* I don't think that we need this anymore -- bheide240796 */
/* #define DebugCCFlags -static -g */

#define ExtraCCDefines -DOSMajorVersion=OSMajorVersion -DOSMinorVersion=OSMinorVersion

#undef TurnOnOptimizing
#define TurnOnOptimizing	YES

/* We define our own CcCmd/CCDriver because we have only gcc 2.7.2 for
   linux ELF -- bheide240796 */
#ifndef CcCmd
#define CcCmd gcc
#endif
  
#ifndef CCDriver
#define CCDriver g++
#endif

#define HaveShared

#ifndef SharedCCLdFlags
#define SharedCCLdFlags -Xlinker -rpath -Xlinker /usr/local/Hyper-G/shlib:/usr/local/Harmony/shlib -L$(HGSHAREDLIBDIR)
#endif

#include <gcc.def>
