Results 1 to 8 of 8
  1.    #1  
    Hello,

    is there any way to compile plugins for the emulator (x86/i686?!) using the WIDK?
    I know that the emulator doesn't support OpenGL and the like, but my plugin is invisible and hasn't any graphical output.
    In the feeds there's a version for the emulator of wIRC - was that built with the WIDK too?

    Any suggestions?

    Thank you!
  2. #2  
    ARCH=i686 ?
    Just remember: If I helped you, press the thanks button!

    Owner of: Pre Sprint, Pre Telcel, Pre Plus AT&T, Pre 2 Unlocked, Pixi Plus AT&T, and 2 TouchPads (my Pre3 was stolen so it won't appear again here).
    Needs: Veer (anyone?)
    Apps: Subnet Calculator, FreeCam, PhotoFun, NuttyPad (work in progress)
    HomeBrew: meta-doctor and Messaging Plugins collaborator
    Twitter: @cesarneg
  3.    #3  
    Could you be a bit more specific on how to do this with the WIDK?
  4. #4  
    Quote Originally Posted by pcworld View Post
    Could you be a bit more specific on how to do this with the WIDK?
    Nevermind, I couldn't get it to work that easy, sorry
    Just remember: If I helped you, press the thanks button!

    Owner of: Pre Sprint, Pre Telcel, Pre Plus AT&T, Pre 2 Unlocked, Pixi Plus AT&T, and 2 TouchPads (my Pre3 was stolen so it won't appear again here).
    Needs: Veer (anyone?)
    Apps: Subnet Calculator, FreeCam, PhotoFun, NuttyPad (work in progress)
    HomeBrew: meta-doctor and Messaging Plugins collaborator
    Twitter: @cesarneg
  5.    #5  
    I extracted the files of an 1.4.5 emulator, now I'm trying to compile all packages.
    If it works I'll post instructions.
  6. #6  
    Quote Originally Posted by pcworld View Post
    I extracted the files of an 1.4.5 emulator, now I'm trying to compile all packages.
    If it works I'll post instructions.
    You should go to opensource.palm.com and compile those instead, as they also have the patches Palm uses
    Last edited by NuttyBunny; 03/26/2011 at 06:06 PM.
  7.    #7  
    Quote Originally Posted by NuttyBunny View Post
    You should go to opensource.palm.com and compile those instead, as they also have the patches Palm uses
    I copied the filesystem of the emulator into the rootfs-folder from the WIDK.
    Then I modified the Makefile and now it's running make stage.
    I'll post if it works.
  8.    #8  
    While compiling glib-2.0 I get this error message:
    Code:
    ../glib/gmacros.h:220:1: warning: "HAVE_DOWHILE_MACROS" redefined
    In file included from gasyncqueue.c:27:
    ../config.h:151:1: warning: this is the location of the previous definition
    mv -f .deps/gasyncqueue.Tpo .deps/gasyncqueue.Plo
    /bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I..  -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -pthread  -Wall -MT gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c -o gatomic.lo gatomic.c
     gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -pthread -Wall -MT gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c gatomic.c  -fPIC -DPIC -o .libs/gatomic.o
    In file included from ../glibconfig.h:9,
                     from ../glib/gtypes.h:30,
                     from ../glib/galloca.h:30,
                     from glib.h:30,
                     from gatomic.c:30:
    ../glib/gmacros.h:220:1: warning: "HAVE_DOWHILE_MACROS" redefined
    In file included from gatomic.c:24:
    ../config.h:151:1: warning: this is the location of the previous definition
    /tmp/ccndurmb.s: Assembler messages:
    /tmp/ccndurmb.s:32: Error: selected processor does not support `ldrex r0,[r3]'
    /tmp/ccndurmb.s:33: Error: selected processor does not support `strex r1,r2,[r3]'
    make[6]: *** [gatomic.lo] error 1
    make[6]: Leaving directory '/srv/preware/cross-compile/packages/common/glib-2.0/build/i686/glib'
    make[5]: *** [all-recursive] error 1
    make[5]: Leaving directory '/srv/preware/cross-compile/packages/common/glib-2.0/build/i686/glib'
    make[4]: *** [all] error 2
    make[4]: Leaving directory '/srv/preware/cross-compile/packages/common/glib-2.0/build/i686/glib'
    make[3]: *** [build/i686.built] error 2
    make[3]: Leaving directory '/srv/preware/cross-compile/packages/common/glib-2.0'
    make[2]: *** [build_common/glib-2.0] error 2
    make[2]: Leaving directory '/srv/preware/cross-compile'
    make[1]: *** [staging-i686] error 2
    make[1]: Leaving directory '/srv/preware/cross-compile'
    make: *** [stage] error 2
    "selected processor does not support ..."
    Any ideas?

    Edit:
    /srv/preware/cross-compile/packages/common/glib-2.0/Makefile is missing GLIB_CFLAGS for i686. Which should I use?
    For armv6/7 these are used:
    Code:
    GLIB_CFLAGS=""
    
    ifeq ("$(ARCH)","armv7")
    GLIB_CFLAGS="-O3 -march=armv7-a -mtune=cortex-a8 -mcpu=cortex-a8 -mfloat-abi=softfp -mfpu=neon -ftree-vectorize -I/usr/local/include"
    endif
    
    ifeq ("$(ARCH)","armv6")
    GLIB_CFLAGS="-O3 -march=armv6 -mtune=arm1136jf-s -mcpu=arm1136jf-s -mfloat-abi=softfp -mfpu=vfp -ftree-vectorize -I/usr/local/include"
    endif
    Last edited by pcworld; 03/27/2011 at 04:14 AM.

Posting Permissions