Skip to content

Configurator cross fix - #1102

Merged
cdecker merged 3 commits into
ElementsProject:masterfrom
rustyrussell:configurator-cross-fix
Feb 26, 2018
Merged

Configurator cross fix#1102
cdecker merged 3 commits into
ElementsProject:masterfrom
rustyrussell:configurator-cross-fix

Conversation

@rustyrussell

Copy link
Copy Markdown
Contributor

This is my preferred fix for #1090. @icota @arowser @Sjors ?

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
…URATOR_CC

This should solve what @icota wanted in ElementsProject#1035 in a much cleaner way.

In particular, this allows you to say what configurator should use, independent
of what other compilation should use, and reverts the '-static' which broke
MacOS.

Fixes: ElementsProject#1059
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This way if the argument change, it will be regenerated.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@ZmnSCPxj

Copy link
Copy Markdown
Contributor

Looks OK to me, would ACK, but deferring to the affected users.

@arowser

arowser commented Feb 26, 2018

Copy link
Copy Markdown
Contributor

ACK

@icota

icota commented Feb 26, 2018

Copy link
Copy Markdown
Contributor

ACK
For reference, to make qemu-arm run cross compiled configurator tests without complaining use something like: CONFIGURATOR_CC="arm-linux-androideabi-clang -static"

Gotta have that -static flag since the platform we build on doesn't usually have the non-native ARM dynamic linker nor the libs. I shall update INSTALL.md with instructions.

@Sjors

Sjors commented Feb 26, 2018

Copy link
Copy Markdown
Contributor

I was able to run make on macOS 10.13.3

@cdecker

cdecker commented Feb 26, 2018

Copy link
Copy Markdown
Member

ACK e9a35f5

@cdecker
cdecker merged commit fba2bdb into ElementsProject:master Feb 26, 2018
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.

6 participants