[완료]gcc 컴파일 에러 ㅠ.ㅠ(error: Link tests are not allowed after GCC_NO_EXECUTABLES))

sumpf의 이미지

es40-64비트 장비에 gcc 3.4.6컴파일 하는 중 아래처럼 에러가 납니다.
구글이나 gcc홈페에지 버그리포트를 뒤져봐도 뚜렷한 해답이 안나옵니다.,
아시는 분 있으시면 도움 요청 드립니다. 추가 정보 있어야 되면
올려드리겠습니다., 그럼 읽어주셔서 감사드리고, 이만 총총.

사용 환경

Server : redhat enterprise 4.0 – x64

Hostname : es40-x64

에러 메시지

./configure –prefix=/usr/local/gcc-3.4.6

checking for sin in -lm... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.

make: *** [configure-target-libstdc++-v3] Error 1

gcc-3.4.6 컴파일시 사용한 컴파일러

[root@es40-x64 local]# gcc -v

Reading specs from /usr/local/gcc_3.4.4/lib/gcc/x86_64-unknown-linux-gnu/3.4.4/specs

Configured with: ./configure --prefix=/usr/local/gcc_3.4.4

Thread model: posix

gcc version 3.4.4

dalgarak의 이미지

RHEL에서 굳이 _직접_ gcc를 빌드해야 할 특별한 이유가 있으신지요. 그것도 x86_64 환경에서 말이죠.

크로스컴파일 환경을 구축하려는 용도라면, dan kegel의 crosstool(http://kegel.com/crosstool/)을 사용하세요.

말씀하신 에러라면 INVALID 로 레포팅된 적이 있습니다. 참고하시면 될 듯 합니다.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16371

------
http://lunapapa.egloos.com , me2day : lunapapa , IRC: LunA_J`etch@#gnome

sumpf의 이미지


LunApapa님 답변 감사합니다. 말씀하신것처럼 crosstool 사용해서 컴파일 하니까 됩니다.!! 정말 감사합니다. ^^

ps ,. gcc-3.4.6 컴파일 하실려는 분들은,. crosstool 에 gcc-3.4.6.dat 파일이 없는데 gcc-3.4.5를 카피해서
gcc 버전만 변경해서 실행하셔도 컴파일 됩니다.

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.