2013-07-29 2 views
1

링크 http://www.mono-project.com/Mono:ARM#Compiling_on_the_device의 단계를 사용하여 arm 용 mono-3.2.0 소스를 교차 컴파일하려고합니다. 내 PC에 스크래치 박스를 설치했습니다. 대부분의 사람들은 크로스 컴파일 모노에 대한 위의 링크를 제안합니다. 그러나 나는 할 수 없었다.scratchbox에서 ARM 용 모노 소스를 크로스 컴파일하는 중 오류가 있습니까?

Two stages of compilation needed. 
The first one in my PC. 
The second one within scratch box. 

After that need to combine the resulting two install directories and copy that to my arm board. 

니어을 내가 내가

으로 시도했을 때

   $ ./configure --host=arm-none-linux-gnueabi --disable-mcs-build 

결과, 스크래치 박스 (Scratchbox)에 stucked있어 다음과 같이

나는 크로스 컴파일에 대한 전반적인 생각이있어 configure : error : 크로스 컴파일하는 동안 테스트 프로그램을 실행할 수 없습니다. 내가이 명령을

    $ ./configure --host=arm-none-linux-gnueabi --enable-minimal=profiler,debug,logging,soft_debug --with-tls=--with-tls=__thread --with-monotouch=no 
                --without-mcs-docs --disable-mono-debugger CFLAGS=-DARM_FPU_VFP --with-sigaltstack=no --disable-mcs-buildno 

시도 후

는 괜찮 았는데. 나는 그것이 옳다는 것을 알지 못한다. 나는이 포럼에서 이것을 얻었다.

는 내가 오류를 다음 얻을

    $ make -j 8 

을 시도 : -

         After some make.. 

           Making all in mini 
      make[3]: Entering directory `/home/kishor/cross/mono-3.2.0/mono/mini' 
      if test -d ../../.git; then \ 
      (cd ../..; \ 
       LANG=C; export LANG; \ 
       branch=`git branch | grep '^\*' | cut -d ' ' -f 2`; \ 
       version=`git log --no-color --first-parent -n1 --pretty=format:%h`; \ 
      echo "#define FULL_VERSION \"$branch/$version\""; \ 
      ); \ 
     else \ 
     echo "#define FULL_VERSION \"tarball\""; \ 
     fi > version.h 
      CC  genmdesc-genmdesc.o 
      CC  genmdesc-helpers.o 
      In file included from mini-arch.h:21, 
      from mini.h:36, 
      from genmdesc.c:9: 
      mini-arm.h:23: error: #error "hardfp-abi not yet supported." 
      In file included from mini-arch.h:21, 
      from mini.h:36, 
      from helpers.c:9: 
     mini-arm.h:23: error: #error "hardfp-abi not yet supported." 
     make[3]: *** [genmdesc-genmdesc.o] Error 1 
     make[3]: *** Waiting for unfinished jobs.... 
     make[3]: *** [genmdesc-helpers.o] Error 1 
     make[3]: Leaving directory `/home/kishor/cross/mono-3.2.0/mono/mini' 
     make[2]: *** [all-recursive] Error 1 
     make[2]: Leaving directory `/home/kishor/cross/mono-3.2.0/mono' 
     make[1]: *** [all-recursive] Error 1 
     make[1]: Leaving directory `/home/kishor/cross/mono-3.2.0' 
     make: *** [all] Error 2 

이 사람이 나를 도와 드릴까요?

답변

0

나는 맞춤법 실수가 있는지 확실하지 오전하지만 그것이 제대로 구성해야합니다 그 후 -disable-MCS는 빌드 MC에게 - 빌드

을 -disable-하지해야합니다.

0

this issue에 따르면 Mono는 ARM에서 아직 하드 플로트를 지원하지 않습니다. 대신에 CFLAGS = -DARM_FPU_NONE을 사용해 보거나 CFLAGS 지시자를 생략하면 작동하는 설정으로 기본 설정됩니다.

관련 문제