Objective C Compiler for Windows 7 Professional 64-bit - objective-c

I need help. I have Windows 7 Professional (64-bit), and I am starting to learn Objective C from a book. I want to somehow install a Objective C compiler on Windows and I followed this link:
Objective C for Windows
But unfortunately it is not working. I tried exactly the way the answer was given and I am on the shell command prompt, but how do I find my helloworld.exe file? Where is it?

Related

Compiling Objective-C on Linux [duplicate]

This question already has answers here:
IDE For Objective-C On Linux [closed]
(4 answers)
Game programming on Objective-C and linux
(4 answers)
Closed 9 years ago.
How can I program in Objective-C under Linux? Is there any compiler or IDE avaiable that allows me to program in that language?
There's this great website called GNUstep. They have some API's that help you with Objective C on Linux. The download & installation instruction page is here.
Yes, this question is a duplicate by the way. Check the links provided by Josh Caswell above to find even more detailed answers.
Recent GCC compilers (current version is 4.8 in october 2013) can be used as Objective C compilers (perhaps for some old dialect of Objective C). On Debian or Ubuntu, install some gobjc package, e.g. aptitude install gobjc-4.7
However, this does not mean you can build with them programs for Apple hardware.

Platform Independent Objective C

I'm looking to build Objective C software components that can run on Mac OS X and Linux. From my understanding, Cocoa software components can only be run on the Mac OS X platform. Does anyone have a good recommendation for a platform independent version of Objective C that can run on Mac OS X and Linux?
GNUStep may be an option. Sources mentioned in the answer to this SO question:
Compiling Objective-C app for Linux (API coverage)

Setting up Windows machine to write Objective-C code [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Objective C for Windows
iPhone development on Windows
How do i setup and write Objective-C on my Windows Vista (32 bit) machine?
Can someone please give me instructions?
You can use GNUStep http://www.gnustep.org/. You can also use Eclipse CDT with GNUStep, see configuration here http://wirecode.blogspot.com/2007/11/objective-c-and-eclipse.html
You might be able to compile Objective C code on a Windows machine using the GNUStep toolchain. But this will not allow you to write iPhone apps, as the Objective C runtimes are very different, so you won't be able to link with any of Apple's iOS frameworks, or use much of their example code.

Objective-C in Linux [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Game programming on Objective-C and linux
I know that developing iPhone apps (painlessly, at least) pretty much requires a Mac. However, is it possible to develop normal desktop applications using Objective-C in Linux? For example, could I make a game using a development library for Objective-C, and release it for Linux, rather than iOS?
There are a lot of normal desktop applications which use GNUstep (free version of Cocoa API) on Linux.
For games you can try sdlobjc — SDL binding for Objective-C.
There is even a Linux distribution called Étoilé which uses GNUstep based user environment and all own GUI applications writen in Objective-C.
If you want to learn how to program in Objective-C using GNUstep on Linux (or cygwin) there are some possible problems:
You must use cygwin in windows to build the application. Which means that it:
a) some applications can be slowed down because of cygwin's translations of POSIX API calls to Win32 API calls. For example fork() call will be translated in Win32's CreateProcess call and some others and will be less efficient than in UNIX.
b) your application must be distributed with cygwin's dll
c) your application can't be 64bit (at least for now)
d) you application will see all your windows disk drives as a part of unix filesystem hierarchy (c: and d: will be /cygdrive/c and /cygdrive/d) and you will have /bin /tmp /usr /etc avialable under / as well.
There's not up-to-date books about GNUstep or about programming Objective-C not using Mac OS. Thre is Stephen Kochan's book "Programming in Objective-C 2.0 (2nd Edition)" where he unfortunately ommits explaination of how to build even basic examples under Linux or Windows. I hope it is fixed in 3rd edition.
GNUstep has own themes so apps may be themed differently than GTK Linux applications in Linux or usual themed application in Windows.

Is there anyway to compile mac binaries from a windows machine?

Seems like there wouldn't be, but it would help us out if there was. I wish to pull the source down to a windows server and compile it and have it be the same as if I had pulled the source code down to a mac machine and used xcode on it. Any Ideas?
Reasons: Release Engineering and IT are much more familiar and comfortable on windows, so it would be easier on us, and LaunchD sucks.
Your original question had less detail... I think you are creating more problems than you are solving buy not using a Mac. Is it really that hard to learn to compile under Xcode or type make in the console?
Anyway...
Apple uses a modified version of the GCC C/C++/Objective C compiler with a proprietary runtime library... You could develop using a port of this code to Windows. See GNUStep.Org. This is not binary compatible though but it isn't impossible that you could rebuild it to cross compile to something that was Mac OS X compatible.
Another idea would be to develop using c# .NET and then move the binaries across to Mac OS X and run the binaries using Mono....
None of these options are robust enough to allow you to do this blind without a Macintosh to test and get up and running in the first place.
You can compile cross app with Cocotron but only on Mac
Why do you need launchd? cron works just as well on Mac as it does on Linux, just have a cronjob that does (Extremely simplified version ahead):
cd /my/source/dir
git pull # You are using Git, right?
xcodebuild MyCoolProject.xcodeproj
cp -r build/MyApp.app /the/distribution/folder