CYGWIN ARM크로스컴파일러 설정시 에러

linux777의 이미지

binutils-2.14.tar.gz
gcc-2.95.3.tar.gz
gdb-2.3.2.tar.gz
newlib-1.12.0.tar.gz
위의 화일을 압축을 푼후,

cd binutils-2.14
를 실행하고

$ ./configure --target=arm-elf --prefix=/home/user/armgcc -v
를 실행하면 다음의 에러 발생...

loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... arm-unknown-elf
checking build system type... i686-pc-cygwin
cc: not found
*** The command 'cc -o conftest -g conftest.c failed.
*** You must set the environment variable CC to a working compiler.

해결방법 좀 제시 부탁드립니다....

hys545의 이미지

linux777 wrote:
binutils-2.14.tar.gz
gcc-2.95.3.tar.gz
gdb-2.3.2.tar.gz
newlib-1.12.0.tar.gz
위의 화일을 압축을 푼후,

cd binutils-2.14
를 실행하고

$ ./configure --target=arm-elf --prefix=/home/user/armgcc -v
를 실행하면 다음의 에러 발생...

loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... arm-unknown-elf
checking build system type... i686-pc-cygwin
cc: not found
*** The command 'cc -o conftest -g conftest.c failed.
*** You must set the environment variable CC to a working compiler.

해결방법 좀 제시 부탁드립니다....


cc가 안깔린건데여
gcc깔은건가여?
참고로 시그윈 패키지 관리다에서 개발 항목에 있ㄴ느거 다꺼는게 조횾

즐린

windower의 이미지

기본적으로 Cygwin설치시 gcc컴파일러나 vi에디터등이 설치 되지 않는 것으로 알고 있습니다.

hys545님 말씀대로 확인해보시고,

혹시나 해서 말씀드리는데,
cygwin용 toolchain은 따로 있습니다.

일반 리눅스용 Toolchain으로는
잘 안된다는 얘기를 들었습니다.
(저도 Cygwin에서는 작업해본지 오래라..)

Always

saxboy의 이미지

옛날에 cygwin용 arm 툴체인을 하나 빌드해 둔 것이 있습니다. 구할 곳이야 많겠지만... 필요하시면 가져다가 쓰세요. 요피용 라이브러와 짬뽕되어서 쓸데없는 것들이 많을지도 모르겠지만, 디렉토리 몇개만 지우면 컴파일러 쓰시는 데는 별 문제가 없을 것 같군요.

http://saxboy.pe.kr/yopy/yopy-cygwin-devkit/index.html

linux777의 이미지

GYGWIN과 TOOLCHAIN 프로그램의 접속방법 문의

위에 분께서 TOOLCHAIN을 올려 주셨는데,
뭐가 안맞아서인지 패스조차 못찿더군요...

TOOLCHAIN 프로그램과 CYGWIN과 원활한 동작을 위한
방법있으면 도움 주셨으면 합니다...

windower의 이미지

예전에 Nanowit이란 보드 제조사( ? )에서
배포하던 Cygwin용 Toolchain입니다.

http://www.nanowit.com/down/tools/NanoWit_Toolchains.cygwin.tar.gz
(링크 막걸어도 되나 모르겠네요 ㅡ_ㅡ;;)

/usr/local아래 압축 푸시고,
PATH잡아주셔야 합니다.

다음과 같은 두곳의 path를 권장하네요.

Quote:

PATH=$PATH:/usr/local/nanowit/bin:/usr/local/nanowit/arm-linux-uclibc/bin

설치후
arm-uclibc-gcc 와 arm-nanowit-linux-gcc로 사용하실 수 있습니다.

cf) uclibc를 사용하고 있습니다. **이점 유의**
그리고, glibc를 사용한 toolchain for cygwin을 어디서 본적이 있는것 같습니다. 아마 아시는 분 계시면 링크를 달아 주실 겝니다.

Always

댓글 달기

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