목요일, 11월 05, 2009

Fatal error: C3049U: out of store [cc_alloc(1207959560)]

Windows 용 ADS 1.2  에서 build 를 하다 보면 아래와 같이 error 가 나면서 종료 되는 경우가 있다. 엄청난 memory size 다. -_-;;;

Fatal error: C3049U: out of store [cc_alloc(1207959560)]
Compilation abandoned.

보통의 경우엔 아래의 solution 과 같이 compile 시에 '-g' option 을 제거 해주는 것인데 '-g' 가 없음에도 불구하고 동일한 error 가 나타나는 경우가 있다.

[SOLUTION]
Source: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0435a/index.html
C3048U: out of store [cc_alloc(N)] while compiling -g
C3049U: out of store [cc_alloc(N)]
A storage allocation request by the compiler failed.  Compilation of the debugging tables requested with the -g option may require a great deal of memory. Recompiling without -g, or with the program broken into smaller pieces, may help.
C3050U: Compilation aborted.

뚜렷한 방법은 없지만, ASD 1.2 가 아닌 Cygwin 용 ARM toolchain 을 이용하면 error 없이 build 가 가능 했다.

[Cygwin 용 ARM Toolchain Link]
* Source: http://forum.falinux.com/zbxe/?document_srl=507956
* Cygwin arm-toolchain 파일(cygwin-arm-linux-gcc-4.1.1.tar.gz): ftp://ftp.falinux.com/cygwin/recommendation/cygwin-arm-linux-gcc-4.1.1.tar.gz



하지만, 분명 ADS 1.2 에도 방법이 있지 않을까 싶다.


-----
Cheers,
June

댓글 없음:

댓글 쓰기