View Single Post
  #2 (permalink)  
Old 02-07-2006
kvogel kvogel is offline
Registered User
 
Name: Karl Vogel
Organization: SEAGHA cv
Project: Internal projects
 
Join Date: Feb 2006
Posts: 10
Tru64 patches for Ice V3.0.0 #2

Patch against Make.conf.OSF1

* use cxx as the default compiler
* define CC to include a preprocessor define (-D__osf1__), since the icecpp makefile doesn't pass CFLAGS. Fixes:

Code:
make[2]: Entering directory `src/icecpp'
cc -I. -c cccp.c
cc: Error: config.h, line 80: #error "unsupported operating system or platform" (errormessage)
#   error "unsupported operating system or platform"
----^
* compiler flags suppress certain warning messages. These are:

Code:
cxx: Warning: lex.yy.c, line 1553: statement is unreachable (D:codeunreachable)
                                        if ( ! yy_did_buffer_switch_on_eof )
----------------------------------------^
==
cxx: Warning: PythonUtil.cpp, line 1245: statement either is unreachable or
          causes unreachable code (D:codcauunr)
                _out << "'" << value << "'";
----------------^
==
cxx: Warning: Grammar.tab.c, line 1342: code can never be executed at label
          "yyerrorlab". (D:labelnotreach)
yyerrorlab:
^
* use -D__USE_STD_IOSTREAM -- from the man page of cxx:

Code:
  -D__[NO_]USE_STD_IOSTREAM
       Use or don't use the standard iostreams. If -D__USE_STD_IOSTREAM is
       specified, this forces the inclusion of the ANSI standard version of
       the iostream header file.  This is the default in strict_ansi and
       strict_ansi_errors mode of the compiler. Otherwise the pre-standard
       AT&T-compatible version of iostreams is used.
* ICEUTIL_OS_LIBS link with -lrt which enables usage of nanosleep()
Attached Files
File Type: txt tru64-ice-makefile.patch.txt (1.8 KB, 80 views)
__________________
Karl Vogel
Seagha CV

Last edited by kvogel : 02-07-2006 at 07:28 AM.
Reply With Quote