[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #INO-263031]: Compiling and Running LDM and GEMPAK on Solaris 11.2



Chris,

> Attached are a few files with some results.
> 
> We have both the GCC and Solaris C compilers on the system.

What's the absolute pathname of the cc(1) compiler?

> The files
> with "32" in their names were built in what appears to be the default
> 32-bit environment for compiling.  (A little Google searching suggests
> that the default is to build 32-bit executables with GCC and CC on
> Solaris, but that is unconfirmed beyond that.)
> 
> The two files with "64" in their names were built by adding the option
> "-m64" to the compile command.  Again, this was based on a search that I
> found which suggested this would make 64 bit objects.  I'm not convinced
> that did what we wanted it to.

I've used the "-m64" option successfully in the past. It would be given to the 
configure(1) script via the CFLAGS argument. For example,

    ./configure CFLAGS=-m64

> We found a backup of the old Solaris 10 LDM installation and verified
> that the binaries are 64 bit.  We have the config.status and other
> pieces as well, if those would be of any help to you. We don't know if
> the previous system administrator did anything special to make this
> work, or not.
> 
> 
> Old LDM
> 
> [ldm@wxthumper ~]$ ll /storage/home/ldm.old/runtime
> lrwxrwxrwx   1 ldm      data           9 May 18  2009
> /storage/home/ldm.old/runtime -> ldm-6.7.0/
> 
> [ldm@wxthumper ~]$ file /storage/home/ldm.old/bin/pqact
> /storage/home/ldm.old/bin/pqact:        ELF 64-bit LSB executable AMD64
> Version 1 [SSE2 SSE FXSR CMOV FPU], dynamically linked, not stripped
> 
> New LDM
> [ldm@wxthumper ~]$ ls -l runtime
> lrwxrwxrwx   1 ldm      data          10 Nov  5 13:59 runtime -> ldm-6.12.6/
> 
> [ldm@wxthumper ~]$ file bin/pqact
> bin/pqact:      ELF 32-bit LSB executable 80386 Version 1, dynamically
> linked, not stripped
> 
> As always, thanks or the help!
> 
> Cheers,
> Chris Herbster
> 
> --
> 
> Dr. Christopher G. Herbster
> Associate Professor
> Director of Science and Technology
> for the ERAU Weather Center
> Applied Aviation Sciences
> Embry-Riddle Aeronautical Univ.
> 600 S. Clyde Morris Blvd.
> Daytona Beach, FL 32114-3900
> 
> 386.226.6444 Office
> 386.226.6446 Weather Center
> http://wx.erau.edu/

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: INO-263031
Department: Support LDM
Priority: Normal
Status: Closed