# Producing .exe from .ptx

**URL:** <https://forums.developer.nvidia.com/t/producing-exe-from-ptx/4140>\
**Category:** CUDA Programming and Performance\
**Created:** [June 15, 2008, 8:29pm UTC](https://forums.developer.nvidia.com/t/producing-exe-from-ptx/4140 "2008-06-15T20:29:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![philprattszeliga](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@philprattszeliga](https://forums.developer.nvidia.com/u/philprattszeliga)\
**Post date:** [June 15, 2008, 8:29pm UTC](https://forums.developer.nvidia.com/t/producing-exe-from-ptx/4140/1 "2008-06-15T20:29:46Z")

</div>

Hi,

Im coding for the Tesla C80 on Windows XP.

I have made some changs to the .ptx assembly file and I would like to produce a .exe from it. I’ve tried a lot of nvcc option variations and can’t seem to get it right.

In more detail:

> nvcc.exe hello\_world.cu  
> this compiles nicely into a properly functioning .exe

> nvcc.exe -ptx hello\_world.cu  
> this creates hello\_world.ptx which shows the intermediate assembly. I’m interested in making some changes to this file and then creating an executable from it.

Does anyone have experience with the process of building an executable from .ptx instead of from .cu?

Thanks in advance.
