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.
Stonie, The endian-ness is defined for the OPSYS type "Linux", so your Makeinc.${NA_OS} must have "OPSYS = Linux". That will allow the appropriate MCHPRM.Linux include file to be found which sets MTMACH = MTLNUX. The dm library code checks for MTLNUX and other little endian machine types. Steve On Thu, 5 Jun 2003, Stonie R. Cooper wrote: > Steve, > > Playing with a new Linux distro (SuSE 8.2), and the make did something weird > with gempak 5.6.j - trying to debug; almost everything compiled without > incident (except Garp), but everything was compiled big endian. So, I have > gui and interface - but no data, including maps, can be displayed. > > What is the magical macro that sets the compile to be little endian? I also > noticed the .INIT did not run, either - so had to make the install dirs by > hand. This is with gmake 3.80 and gcc 3.3. Thanks! > > Stonie >