Hi, 

I am trying to use Freedom studio to build a project.

But suffer a error to build .hex. and I have already updated the .guess and .sub

Following is the message form console and my computer’s information.

Please help me and thank you very much!

 

 

/c/Users/chunmin.chen/wsFreedomStudio/e34/src/debug/software-interrupt.elf > 
/c/Users/chunmin.chen/wsFreedomStudio/e34/src/debug/software-interrupt.lst

riscv64-unknown-elf-size 
/c/Users/chunmin.chen/wsFreedomStudio/e34/src/debug/software-interrupt.elf

   text     data      bss      dec      hex  filename

   6471     2116    63423    72010    1194a    
C:/Users/chunmin.chen/wsFreedomStudio/e34/src/debug/software-interrupt.elf

cd scripts/elf2hex/build/; \

    /c/Users/chunmin.chen/wsFreedomStudio/e34/scripts/elf2hex/configure \

    --prefix=/c/Users/chunmin.chen/wsFreedomStudio/e34/scripts/elf2hex/install \

    --target=riscv64-unknown-elf

/c/Users/chunmin.chen/wsFreedomStudio/e34/scripts/elf2hex/config.guess: unable 
to guess system type

 

This script (version 2019-03-04), has failed to recognize the

operating system you are using. If your script is old, overwrite *all*

copies of config.guess and config.sub with the latest versions from:

 

  https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess

and

  https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub

 

If /c/Users/chunmin.chen/wsFreedomStudio/e34/scripts/elf2hex/config.guess has 
already been updated, send the following data and any

information you think might be pertinent to config-patches@gnu.org to

provide the necessary information to handle your system.

 

config.guess timestamp = 2019-03-04

 

uname -m = unknown

uname -r = unknown

uname -s = unknown

uname -v = unknown

 

/usr/bin/uname -p = 

/bin/uname -X     = 

 

hostinfo               = 

/bin/universe          = 

/usr/bin/arch -k       = 

/bin/arch              = 

/usr/bin/oslevel       = 

/usr/convex/getsysinfo = 

 

UNAME_MACHINE = "unknown"

UNAME_RELEASE = "unknown"

UNAME_SYSTEM  = "unknown"

UNAME_VERSION = "unknown"

configure: error: cannot guess build type; you must specify one

make: *** [Makefile:186: scripts/elf2hex/build/Makefile] Error 1

checking build system type... 

 

16:24:41 Build Finished (took 1m:22s.932ms)

 

 



 

 

 

Best regards,

ChunMin 

---------------------------------------

SiFive   | 赛昉科技

ChunMin | 陳群旻

+886 912-612-030

 <https://www.sifive.com/> https://www.sifive.com/

 

_______________________________________________
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches

Reply via email to