Assembly code in XCode

Hello everybody!

I'm new to XCode. I have the latest version of XCode under Tiger.

I would like XCode to generate an executable from an assembly code source file. I've searched in many discussions and technical articles in Apple site, but I didn't find anything answering this question.

I'm sure it must be possible without having to use the line command in a shell...

Can someone tell me how I should proceed to do this?

I must add that I have no problem in making C++ or C programs work with XCode.

Thanks a lot for any help! 🙂

Christophe

iMac Intel Core Duo 17" Mac OS X (10.4.7)

Posted on Jul 20, 2006 12:55 AM

Reply
6 replies

Jul 24, 2006 9:11 AM in response to Christophe Enderlin

Hi

Generally, in Unix based systems, a.out is an executable; however, Mac OS X by default doesn't look in the current folder and double clicking doesn't always work if the executable doesn't use a GUI.

I suggest you try executing the program by starting a Terminal window, then using a cd command to get to the folder, then typing: ./a.out

The "./" part tells OS X to search in the current folder.

Bob

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Assembly code in XCode

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.