Hi, I compiled the nios2-gcc source code with cygwin on windows. It was successful. But when I added one more option --prefix=/home/workshop and compiled it again, I got the following errors. Funny input line: timestamp gen-protos: 1346 entries 341 collisions In file included from ../../gcc/gcc/cpplib.h:28, from ../../gcc/gcc/fix-header.c:78: ../../gcc/gcc/line-map.h:47: warning: type of bit-field `reason' is a GCC extension In file included from ../../gcc/gcc/fix-header.c:78: ../../gcc/gcc/cpplib.h:180: warning: type of bit-field `type' is a GCC extension ../../gcc/gcc/cpplib.h:487: warning: type of bit-field `type' is a GCC extension ../../gcc/gcc/fix-header.c: In function `fatal': ../../gcc/gcc/fix-header.c:1319: warning: traditional C rejects ISO C style function definitions tconfig.h is unchanged /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s: Assembler messages: /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:2: Error: junk at end of line, first unrecognized character is `,' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:4: Error: junk at end of line, first unrecognized character is `,' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:6: Error: junk at end of line, first unrecognized character is `,' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:10: Error: alignment not a power of 2 /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:12: Warning: .type pseudo-op used outside of .def/.endef ignored. /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:12: Error: junk at end of line, first unrecognized character is `_' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:16: Error: too many memory references for `mov' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:17: Error: too many memory references for `mov' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:20: Error: too many memory references for `mov' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:24: Error: no such instruction: `andi r6,r6,65535' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:25: Error: no such instruction: `andi r4,r4,65535' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:29: Error: too many memory references for `mov' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:33: Error: no such instruction: `srli r11,r12,16' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:34: Error: too many memory references for `mul' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:35: Error: no such instruction: `srli r10,r10,16' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:39: Error: too many memory references for `mov' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:43: Error: too many memory references for `mul' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:46: Error: too many memory references for `mul' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:49: Error: no such instruction: `andi r12,r5,65535' ................... ................... /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:1040: Error: unknown pseudo-op: `.4byte' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:1041: Error: unknown pseudo-op: `.4byte' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:1042: Error: unknown pseudo-op: `.4byte' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:1043: Error: unknown pseudo-op: `.4byte' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:1044: Error: unknown pseudo-op: `.4byte' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:1045: Error: unknown pseudo-op: `.4byte' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:1046: Warning: unknown section attribute 'M' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:1046: Warning: unknown section attribute 'S' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccq04tYo.s:1046: Error: junk at end of line, first unrecognized character is `,' make[2]: *** [libgcc/./_muldi3.o] Error 1 make[1]: *** [libgcc.a] Error 2 make: *** [all-gcc] Error 2 Any idea what went wrong? Thanks. Regards, Haibin