This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/16787] NAN constant "(0.0/0.0)" cannot be compiled by Tru64 cc


------- Additional Comments From w dot northcott at unsw dot edu dot au  2005-02-13 22:55 -------
This is a documentation problem.    The current host specific docs at http://gcc.gnu.org/install/
specific.html#alpha*-*-* read:
*****************************
In Tru64 UNIX V5.1, Compaq introduced a new assembler that does not currently (2001-06-13) work 
with mips-tfile. As a workaround, we need to use the old assembler, invoked via the barely documented 
-oldas option. To bootstrap GCC, you either need to use the Compaq C Compiler:
        % CC=cc srcdir/configure [options] [target]
or you can use a copy of GCC 2.95.3 or higher built on Tru64 UNIX V4.0:
        % CC=gcc -Wa,-oldas srcdir/configure [options] [target]
*****************************
This is misleading and unhelpful:
1.  The only effect most people will observe from the assembler change is that gcc binaries built on 
older (pre 5.1) versions of Tru64 will not run on 5.1.
2.  The -oldas seems to be unecessary.
3.  The -ieee flag is vital to bootstrap using the DEC compiler.  So the configure suggestion should 
read: 'To bootstrap GCC, you either need to use the Compaq C Compiler:
        % CC="cc -ieee" srcdir/configure [options] [target]'

Could someone please please fix the documentation.
Bill Northcott


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16787


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]