Subversion Repositories freemyipod

Rev

Rev 445 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
445 theseven 1
 
450 theseven 2
README - elf2emcoreapp
3
----------------------
445 theseven 4
 
450 theseven 5
Copyright (C) 2011, Michael Sparmann
6
 
7
Based on elf2flt:
445 theseven 8
Copyright (C) 2001-2003, SnapGear (www.snapgear.com)
9
davidm@snapgear.com
10
gerg@snapgear.com
11
 
12
This is Free Software, under the GNU Public Licence v2 or greater.  See
13
LICENSE.TXT for more details.
14
 
15
COMPILING:
16
 
17
You need an appropriate libbfd.a and libiberty.a for your target to 
18
build this tool. They are normally part of the binutils package.
19
 
450 theseven 20
To compile elf2emcoreapp do:
445 theseven 21
 
22
    ./configure --target=<ARCH> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
23
    make
24
    make install
25
 
26
The <ARCH> argument to configure specifies what the target architecture is.
27
This should be the same target as you used to build the binutils and gcc
28
cross development tools. The --with-libbfd and --with-libiberty arguments
29
specify where the libbfd.a and libiberty.a library files are to use.
30
 
31
 
32
FILES:
33
 
450 theseven 34
README          - this file
35
configure       - autoconf configuration shell script
36
configure.in    - original autoconf file
37
config.*        - autoconf support scripts
38
Makefile.in     - Makefile template used by configure
39
elf2emcoreapp.c - the source
445 theseven 40
 
41
TIPS:
42
 
450 theseven 43
If you are using the Rockbox toolchain, you'll need to kill rockboxdev.sh
44
after it compiled libbfd and before it removes the binutils build directory.
45
Use the following configure command:
46
./configure --target=arm-elf-eabi \
47
            --with-binutils-build-dir=/tmp/rbdev-build/build-binutils \
48
	    --with-libiberty=/usr/lib/libiberty.a
445 theseven 49
 
450 theseven 50
This worked fine for me. --TheSeven