Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  NEED HELP on compiling just codec with arm-none-linux-gnueabi
« previous next »
  • Print
Pages: [1]

Author Topic: NEED HELP on compiling just codec with arm-none-linux-gnueabi  (Read 1663 times)

Offline powerpan

  • Member
  • *
  • Posts: 52
NEED HELP on compiling just codec with arm-none-linux-gnueabi
« on: May 18, 2011, 01:10:48 AM »
compiler : arm-none-linux-gnueabi-gcc

config to SDL and modify makefile

add CFLAG in  -DCPU_ARM -DARM_ARCH=5 -D__ARM_EABI__
error compiling with __div0 not found, any way to solve it?


what I want to do is just compile codec parts as share lib for arm linux
« Last Edit: May 18, 2011, 12:04:23 PM by powerpan »
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: compile with -DCPU_ARM error
« Reply #1 on: May 18, 2011, 01:45:38 AM »
Why are you trying to do this? What are you working on? Some context would really help ...
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline powerpan

  • Member
  • *
  • Posts: 52
Re: compile with -DCPU_ARM error
« Reply #2 on: May 18, 2011, 03:27:43 AM »
wanna cross compile codecs for arm linux with ASM optimized codes,  that's all.

hope anybody could help on how to compile the codecs only.
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: compile with -DCPU_ARM error
« Reply #3 on: May 18, 2011, 05:22:49 AM »
There is a Google Summer of Code project which will enable you to do just that - see:

http://www.rockbox.org/mail/archive//rockbox-dev-archive-2011-05/0020.shtml

As it stands now, there is no simple way to do what you want.
Logged

Offline powerpan

  • Member
  • *
  • Posts: 52
Re: compile with -DCPU_ARM error
« Reply #4 on: May 18, 2011, 08:03:59 AM »
view the link. I've already made this in PC, using compiled codec directly.

and also made it compiled without ASM files in arm linux,

but not success in arm linux cause I don't know much about the makefile. I know  just modify the make file, ignore LD rockbox then could make what i want.
also need to modify a little bit of config.h

if somebody could help, just help me to modify the makefile to do so. thanks a lot!
« Last Edit: May 18, 2011, 12:12:44 PM by powerpan »
Logged

Offline powerpan

  • Member
  • *
  • Posts: 52
Re: NEED HELP on compiling just codec with arm-none-linux-gnueabi
« Reply #5 on: May 22, 2011, 08:26:09 AM »
done...
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  NEED HELP on compiling just codec with arm-none-linux-gnueabi
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.071 seconds with 15 queries.