SDK V1.10 Makefile 导致编译出错

iamseer
Posts: 4
Joined: Thu Apr 16, 2015 1:56 am

SDK V1.10 Makefile 导致编译出错

Postby iamseer » Fri May 29, 2015 12:23 pm

V1.10的 Makefile 多出了
-ffunction-sections \
-fdata-sections
因此导致编译例程时输出
xt-xcc.exe WARNING: -ffunction-sections is ignored
xt-xcc.exe WARNING: -fdata-sections is ignored
并报错退出。
请问删除这两行是否会造成问题?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: SDK V1.10 Makefile 导致编译出错

Postby ESP_Faye » Mon Jun 01, 2015 10:46 am

您好,

这两个参数是针对 GCC 编译器使用的,您使用 XCC 编译,则可以删去。

感谢您对 ESP8266 的关注!

Who is online

Users browsing this forum: No registered users and 4 guests