Page 1 of 1

PCRE for devkitARM

Posted: Sat Dec 05, 2009 3:55 am
by DNA
Hi I'm trying to get PCRE library to work with my homebrew, I was wondering how I can compile it to work with devkitARM. I tried compiling the homebrew with a compiled pcre and I get:
/home/dna/devkitPro/devkitARM/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: skipping incompatible /home/dna/devkitPro/game/lib/libpcre.so when searching for -lpcre
/home/dna/devkitPro/devkitARM/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: skipping incompatible /home/dna/devkitPro/game/lib/libpcre.a when searching for -lpcre
/home/dna/devkitPro/devkitARM/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: cannot find -lpcre
I think I need to modify the Makefile but I don't know what to do.

Thanks in advanced.

Re: PCRE for devkitARM

Posted: Sat Dec 05, 2009 2:44 pm
by WinterMute
You'll need to build the library with devkitARM in order to link it. Unfortunately a quick test throws up some OS dependencies which may prevent porting and I don't really have the time to investigate further atm.

Have a look at http://wiki.devkitpro.org/index.php/portlibs if you feel like attempting the port.

Re: PCRE for devkitARM

Posted: Sun Dec 13, 2009 2:59 am
by DNA
Thanks a lot for your help. Now I know how to port libraries for devkitpro. Useful :)