EmbDev.net

Forum: ARM programming with GCC/GNU tools arm-elf-gcc compiler toolchain with Newlib


Author: Tommaso Fedele (tommasof)
Posted on:

Rate this post
0 useful
not useful
Hi, I want to compile the ARM MP3/AAC source code in cygwin. Which
version of arm-elf-gcc compiler toolchain with Newlib do you suggest?

Author: Martin Thomas (Guest)
Posted on:

Rate this post
0 useful
not useful
tommaso fedele wrote:
> Hi, I want to compile the ARM MP3/AAC source code in cygwin. Which
> version of arm-elf-gcc compiler toolchain with Newlib do you suggest?

Since you are using a Win32-OS: just try with GNUARM or WinARM (gcc
4.1.0/1, newlib 1.14). If you have problems you can ask here. IRC a
dummy-syscall had to be added to compile with WinARM just to make the
linker happy (the newlib configuration used for the WinARM-collection
does not provide the buildin newlib-syscalls, Andreas OSX-collection
does). But maybe Andreas has already added this to the current source in
the SVN.

Martin Thomas

Author: Tommaso (Guest)
Posted on:

Rate this post
0 useful
not useful
Martin Thomas wrote:
> tommaso fedele wrote:
>> Hi, I want to compile the ARM MP3/AAC source code in cygwin. Which
>> version of arm-elf-gcc compiler toolchain with Newlib do you suggest?
>
> Since you are using a Win32-OS: just try with GNUARM or WinARM (gcc
> 4.1.0/1, newlib 1.14). If you have problems you can ask here. IRC a
> dummy-syscall had to be added to compile with WinARM just to make the
> linker happy (the newlib configuration used for the WinARM-collection
> does not provide the buildin newlib-syscalls, Andreas OSX-collection
> does). But maybe Andreas has already added this to the current source in
> the SVN.
>
> Martin Thomas

Hi Martin,
I tried to download and configure gcc
> 4.1.0/1, newlib 1.14 from: 
http://www.aps.anl.gov/epics/base/RTEMS/tutorial/node6.html
but my cygwin doesn't accept the command
patch -p1 <../ binutils-2.16.1-rtems-20050816.diff
to correct bugs. what do you suggest to do?
thanks tommaso

Author: Stefan (Guest)
Posted on:

Rate this post
0 useful
not useful
Tommaso wrote:
> but my cygwin doesn't accept the command
> patch -p1 <../ binutils-2.16.1-rtems-20050816.diff

Why not? No patch command/program or difficulties with the ' ' in the
commandline? Trouble with file locations?

Try patch -p1 < ../binutils-2.16.1-rtems-20050816.diff
and check the paths to files.

The manpage of patch says "The names of the files to be patched are
usually taken from the patch file"

Stefan

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.