OSDN Git Service

* config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.
[pf3gnuchains/gcc-fork.git] / gcc / config / alpha / osf5.h
1 /* Definitions of target machine for GNU compiler, for DEC Alpha on Tru64 5.
2    Copyright (C) 2000, 2001 Free Software Foundation, Inc.
3
4    This file is part of GNU CC.
5
6    GNU CC is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 2, or (at your option)
9    any later version.
10
11    GNU CC is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15
16    You should have received a copy of the GNU General Public License
17    along with GNU CC; see the file COPYING.  If not, write to
18    the Free Software Foundation, 59 Temple Place - Suite 330,
19    Boston, MA 02111-1307, USA.  */
20
21 #undef LONG_DOUBLE_TYPE_SIZE
22 #define LONG_DOUBLE_TYPE_SIZE  128
23
24 /* Tru64 UNIX V5 has a 16 byte long double type and requires __X_FLOAT to be
25    defined to get the appropriate prototypes for the long double functions
26    in <math.h>.  */
27
28 #undef CPP_XFLOAT_SPEC
29 #define CPP_XFLOAT_SPEC "-D__X_FLOAT"
30
31 /* In Tru64 UNIX V5.1, Compaq introduced a new assembler
32    (/usr/lib/cmplrs/cc/adu) which currently (versions between 3.04.29 and
33    3.04.32) breaks mips-tfile.  Passing the undocumented -oldas flag reverts
34    to using the old assembler (/usr/lib/cmplrs/cc/as[01]).
35
36    The V5.0 and V5.0A assemblers silently ignore -oldas, so it can be
37    specified here.
38
39    It is clearly not desirable to depend on this undocumented flag, and
40    Compaq wants -oldas to go away soon, but until they have released a
41    new adu that works with mips-tfile, this is the only option.
42
43    In some versions of the DTK, the assembler driver invokes ld after
44    assembly.  This has been fixed in current versions, but adding -c
45    works as expected for all versions.  */
46
47 #undef ASM_OLDAS_SPEC
48 #define ASM_OLDAS_SPEC "-oldas -c"