PCRE for devkitARM

support for the ARM toolchain
Post Reply
DNA
Posts: 4
Joined: Sat Dec 05, 2009 3:41 am

PCRE for devkitARM

Post by DNA » Sat Dec 05, 2009 3:55 am

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.

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: PCRE for devkitARM

Post by WinterMute » Sat Dec 05, 2009 2:44 pm

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.
Help keep devkitPro toolchains free, Donate today

Personal Blog

DNA
Posts: 4
Joined: Sat Dec 05, 2009 3:41 am

Re: PCRE for devkitARM

Post by DNA » Sun Dec 13, 2009 2:59 am

Thanks a lot for your help. Now I know how to port libraries for devkitpro. Useful :)

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests