Skip to content

Changes for Cygwin 64b#33

Open
archont94 wants to merge 2 commits intojcmvbkbc:xtensa-1.22.xfrom
archont94:xtensa-1.22.x
Open

Changes for Cygwin 64b#33
archont94 wants to merge 2 commits intojcmvbkbc:xtensa-1.22.xfrom
archont94:xtensa-1.22.x

Conversation

@archont94
Copy link
Copy Markdown

@archont94 archont94 commented Oct 25, 2016

Hi,
I have problems with compilation of esp-open-sdk project on Cygwin, which use crosstool-NG. These changes shoudn't affect Linux, but without it compilation on Cygwin 64 bit isn't possible.

ArchontPL added 2 commits October 25, 2016 19:28
This allow to compile esp-open-sdk on Cygwin, shouldn't affect Linux
All credits to @davydnorris who found way to solve this problem. Thanks! More info: http://www.esp8266.com/viewtopic.php?p=56044#p56044
--with-build-sysroot="${CT_SYSROOT_DIR}" \
--with-sysroot="${CT_SYSROOT_DIR}" \
--disable-werror \
--disable-tui \
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to change crosstool-ng proper, just add CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="--disable-tui" to the config.

+ host_xmake_file="${host_xmake_file} i386/x-cygwin"
+ host_exeext=.exe
+ host_lto_plugin_soname=cyglto_plugin-0.dll
+ ;;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've taken a look at the mainline patch that adds x86_64 cygwin support, it does more than that. Don't we need at least changes to gcc/config.build? There's the whole series that added x86_64 support, why don't we just backport it?

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

Successfully merging this pull request may close these issues.

2 participants