binutils-2.11-2.11.2-patch.gz 라는 파일 패치하는 방법 좀 ㅠㅜ
글쓴이: tmetospc / 작성시간: 화, 2008/12/16 - 11:38오후
binutils-2.11-2.11.2-patch.gz 라는 파일을 패치하려는데
아래와 같이 error 메시지가 뜹니다.
어떻게 패치하는 지 방법 좀 갈켜 주세요
먼저 binutils-2.11.2.tar.gz라는 파일을 풀어서
binutils-2.11.2라는 디렉토리가 생성되었습니다.
binutils-2.11.2라는 디렉토리에 패치하기 위해서
binutils-2.11.2 디렉토리 아래에서
#gzip -cd ../binutils-2.11-2.11.2-patch.gz | patch -p1
라고 명령을 내리니까
아래와 같이 error 메시지가 뜹니다.
can't find file to patch at input line2
perhaps you used the wrong -p or --strip option?
the text leading upto this was:
|diff -rN binutils-2.11/Makefile.in binutils-2.11.2/Makefile.in
그래서 binutils-2.11.2 디렉토리의 상위 디렉토리에서
gzip -cd binutils-2.11-2.11.2-patch.gz | diff -rN binutils-2.11/ binutils-2.11.2/
라고 했는데, 맞는 지 틀린 지 알 수가 없네요
틀리다면 좀 갈켜 주세요
Forums:
패치 파일 이름으로
패치 파일 이름으로 보아 2.11을 2.11.2로 패치시켜 주는 파일인 것 같은데, 이미 2.11.2의 압축 파일을 받았으면 저 패치를 적용시켜 줄 필요가 없습니다.
---- 절취선 ----
http://blog.peremen.name
버전 2.11용과 버전 2.11.2 용을 동시에
버전 2.11용과 버전 2.11.2 용을 동시에 선택적으로 패치시켜주는
화일이 아닙니까?
파일 이름으로
파일 이름으로 보아서는 2.11을 2.11.2로 패치시켜 주는 파일입니다. 대개의 패치 파일들의 이름은 (프로그램 이름)-(원본 버전)-(패치 대상 버전).patch라는 이름을 가지고 있으며, 어떠한 기능을 추가시켜주는 패치들은 (프로그램 이름)-(패치 대상 버전)-(패치 요약).patch라는 이름을 가지게 됩니다...
랄까 저 파일들을 어디서 구하셨는지가 궁금해지네요.
---- 절취선 ----
http://blog.peremen.name
한빛미디어
한빛미디어 박재호 저, IT EXPERT 임베디드 리눅스라는 책에서
ARM용 교차개발환경 구축하는 부분에서 도입부에 나오는 부분이예요
댓글 달기