Results 1 to 4 of 4
Discuss windows toolchain problems at the Tools - Hackint0sh.org; I am having real problems getting the arm-apple-darwin-gcc compiler to do anything and continued searching ...
  1. #1
    Newbie Array

    Join Date
    Jan 2008
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default windows toolchain problems

    I am having real problems getting the arm-apple-darwin-gcc compiler to do anything and continued searching seems to find nobody with my problems, so I guess it must be something I'm doing stupid :-)

    Here are the steps I have taken so far to get the iphone toolchain up and working under windows xp

    1. I have downloaded the pre-compiled windows toolchain
    2. I have downloaded winchain 1.0.1
    3. I have unrared the pre-compiled toolchain and copied to a directory somewhere
    4. I have run winchain.exe and run the 'copy' (that makes the c:\cygwin directory with everything in)
    5. I have then installed cygwin from the installer
    6. I have obtained (multiple) helloworld applications
    7. running make returns an error 57.

    It would seem that running the arm-apple-darwin-gcc compiler does absolutely nothing (which seems to be what make: is complaining about as it expected a .o file after the compile)

    I ran a cygcheck on the executable and it ran through a whole load of DLLs, so it appears to be an executable ok. I am wondering if I have something else installed on my PC that is getting in the way. I did have an old Msys installation for GP2X development, but I de-installed that.

    I am struggling to get anywhere with this, so any help would be much appreciated.

    Is there any other checks I can do to see why make: is quitting at error 57 ? Here is an example listing of the output I get...

    mkdir -p /iphone-apps/TestApp/Temp/
    /usr/local/bin/arm-apple-darwin-gcc -g -O2 -Wall -c /iphone-apps/TestApp/main.m -o /iphone-apps/TestApp/Temp/main.o
    make: *** [/iphone-apps/TestApp/Temp/main.o] Error 57

    has anyone seen anything like this before and can help ?

    thanks.



  2. #2
    Professional Array

    Join Date
    Dec 2007
    Posts
    81
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    11

    Default

    My advice is to not use the precompiled toolchain...try to build it yourself. There are instructions specific for Windows on the iphone-dev wiki...
    you will also need to copy the iphone filesystem onto your computer, as well as to download a copy of SDK stuff from Apple.

  3. #3
    Newbie Array

    Join Date
    Jan 2008
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    ok, thanks. Serves me rightfor trying to take a short cut I guess

  4. #4
    Newbie Array

    Join Date
    Jan 2008
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Just for completeness - I found the problem !!!!!!!

    cygwin requires the cygwin1.dll to be in the cygwin installation, and from a previous installation of Msys and other stuff, I had a cygwin1.dll in my Windows directory that was being used in preference.

    I deleted that and everything now works !!! Ace :-)

 

 

Similar Threads

  1. Iphone Toolchain for windows
    By libia in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 01-13-2009, 09:28 AM
  2. [2.0][Toolchain] Problems with UIApplicationMain
    By kman1 in forum iPhone Developer Exchange
    Replies: 8
    Last Post: 08-29-2008, 11:17 PM
  3. [Ask] set up toolchain on windows?
    By Etiennez0r in forum iPhone Developer Exchange
    Replies: 3
    Last Post: 05-12-2008, 05:14 PM
  4. Replies: 0
    Last Post: 09-18-2007, 08:51 PM
  5. Windows toolchain yet?
    By geohot__ in forum General
    Replies: 0
    Last Post: 09-17-2007, 06:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:10 PM.
twitter, follow us!