arm-elf-gcc compiler toolchain with Newlib

Guest #1171540
Rate this post
• ▲ 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
Guest #1171541
Rate this post
• ▲ 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
Guest #1171542
Rate this post
• ▲ 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

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.