This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>From: Matthew Banta <address@hidden> >Organization: UMBC >Keywords: 199706182155.PAA01953 Matt, > > >We are having trouble compiling on an sgi64 irix 6.2 ... > > >We managed to compile the code to a 32 bit binary; however we can not > > >compile to a 64 bit binary. > > > > > >I am sure the problem is that we are not configuring correctly. We tried > > >to use the configuration for our machine listed in "tested systems" in > > >the install file but this did not seem to work. DO you have any > > >suggestion? You've identified a bug in the INSTALL document for IRIX64 6.2. Under the "IRIX64 binnie 6.2 03131016 IP26" heading, where we had -------- CC=/bin/cc -64 CFLAGS="-O -woff 1110,1167" # warnings 1110 & 1167 are lex(1)-induced CPPFLAGS=-DNDEBUG FC=/bin/f77 -64 FFLAGS=-O CXX=/bin/CC it should instead be: -------- CC='/bin/cc -64' CFLAGS="-O -woff 1110,1167" # warnings 1110 & 1167 are lex(1)-induced CPPFLAGS=-DNDEBUG FC=/bin/f77 -64 FFLAGS=-O CXX=/bin/CC (quotes are needed around the CC value). A similar error appears above this under "IRIX chevy 6.2 03131015 IP22", where -------- CC=/bin/cc -n32 CFLAGS=-O -DNDEBUG FC=/bin/f77 -n32 FFLAGS=-O CXX=/bin/CC should be replaced by -------- CC='/bin/cc -n32' CFLAGS=-O -DNDEBUG FC=/bin/f77 -n32 FFLAGS=-O CXX=/bin/CC I've just tried the change for -64, and it seems to work fine. Thanks for reporting the problem! --Russ _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu