EmbDev.net

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


von Tommaso F. (tommasof)


Rate this post
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?

von Martin Thomas (Guest)


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

von Tommaso (Guest)


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

von Stefan (Guest)


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

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.