Sponsored Content
Operating Systems AIX how to find out the compiler version and OS from binary file Post 302272877 by bakunin on Thursday 1st of January 2009 02:46:05 PM
Old 01-01-2009
You might want to explore the "what" command ("man what") to get the revision information about the program. This probably will not tell you the compiler revision used to compile the program, though - not directly so. It *might* provide you with the information necessary to find out the used compiler maybe based on the library information and some arbitrary guesswork.

As a last-ditch effort you might use "strings program | more" and again use some educated guesses to find it out.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

gcc compiler version?

How do you determine which version of the GNU gcc compiler is on your system? (1 Reply)
Discussion started by: Ben070371
1 Replies

2. UNIX for Dummies Questions & Answers

What version is the compiler?

Hi ! we have a intel fortran compiler on our computer. How do i find out what version it is ? Thank you, dsmv. (1 Reply)
Discussion started by: dsmv
1 Replies

3. HP-UX

how can I install aC++ Compiler bundle Evaluation version

according those steps 1. Copy your 26 digit hexadecimal license key in a plain text (ASCII) file. 2. Save the file as aCC.cwd in the following location: /opt/aCC/newconfig/aCC.cwd 3. export the variable ST_CODEWORD to point to the file where the license key is stored. ... (0 Replies)
Discussion started by: alert0919
0 Replies

4. AIX

install two different compiler version

Hi all. I have a simple question. There's a way to install under AIX system (5.3) two different compiler version, i.e. ibm xlf fortran 11 and 12? Seems that smitty doesn't allows user to change the default installation path; it only allows you to save the replaced files of the superseded... (1 Reply)
Discussion started by: poldo000
1 Replies

5. Programming

Scan binary for Clearcase version number?

Hi, Would anyone know how to detect a Clearcase version number from a binary? I dont have a 1-1 source for the current running prod binary, and I would like to retreive it from Clearcase. I tried the Unix strings command to find anything interesting, but without luck, Thanks (1 Reply)
Discussion started by: shriyer123
1 Replies

6. Shell Programming and Scripting

compiler bash shell to binary

helow all, i need your advice for compiler bash shell to binary i am using shc but my script using function so shc have error like this shc: invalid first line in script: function date2stamp()how can i compile to binary if doesn't have compiler i want encode my script how i can do that???? ... (1 Reply)
Discussion started by: zvtral
1 Replies

7. Programming

Choose compiler version

Hi, I'm new, here, and I'm searching for a simple solution for a simple problem. I'm working on RedHat 4.4.6-4 through a CentOS Virtual Machine and due to some reasons I must compile my C++ codes with these two different g++ versions: 4.4.6 and 4.2.2. The fact is that I should be able to... (4 Replies)
Discussion started by: Marcuss
4 Replies

8. Programming

Incompatiblity of the code due to CC compiler version mismatch.

Incompatiblity of the code due to CC compiler version mismatch. I have a machine with Machine A-- Operating System:SunOs 5.8 Generic_117350-45 sun4u sparc SUNW,Ultra-80(solaris 5.8) CC Compiler:CC: WorkShop Compilers 4.2 16 Jun 1998 C++ 4.2 patch 104631-07 we have compiled C++... (36 Replies)
Discussion started by: Revathi R
36 Replies

9. AIX

Checking xlc compiler version

Hi, Below is output of lslpp command. bash-3.00# lslpp -L | grep xlC xlC.aix50.rte 11.1.0.1 C F XL C/C++ Runtime for AIX 5.3 xlC.cpp 9.0.0.0 C F C for AIX Preprocessor xlC.msg.en_US.cpp 9.0.0.0 C F C for AIX... (2 Replies)
Discussion started by: manoj.solaris
2 Replies

10. UNIX for Beginners Questions & Answers

UNIX utility to find difference in folder, file and contents of file against a base version

Hi, I am trying to find out whether there are any Unix utilities that compares folders, files and contents within the file and provides a comprehensive report. The comparison can be against base version of a folder and file with content. Can you please let me know of such a utility? Thanks,... (6 Replies)
Discussion started by: Sripathi_ks
6 Replies
FORTRAN(1)							   User Commands							FORTRAN(1)

NAME
Fortran - Reports statistics regarding an HDF5 file and the objects in the file. DESCRIPTION
usage: h5fc [OPTIONS] <compile line> OPTIONS: -help This help message. -echo Show all the shell commands executed -prefix=DIR Prefix directory to find HDF5 lib/ and include/ subdirectories [default: /usr] -show Show the commands without executing them -showconfig Show the HDF5 library configuration summary -shlib Compile with shared HDF5 libraries -noshlib Compile with static HDF5 libraries [default] <compile line> - the normal compile line options for your compiler. h5fc uses the same compiler you used to compile HDF5. Check with your compiler's man pages for more information on which options are needed. You can override the compiler and linker to compile your program by setting the following environment variables accordingly: HDF5_FC - use a different Fortran 90 or 95 compiler HDF5_FLINKER - use a different linker HDF5_USE_SHLIB=[yes|no] - use shared or static version of the HDF5 library [default: no] You can also add or change paths and flags to the compile line using the following environment varibles or by assigning them to their counterparts in the 'Things You Can Modify to Override...' section of h5fc Variable Current value to be replaced HDF5_FFLAGS "" HDF5_LDFLAGS "" HDF5_LIBS "" Note that adding library paths to HDF5_LDFLAGS where another hdf5 version is located may link your program with that other hdf5 library version. COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING SEE ALSO
The full documentation for Fortran is maintained as a Texinfo manual. If the info and Fortran programs are properly installed at your site, the command info Fortran should give you access to the complete manual. Fortran (Debian 4.6.1-4) 4.6.1 August 2011 FORTRAN(1)
All times are GMT -4. The time now is 05:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy