Hello RenesasRulz.com, today I'm playing with this toolchain : C/C++ compiler package for the H8, H8S, and H8SX family V.7.00 Release 00 (10-2-2015 23:06:47) I have a problem with every Project generated code with the following configuration set : H8S,H8/300 Standard Toolchain Standard Library TAB Select the language : C99 Enable all option configuration set resulting in : -cpu=2000A:24 -output="$(CONFIGDIR)\$(PROJECTNAME).lib" -ecpp -head=runtime,new,ctype,math,mathf,stdarg,stdio,stdlib,string,ios,complex,cppstring,c99_complex,inttypes,wchar,wctype -lang=c99 It gives me linking phase error. This is the Build panel log : Building All - RenesasTC70 - SimDebug_H8S-2000A Phase H8S,H8/300 C/C++ Library Generator starting Runtime compiling Ctype compiling Math compiling Mathf compiling Stdarg compiling Stdio compiling Stdlib compiling String compiling Ios compiling New compiling Complex compiling Cppstring compiling C99Complex compiling Inttypes compiling wchar compiling wctype compiling Assembling start License expires in 17 days Phase H8S,H8/300 C/C++ Library Generator finished Phase H8S,H8/300 C/C++ Compiler starting C:\Users\user\workspace\RenesasTC70\RenesasTC70\RenesasTC70.c C:\Users\user\workspace\RenesasTC70\RenesasTC70\dbsct.c C:\Users\user\workspace\RenesasTC70\RenesasTC70\hwsetup.c C:\Users\user\workspace\RenesasTC70\RenesasTC70\intprg.c C:\Users\user\workspace\RenesasTC70\RenesasTC70\lowsrc.c C:\Users\user\workspace\RenesasTC70\RenesasTC70\resetprg.c C:\Users\user\workspace\RenesasTC70\RenesasTC70\sbrk.c Phase H8S,H8/300 C/C++ Compiler finished Phase H8S,H8/300 Assembler starting C:\Users\user\workspace\RenesasTC70\RenesasTC70\lowlvl.src Phase H8S,H8/300 Assembler finished Phase OptLinker starting License expires in 17 days L2310 (E) Undefined external symbol "__Files" referenced in "fflush" L2310 (E) Undefined external symbol "__Files" referenced in "xfofind" Optimizing Linkage Editor Abort Phase OptLinker finished Build Finished 2 Errors, 0 Warnings It suffices to change as follows : Select the language : C(C89) then everything is fine! Build Finished 0 Errors, 0 Warnings Can someody help me to fix it? Thank You. Giacomo
↧