Compiled SDL?

Discussion in 'iOS Jailbreak & Cydia' started by Virtualball, Nov 26, 2007.

  1. Virtualball

    Virtualball Well-Known Member

    Joined:
    Nov 23, 2007
    Messages:
    1,118
    Likes Received:
    63
  2. jungzandvliet

    jungzandvliet New Member

    Joined:
    Oct 5, 2007
    Messages:
    441
    Likes Received:
    8
    I got it compiled & intalled

    Code:
    for file in SDL.h SDL_active.h SDL_audio.h SDL_byteorder.h SDL_cdrom.h SDL_cpuin
    fo.h SDL_endian.h SDL_error.h SDL_events.h SDL_getenv.h SDL_joystick.h SDL_keybo
    ard.h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SD
    L_opengl.h SDL_platform.h SDL_quit.h SDL_rwops.h SDL_stdinc.h SDL_syswm.h SDL_th
    read.h SDL_timer.h SDL_types.h SDL_version.h SDL_video.h begin_code.h close_code
    .h; do \
                /usr/bin/install -c -m 644 ./include/$file /usr/local/arm-apple-darw
    in/include/SDL/$file; \
            done
    /usr/bin/install -c -m 644 include/SDL_config.h /usr/local/arm-apple-darwin/incl
    ude/SDL/SDL_config.h
    /bin/sh ./build-scripts/mkinstalldirs /usr/local/arm-apple-darwin/lib
    /bin/sh ./libtool --mode=install /usr/bin/install -c build/libSDL.la /usr/local/
    arm-apple-darwin/lib/libSDL.la
    /usr/bin/install -c build/.libs/libSDL.lai /usr/local/arm-apple-darwin/lib/libSD
    L.la
    /usr/bin/install -c build/.libs/libSDL.a /usr/local/arm-apple-darwin/lib/libSDL.
    a
    chmod 644 /usr/local/arm-apple-darwin/lib/libSDL.a
    arm-apple-darwin-ranlib /usr/local/arm-apple-darwin/lib/libSDL.a
    arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_audi
    odev.o) has no symbols
    arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_mixe
    r_MMX.o) has no symbols
    arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_mixe
    r_MMX_VC.o) has no symbols
    arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_mixe
    r_m68k.o) has no symbols
    arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_gete
    nv.o) has no symbols
    arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_mall
    oc.o) has no symbols
    arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_qsor
    t.o) has no symbols
    arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_stdl
    ib.o) has no symbols
    arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_yuv_
    mmx.o) has no symbols
    ----------------------------------------------------------------------
    Libraries have been installed in:
       /usr/local/arm-apple-darwin/lib
    
    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
       - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
         during execution
    
    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    /usr/bin/install -c -m 644 build/libSDLmain.a /usr/local/arm-apple-darwin/lib/li
    bSDLmain.a
    arm-apple-darwin-ranlib /usr/local/arm-apple-darwin/lib/libSDLmain.a
    /bin/sh ./build-scripts/mkinstalldirs /usr/local/arm-apple-darwin/share/aclocal
    mkdir -p -- /usr/local/arm-apple-darwin/share/aclocal
    /usr/bin/install -c -m 644 ./sdl.m4 /usr/local/arm-apple-darwin/share/aclocal/sd
    l.m4
    /bin/sh ./build-scripts/mkinstalldirs /usr/local/arm-apple-darwin/lib/pkgconfig
    mkdir -p -- /usr/local/arm-apple-darwin/lib/pkgconfig
    /usr/bin/install -c -m 644 sdl.pc /usr/local/arm-apple-darwin/lib/pkgconfig
    /bin/sh ./build-scripts/mkinstalldirs /usr/local/arm-apple-darwin/man/man3
    mkdir -p -- /usr/local/arm-apple-darwin/man/man3
    for src in ./docs/man3/*.3; do \
                file=`echo $src | sed -e 's|^.*/||'`; \
                /usr/bin/install -c -m 644 $src /usr/local/arm-apple-darwin/man/man3
    /$file; \
            done
    Think i did it right? But how can i share it hten? XD isnt it crossed compiled with your toolchian or something xD
  3. Virtualball

    Virtualball Well-Known Member

    Joined:
    Nov 23, 2007
    Messages:
    1,118
    Likes Received:
    63
    Can you zip up the SDL folder and upload it to [PIRACY.rs] or as an attacment. You would rock so hard

    Please Register or Log in to view images

  4. jungzandvliet

    jungzandvliet New Member

    Joined:
    Oct 5, 2007
    Messages:
    441
    Likes Received:
    8
    Ye sure i'll do tonight or something. Now @ school xD
    But did you trie dto compile iphone-dj xD? I cant get libmad cross compiled

    Please Register or Log in to view images

  5. jungzandvliet

    jungzandvliet New Member

    Joined:
    Oct 5, 2007
    Messages:
    441
    Likes Received:
    8
    Cantz ip it :O IT says like access refused or something when i try to zip it with winrar/ 7zip
  6. Virtualball

    Virtualball Well-Known Member

    Joined:
    Nov 23, 2007
    Messages:
    1,118
    Likes Received:
    63
    Thats weird, well thanks anyways :/

    An I compiled libMAD before but I lost it when my old hard drive crashed (damn MacBook

    Please Register or Log in to view images

    ) Sorry

    Please Register or Log in to view images

  7. jungzandvliet

    jungzandvliet New Member

    Joined:
    Oct 5, 2007
    Messages:
    441
    Likes Received:
    8
    damn

    Please Register or Log in to view images

    But i think i know why i couldnt zip it. Becouse 'was on other account. Gonna try it this evening again

    Please Register or Log in to view images

  8. Virtualball

    Virtualball Well-Known Member

    Joined:
    Nov 23, 2007
    Messages:
    1,118
    Likes Received:
    63
  9. jungzandvliet

    jungzandvliet New Member

    Joined:
    Oct 5, 2007
    Messages:
    441
    Likes Received:
    8
    Almost sure that it is. But i'm on school now so xD although i did it iwth cygwin

    Please Register or Log in to view images

    and if you look on the googlecode page and then issue's there was a patch or something

    Please Register or Log in to view images

    . You could try that or something. I didnt needed it but mayby it fixes for you

    Please Register or Log in to view images

  10. jungzandvliet

    jungzandvliet New Member

    Joined:
    Oct 5, 2007
    Messages:
    441
    Likes Received:
    8
    Uploaded

    Please Register or Log in to view images


    http://sharebee.com/7f032df9 (Sharebee 4 mirrors is that, [PIRACY.rs], zshare, [PIRACY.mu],bandonga or somethign

    Please Register or Log in to view images

    )

    Cross compiled with Cygwin. Toolchain 0.3 i though. Zipped with Winrar. Compression mode "best".
    If i did it wrong ask again

    Please Register or Log in to view images

    and tell me how i can zip it properly or something xD and i'll do it again

    Please Register or Log in to view images

    Since mayby winrar screws it up. Was trying to find how i can zip it with cygwin but couldnt find it xD

Share This Page