Skip to content
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

Build is broken on Mac #17

Open
franciozzy opened this issue Mar 29, 2016 · 1 comment
Open

Build is broken on Mac #17

franciozzy opened this issue Mar 29, 2016 · 1 comment

Comments

@franciozzy
Copy link

I just realised that commit 1570efc02cb2bd3aa2564e3a2ebe77249279af4b is incompatible with building on Yosemite and El Capitan.

When trying to build, I get -static instead of -D__APPLE__ which causes the following:

gcc  -Wall -static -o lpc21isp lpc21isp.c adprog.o lpcprog.o lpcterm.o
ld: library not found for -lcrt0.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [lpc21isp] Error 1

To fix it, I have reverted that commit. Could you please fix that on your branch? Or maybe change that test to support both "darwin" and "Darwin" ?

@leandron
Copy link

Still broken for macOS Sierra. Changing darwin to Darwin fix the problem as reported by @franciozzy.

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