GithubHelp home page GithubHelp logo

edvb / ratium Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 359 KB

extendible top-down pixel adventure game

Home Page: http://edvb.itch.io/ratium

License: GNU General Public License v3.0

C 81.38% C++ 3.11% Makefile 4.17% Shell 0.44% Lua 8.26% Roff 2.64%
ascii c game lua roguelike

ratium's People

Contributors

edvb avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ratium's Issues

About CC

During the compilation, I got this error:

% make
ratium build options:
CC      = gcc-4.9
CFLAGS  = -std=c11 -pedantic -Wall -Iinclude -DVERSION="0.0.0"
LDFLAGS = -lncurses
CC src/data.c
make: gcc-4.9: Command not found
Makefile:40: recipe for target 'src/data.o' failed
make: *** [src/data.o] Error 127

As you can see there is no gcc-4.9 on my system, I think fixedly setting CC is problematic.

I only have 4.8 and 4.7, and my system (Gentoo) actually only goes down to with patch number, that is gcc-4.7.3 and gcc-4.8.4, there is no link to with minor number. So, it's really an issue and meant to be broken across different distributions, even on your own system in the future as 4.9 being replaced.

As a good example with your cboy, it uses gcc-4.7, I'd bet it's broken now even for you. I don't believe you would possibly keep up to three versions of GCC.

I would suggest the following if insist on having CC set:

CC ?= gcc-4.9
# better just be 
# CC ?= gcc

This way, if there is a default CC, which is supposed to be a working compiler, instead of being overriden by possible broken CC, the default is used and should have no issues; and if they do, users can still make CC=something to override.

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.