Skip to content

Extra slash in -I build option #723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DonKinzer opened this issue Aug 26, 2015 · 2 comments
Closed

Extra slash in -I build option #723

DonKinzer opened this issue Aug 26, 2015 · 2 comments

Comments

@DonKinzer
Copy link

The include option for the sdk/include has an extra slash between those two directory names. Below is the compile command for my test sketch file (extra EOLs added for readability). The double slash is in the third line.
C:\Users\Don\AppData\Roaming\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++
-D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__
-IC:\Users\Don\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0/tools/sdk//include
-c -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11
-MMD -DF_CPU=80000000L -DARDUINO=10605 -DARDUINO_ESP8266_THING -DARDUINO_ARCH_ESP8266 -DESP8266
-IC:\Users\Don\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0\cores\esp8266
-IC:\Users\Don\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0\variants\thing
C:\Users\Don\AppData\Local\Temp\build1303870529194311090.tmp\sketch_aug26b.cpp
-o C:\Users\Don\AppData\Local\Temp\build1303870529194311090.tmp\sketch_aug26b.cpp.o

@igrr
Copy link
Member

igrr commented Aug 26, 2015

Does the build fail on Windows? As far as i can tell, this is not an issue
on Linux and OS X.

On Wed, Aug 26, 2015, 20:05 Don Kinzer [email protected] wrote:

The include option for the sdk/include has an extra slash between those
two directory names. Below is the compile command for my test sketch file
(extra EOLs added for readability). The double slash is in the third line.

C:\Users\Don\AppData\Roaming\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-g++
-D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__

-IC:\Users\Don\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0/tools/sdk//include
-c -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti
-falign-functions=4 -std=c++11
-MMD -DF_CPU=80000000L -DARDUINO=10605 -DARDUINO_ESP8266_THING
-DARDUINO_ARCH_ESP8266 -DESP8266

-IC:\Users\Don\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0\cores\esp8266

-IC:\Users\Don\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0\variants\thing

C:\Users\Don\AppData\Local\Temp\build1303870529194311090.tmp\sketch_aug26b.cpp
-o
C:\Users\Don\AppData\Local\Temp\build1303870529194311090.tmp\sketch_aug26b.cpp.o


Reply to this email directly or view it on GitHub
#723.

@DonKinzer
Copy link
Author

Sorry, I should have indicated that the build completed without errors. The double slash just caught my eye and I was surprised that it didn't cause a problem. I'm running this on Windows 7 (native, i.e. not in a VirtualBox).

@igrr igrr closed this as completed in 60775dc Sep 30, 2015
igrr added a commit that referenced this issue Oct 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants