gcc 소스 설치시...

wewoori의 이미지

음냐... 답답해서 질문을 던져봅니다.. gcc04.0.2을 소스로 설치을 하려고 하니... ./configure 부분부터 이런 메세지가 떡하니 뜨네요..

configure: error: Building in the source directory is not supported in this release. See http://gcc.gnu.org/install/configure.html for more details.

그래서 위 사이트에 가보니...

% mkdir objdir
% cd objdir
% srcdir/configure [options] [target]

라는 부분이 있더군요.. 제가 묻고 싶은 것은 저 objdir이라는 것이 뭔지 짧은 영어로 모르겠다는겁니다.. 옛날 3.x버전같은 경우 상관없던것같았는데... 뭐가 어떻게 되는건지.. 도통 모르겠습니다..

혼자 답을 찾아보니... 정말 답이 안나와서 질문 합니다.. 아시는 분은 좀 자세하게 알려주세요.. 부탁드립니다. 즐거운 하루되시구요..

hys545의 이미지

wewoori wrote:
음냐... 답답해서 질문을 던져봅니다.. gcc04.0.2을 소스로 설치을 하려고 하니... ./configure 부분부터 이런 메세지가 떡하니 뜨네요..

configure: error: Building in the source directory is not supported in this release. See http://gcc.gnu.org/install/configure.html for more details.

그래서 위 사이트에 가보니...

% mkdir objdir
% cd objdir
% srcdir/configure [options] [target]

라는 부분이 있더군요.. 제가 묻고 싶은 것은 저 objdir이라는 것이 뭔지 짧은 영어로 모르겠다는겁니다.. 옛날 3.x버전같은 경우 상관없던것같았는데... 뭐가 어떻게 되는건지.. 도통 모르겠습니다..

혼자 답을 찾아보니... 정말 답이 안나와서 질문 합니다.. 아시는 분은 좀 자세하게 알려주세요.. 부탁드립니다. 즐거운 하루되시구요..


별거 업는데여

mkdir objdir
% cd objdir
% srcdir/configure [options] [target]
끄냥 ㅇ똑같이 적어주면 됩니ㄷ아.
objdir는 단순히 바이너리파일 저장하는겁니다.

즐린

익명 사용자의 이미지

wewoori wrote:
음냐... 답답해서 질문을 던져봅니다.. gcc04.0.2을 소스로 설치을 하려고 하니... ./configure 부분부터 이런 메세지가 떡하니 뜨네요..

configure: error: Building in the source directory is not supported in this release. See http://gcc.gnu.org/install/configure.html for more details.

그래서 위 사이트에 가보니...

% mkdir objdir
% cd objdir
% srcdir/configure [options] [target]

라는 부분이 있더군요.. 제가 묻고 싶은 것은 저 objdir이라는 것이 뭔지 짧은 영어로 모르겠다는겁니다.. 옛날 3.x버전같은 경우 상관없던것같았는데... 뭐가 어떻게 되는건지.. 도통 모르겠습니다..

혼자 답을 찾아보니... 정말 답이 안나와서 질문 합니다.. 아시는 분은 좀 자세하게 알려주세요.. 부탁드립니다. 즐거운 하루되시구요..

configure 가 있는 디렉토리에서 빌드 하는 것을 피하라는 뜻입니다.

그런데... gcc를 소스로 설치하는 방법은 그리 권장할 만한 것이 아닙니다. 어떤 배포한을 사용하시는지는 모르지만 배포판마다 조금씩 다를 수 있거든요. 수많은 문제가 생길 수도 있고 심지어는 새로 설치해야할 상황이 발생할 수도 있습니다.

기존의 gcc를 대체하는 방법이 아닌, prefix(/opt/gcc-4.0.2)를 달리해서 하나 더 설치하는 방식을 추천합니다.

wewoori의 이미지

정리을 해보면 objdir이라는 디렉토리을 만든후 압축을 그안에 풀어서 컴파일하라는 소리죠.. 근데.. 역시나.... 아..그리고 그렇게 할 생각입니다. 따로 하나 만들어서...~~ 음냐... 정리가 안되고있습니다.. 자세히 설명해주실분.... 바쁘시겠지만.. 부탁드립니다... 답변 주신분들 감사합니다... 즐거운 하루되시구요..

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.