Giter VIP home page Giter VIP logo

gbdk-osx's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gbdk-osx's Issues

Compilation issues on macOS Sierra 10.12.6

I had some errors while running make. Initially it complained about sdcc/bin not being created and then it complained about "SDCC.y:1004:12: error: label at end of compound statement: expected statement default:"

I removed the duplicate break statement here and it all built successfully. Not sure if it might break something though.

break;

Issues building on 10.11.2

When trying to build, I receive the following error:

gcc -o ../../bin/makebin makebin.o
ld: can't open output file for writing: ../../bin/makebin, errno=2 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../../bin/makebin] Error 1
make[1]: *** [sdcc-libs] Error 2
make: *** [sdcc-build] Error 2

Simply ran make inside the root directory.

Error on makebin.c

Hey there! I am on the latest OSX, and I got this error:

gcc -ggdb -O2 -pipe -Wall  -I. -I../.. -I../../support/Util  -c -o makebin.o makebin.c
makebin.c:75:5: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration]
    memset(rom, FILL_BYTE, size);
    ^
makebin.c:75:5: note: include the header <string.h> or explicitly provide a declaration for 'memset'
1 warning generated.
gcc -o ../../bin/makebin makebin.o
ld: can't open output file for writing: ../../bin/makebin, errno=2 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../../bin/makebin] Error 1
make[1]: *** [sdcc-libs] Error 2
make: *** [sdcc-build] Error 2

Decided to include the previous build command, just in case. Looks like I can't link, for some reason... Honestly though, I cloned the repo and blindly executed make inside it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.