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?
Guest
#1171540
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
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
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