1. jeppeb's Avatar
    Hey all,

    I'm trying to compile a simple HelloWorld with CygWin (installed via instructions at http://www.iphonegameover.com), but i'm getting this error:
    /usr/local/bin/arm-apple-darwin-ld: can't locate file for: -lcrt1.o
    collect2: ld returned 1 exit status
    make: *** [empty] Error 1
    What am i doing wrong?
    (Probably a lot, i am new to this world actually. Before i had my iPhone i only programmed server side and Windows...)

    Thanks a lot, really, i would appreciate it if you could help me!

    Jeppe
    Your Repository
    Over 3500 apps, just at your fingertips.

    The WebClipper
    Every website has it's webclip!
    2008-03-26 10:50 AM
  2. seanbo's Avatar
    Hey all,

    I'm trying to compile a simple HelloWorld with CygWin (installed via instructions at http://www.iphonegameover.com), but i'm getting this error:


    What am i doing wrong?
    (Probably a lot, i am new to this world actually. Before i had my iPhone i only programmed server side and Windows...)

    Thanks a lot, really, i would appreciate it if you could help me!

    Jeppe
    This seemed to work for me..

    export LD_LIBRARY_PATH=/usr/local/arm-apple-darwin/lib:/Developer/SDKs/MacOSX10.4u.sdk/usr/lib:#LD_LIBRARY_PATH

    If that workes, you can add it to /etc/profile and make it permanant.
    2008-06-28 04:46 AM
LINK TO POST COPIED TO CLIPBOARD