Re: Executable on AIX..
From: sol gongola (sol_at_adldata.com)
Date: 02/08/05
- Next message: Bill Edison: "Re: Executable on AIX.."
- Previous message: Dan Million: "Re: Where to get slocate for aix?"
- In reply to: Bill Edison: "Re: Executable on AIX.."
- Next in thread: Bill Edison: "Re: Executable on AIX.."
- Reply: Bill Edison: "Re: Executable on AIX.."
- Reply: Gary R. Hook: "Re: Executable on AIX.."
- Reply: John R. Campbell: "Re: Executable on AIX.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 08 Feb 2005 13:27:33 -0500
Bill Edison wrote:
>
Correct, an .exe suffix can be used in the file name but unix/linux does not
use the suffix to determine if a file is an executable. It uses the executable
attribute in the directory entry and the magic number in the file.
This is different from microsoft, which will try to execute (and hang) a text
file if it happens to have a .com suffix.
sol
Bill Edison wrote:> I've seen "exe" file extensions here and there used as a self-extracting
> module similar to pkunzip. Quite a few of these can be found at
> http://www/bullfreeware.com
>
> cheers,
> bill
>
> Simon Marchese wrote:
> > Gancy wrote:
> >
> >> Hi All,
> >> I need to figure out only C/C++ executable compiled on on AIX machine
> >> using xlc. I used the 'file' command, but it reutrns following:
> >>
> >> x.exe: executable (RISC System/6000) or object module not
> >> stripped
> >>
> >> 'file' command returns same message even if i use it on object
> >> modules. But i want to be able to specifically determine only a C/C++
> >> executable.
> >> Is there any command or option available to do this
> >>
> >> Thanks & Regards
> >> Ganesh Tiwari
> >
> >
> > Do you want to tell the difference between a C/C++ executeable and a
> > COBOL exe or a Pascal exe? No, because they are all just exes.
> >
> > Do you want to tell the difference between an executeable and any other
> > object? An exe has a "main". Use "nm" or "dump" to determine whether it
> > has or not.
> >
> > BTW "x.exe" is an unusual name. *X executeables do not require a suffix
> > of "exe".
- Next message: Bill Edison: "Re: Executable on AIX.."
- Previous message: Dan Million: "Re: Where to get slocate for aix?"
- In reply to: Bill Edison: "Re: Executable on AIX.."
- Next in thread: Bill Edison: "Re: Executable on AIX.."
- Reply: Bill Edison: "Re: Executable on AIX.."
- Reply: Gary R. Hook: "Re: Executable on AIX.."
- Reply: John R. Campbell: "Re: Executable on AIX.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|