Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

compilers

5 views
Skip to first unread message

agloth

unread,
May 18, 2002, 11:12:39 AM5/18/02
to
is there any options for compiling directly into machine code ? I
think it would be very helpfull if this kind of option would be
avaible. Or a seperate compiler can do the work maybe ?

Chris R

unread,
May 18, 2002, 11:37:47 AM5/18/02
to
You may be interested in looking at:
Native Image Generator (Ngen.exe)

However, be aware that .Net code still requires the presense of the .Net
redistributable framework to run. After all, that's where all the real code
lies, in dll's. So, you won't be able to break away from the need for the
.Net.
Also, the both Ngen.exe and the JIT take the following information into
consideration before compiling, so you need to be aware of this, and why it
is best to write a script to run on the users system if you want to use
Ngen.
(from the tomes of Microsoft)
The CPU type.
The version of the operating system.
The exact identity of the assembly (recompilation changes identity).
The exact identity of all assemblies that the assembly references.
Security factors.

Also, Ngen places this information in the "Native image cache", so it's
ready to run, just not something you can cut and paste, however.

"agloth" <zuk...@yahoo.com> wrote in message
news:2e58a566.02051...@posting.google.com...

0 new messages