Executable files


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Executable files
# 8  
Old 10-30-2007
Quote:
Originally Posted by nervous
What is meant by native format????
Native implies it is compatible with the CPU in the machine and complies with the default ABI (Application Binary Interface) of the operating system.

Quote:
Originally Posted by nervous
A file compiled on x86-32 architecture under Windows XP, will it work on x86-64 architecture under Windows XP or Windows 2003?
Upto a point, it will be compiled to the WIN32 standard. Code can be compiled for Win32 and work without change from Windows 3.1 running WIN32S through to Windows Vista, as long as the calls it makes are implemented on that platform. Overtime APIs are added to a platform, if you restrict the set you call you can maintain good backward compatibility.

Note, the a x86-64 processor can run both 32bit and 64bit binary code. But a 386 cannot run 64 bit code natively.

Similarly an UltraSparcII can run both 32bit and 64bit SPARC code, but a DEC-Alpha is only available as 64bit, there is no 32bit equivalent.
# 9  
Old 10-30-2007
So you mean a code compiled under Windows XP(64-bit) will not work in Windows XP(32-bit)?
# 10  
Old 10-30-2007
Quote:
Originally Posted by nervous
So you mean a code compiled under Windows XP(64-bit) will not work in Windows XP(32-bit)?
Almost.

Code compiled for WIN64 will not run on any WIN32 platform.

You can still compile WIN32 code on a WIN64 platform.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

ACLs - How can i create new executable files

Hello experts, I would like to know if is possible to create a default acl rule to a directory. in this directory all files created should have executable permissions by the group IT. i tried setfacl -m d:g:it:rwx /files tried to change the mask setfacl -m m::rwx /files but i still... (3 Replies)
Discussion started by: berveglieri
3 Replies

2. UNIX for Dummies Questions & Answers

Help with sorting executable files in shell

Hi!I'm new in this forum,also in shell scripting! :P I'd like to help me with an issue!the project wants to make a variable with a directory(any) and then print all executable files of this directory,sorted by size!Thank you! (8 Replies)
Discussion started by: strawhatluffy
8 Replies

3. Homework & Coursework Questions

File Looping - Looking for executable files - Need help

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! Hello all, I have posted here before and really was blown away by the amount of assistance I received. I was able to finish my homework without a problem! But, yet again, our... (6 Replies)
Discussion started by: Bob07
6 Replies

4. AIX

Executable doesn't complete on large files

Good morning, I have an executable called DataExport (not that the name means much), but anyhow, it is a job that runs to call oracle stored procs which then export data out to a text file. Depending on which export is calling the DataExport, different stored procs are run. Exports 1, 2 and 3... (2 Replies)
Discussion started by: philplasma
2 Replies

5. UNIX for Dummies Questions & Answers

executable files

hello. My question, basically is: what is the definition of unix/linux exec files, or what makes a file executable? More specifically, must a unix source file that was compiled using gcc have exec permissions in order to be considered executable? Is it right to say that a unix/linux exec file... (1 Reply)
Discussion started by: nadavkri
1 Replies

6. UNIX for Dummies Questions & Answers

listing executable files in unix.

How to list out the files which are not accessed for the last n days? and How to list out all the executable files in a directory? can anyone help me on the above? Thanks in advance. (3 Replies)
Discussion started by: venkatesht
3 Replies

7. UNIX for Dummies Questions & Answers

Finding executable files in all directories

This is probably very easy but I would like to know a way to list all my files in all my directories that are readable and executable to everyone. I was told to use find or ls and I tried some stuff but couldnt get it to work. I understand that its dangerous to have files with these permissions for... (4 Replies)
Discussion started by: CSGUY
4 Replies

8. OS X (Apple)

Converting Unix executable files

I loaded OS X Panther on my Mac G4 and found that many files previously saved as Word or Word Perfect files were inadventently converted to Unix executable files. When I try to read these in Word, it cannot recognize or translate the file properly. Does anyone know how to translate these files? Is... (4 Replies)
Discussion started by: Steven Greenber
4 Replies

9. OS X (Apple)

Cannot translate Unix executable files

Help!! I loaded OS X Panther on my Mac G4 and found that many files previously saved as txt files were inadventently converted to Unix executable files. When I try to read these in Word, the Word filters cannot recognize or translate the file properly. Does anyone know how to translate these files?... (1 Reply)
Discussion started by: Steven Greenber
1 Replies
Login or Register to Ask a Question