매우 빠른 IBM의 Java compiler가 어느덧 1.22 릴리즈가 되었다. (이 사실을 portage에서 확인
jikes 1.22의 configure --help를 보니 --enable-source15가 있었다.
그래서 --enable-source15를 켜고 컴파일해보니.. 안되는것이 아닌가!
일단 static import를 해보았다.
오예 에러~
- import static java.lang.System.*; ^----^ *** Semantic Error: Static imports are only supported for '-source 1.5' or greater.(not yet implemented)
분명히 -source 1.5를 줬는데도.. 어랏 not yet implemented라니. jikes 코드를 뒤져본다. decl.cpp에 아래와 같은 부분이 있다 ㅡ_ㅡ
어흑.. jikes 페이지에서 좀더 찾아보기로 했다. http://www-124.ibm.com/developerworks/patch/?group_id=10 에 보면 패치중에 Autoboxing support라는 것이 보였다. autoboxing 만 되는게 어디냐. diff를 복사해서 patch 한후 다시 컴파일 해봤다.
헉.. autoboxing만 되고 autounboxing은 안된다 -_-;;; 그래도 jikes 코드 전반적으로 jdk 1.5 generic에 대한 부분이 많이 있었다. 조만간 모두 지원되리라 굳게 믿는다!
Comments
3 thoughts shared
김영성
안녕하세요...
이곳 저곳을 찾아 헤메다 여기까지 왔네요
혹시 jikes configure 실행시 나는 encoding 관련 문제에 대해서 알고 계신가요?
며칠째 이문제로 골머리를 앓고 있습니다.
제발 도와주세요~~
김영성
저...혹시
./configure 하실때, 파라미터 모모 해서 하시나요?
저는 ./configure --prefix=위치 CXX=/usr/bin/gcc 해서 하는데...
configure 하고 난 후 make install 하면
/usr/local/bin/gcc -g -O2 -o jikes ast.o body.o bytecode.o case.o code.o control.o decl.o definite.o depend.o diagnose.o double.o dump.o error.o expr.o getclass.o incrmnt.o init.o javaact.o jikes.o jikesapi.o long.o lookup.o lpginput.o modifier.o op.o option.o parser.o scanner.o segment.o set.o stream.o symbol.o system.o tab.o unparse.o unzip.o zip.o platform.o -lm
정의되지 않음 첫번째 참조된
기호 파일의
istream::get(char &) incrmnt.o
ostream::operator<<(char const *) bytecode.o
ostream::operator<<(char) error.o
ostream::operator<<(int) diagnose.o
cin incrmnt.o
cerr incrmnt.o
cout option.o
ostream::flush(void) diagnose.o
ld: 치명적: 기호 참조 오류. jikes에 출력이 기록되지 않음
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `jikes'
Current working directory /export/home/staff/yskim/jikes/jikes-1.13/src
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'
에러가 나더라구요...
혹, 이 에러에 대해 집히는 것이 있는지요?
부탁드립니다.
Continue Reading
Discover more thoughts and insights
OOP에 대한 단상들
우연히 박영록이 쓴 안드로이드를 하면서 다시 생각해본 OOP를 읽고 OOP에 대한 단상들을 뱉어내기로 했다. 영록이가 쓴 글의 문맥과는 거리가 멀다는 점을 염두해두시라. 나는 OOP를 상당히 좋아한다. 그저 객체
SQ 사회지능
요새 Daniel goleman 씨가 쓴 SQ 사회지능 이란 책을 읽고 있다. 원래 베스트셀러, 화제의 도서라는 것들을 좋아하지 않지만 구입하고 이미 초반부를 넘어버린 후에서야, 그것이 화제의 책 -\_- 인것을
문제점 자가분석
스스로 진단한 가장 큰 문제 2개는 불면증과 일중독 일중독이 불면증을 유발시켰다. 일중독이 가장 나쁜것 같다. 일중독에 대해 검색한 몇가지 정의. "몸 속에 있는 에너지가 한 곳으로 집중되면서 자율성을 침해,