This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Error Compiling crossGCC For Arm


Hi,

Like what Dave said, it is the DOS CRLFs problems. Included is the
possible procedure to eliminate this problem:

Please carry out all steps in cygwin shell. Steps (1) and (5) can be
done using your Windows browser.

1. download the tar.gz version of GCC source version 2.95.2 in /src/gcc 
2. cd /src/gcc 
3. gunzip -vf <source>.tar.gz 
4. tar -xvf <source>.tar 
5. download gcc patch <ecos-gcc-2952.pat> to support eCos from 
http://sources.redhat.com/ecos/tools/win-arm-elf.html to /src/gcc/gcc-2.95.2 
6. cd /src/gcc/gcc-2.95.2 
7. tr -d '\r' < ecos-gcc-2952.pat | patch -p0 
8. mkdir /tmp/build/gcc 
9. cd /tmp/build/gcc 
10. mkdir /gcc-src 
11. mount -s -t 'C:\<cygpath>\<srcdir>' /gcc-src 
12. /gcc-src/configure --target=arm-elf --prefix=/<installdir> 
--exec-prefix=/<execdir> -v 2>&1 | tee configure.out 
13. make -w all-gcc install-gcc LANGUAGES="c c++" 2>&1 | tee make.out

Cheers,
Yeong


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]