1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
Commit Graph

10147 Commits

Author SHA1 Message Date
mrdudz
85fb6ba944 add check for +x flag 2022-07-21 03:22:52 +02:00
mrdudz
8e787c0c0a remove +x flag 2022-07-21 03:22:52 +02:00
compyx
4595d08c6e Fix set but unused variable 2022-07-21 03:22:52 +02:00
mrdudz
3717f36c52 rename the actual checkstyle target too :) 2022-07-21 03:22:52 +02:00
mrdudz
0e4d3aa7c5 rename the "check" target to "checkstyle".
also created a new "check" target which runs all tests, as it is common with GNU programs
2022-07-21 03:22:52 +02:00
mrdudz
0113d1328b don't try to build the checkversion sample for targets that do not have printf 2022-07-21 03:22:52 +02:00
mrdudz
976d07b98f clean and mostlyclean should also clean the test and targettest directories 2022-07-21 03:22:52 +02:00
Bob Andrews
08bad5b93b Update README.md 2022-07-21 03:22:52 +02:00
polluks2
133d703964 smarter manufacturer
some kind of promotion
2022-07-21 03:22:52 +02:00
mrdudz
1334a10101 sample program that demonstrates how to compare the value of __CC65__ for
any version of the compiler
2022-07-21 03:22:52 +02:00
mrdudz
b9779927e7 document changes to __CC65__ 2022-07-21 03:22:52 +02:00
mrdudz
354dcd6101 define __CC65__ as ((VER_MAJOR * 0x100) + VER_MINOR), fixes issue #1667 2022-07-21 03:22:52 +02:00
mrdudz
15047d9754 simple test related to #1678 2022-07-21 03:22:52 +02:00
mrdudz
3943dc1216 Fix endless loop on expanding a recursive macro, fixed issue #1678, patch by kugelfuhr 2022-07-21 03:22:52 +02:00
mrdudz
b8d0bd7f95 Add a directory for tests that exercise the supported C standard differences.
As a first test added the snippet given in issue #1670
2022-07-21 03:22:52 +02:00
mrdudz
4579d584b1 fix some header files to conform with C99 hopefully, should fix issue #1670 2022-07-21 03:22:52 +02:00
mrdudz
db2dfc9226 must include stdarg.h to use varargs 2022-07-21 03:22:52 +02:00
Bob Andrews
738d6dba88 Update Contributing.md 2022-07-21 03:22:52 +02:00
Bob Andrews
cb5ced7c9d Update Contributing.md 2022-07-21 03:22:52 +02:00
mrdudz
4285a30236 At the end of the optimizer run, remove jump cascades again. fixes the
regression reported in #1652
2022-07-21 03:22:52 +02:00
mrdudz
8ec41083e9 add extra optimizer step that replaces BRA by JMP if the target is external 2022-07-21 03:22:52 +02:00
mrdudz
4ddbe5f838 test related to issue #1652, shows regression broken by #1231 and the
case that #1231 improved.
2022-07-21 03:22:52 +02:00
mrdudz
ab7079df00 add sourcelines to the generated asm for easier inspection,
redirect output of sim65, including cycle count, into a seperate .out file per program
2022-07-21 03:22:52 +02:00
Bob Andrews
bfe9ddeb6a Update Contributing.md 2022-07-21 03:22:52 +02:00
polluks2
f8a940bce4 Some clean-up
One exit() too much
file is not optional
2022-07-21 03:22:52 +02:00
polluks2
395e072c3b typo 2022-07-21 03:22:52 +02:00
Bob Andrews
d365b8a4ee Adjust comments 2022-07-21 03:22:52 +02:00
rofl0r
5867d3a020 change GetProgPath() to return full & resolved binary path
GetProgPath() now resolves the path derived from argv[0] always
via realpath(3p) to its real location in the filesystem, and returns
the path including binary name, effectively making it work like
windows' GetModuleFileName(), so we can re-use the existing code
to strip the trailing binary name.
since symlinks are now always resolved, we no longer need the
special case code for linux to use /proc/self/exe for this purpose.
2022-07-21 03:22:52 +02:00
Bob Andrews
546e82965d Try reading from /proc/self first on linux, this is needed to make the edgy "make avail" work 2022-07-21 03:22:52 +02:00
rofl0r
6f74a2e9c7 rename AddSubSearchPathFromWinBin to AddSubSearchPathFromBin 2022-07-21 03:22:52 +02:00
rofl0r
6a5375ace4 implement AddSubSearchPathFromWinBin() counterpart for unix
this looks up paths relative to the binary used to start the
specific application.
2022-07-21 03:22:52 +02:00
rofl0r
6eeaf7485c build: allow empty prefix
there was some concern that this will break windows' way of doing
file lookups relatively from the binary, rather than via hardcoded
locations, but so far each occurence adding e.g. "CA65_INC" to
the pathsearch is already shielded with an #ifndef _WIN32.

addressing #1726
2022-07-21 03:22:52 +02:00
jede
e9bf0dd64f fix space 2022-07-21 03:22:52 +02:00
jede
16d896b73f fix mkdir 2022-07-21 03:22:52 +02:00
jede
e1fbb8465b fix spaces 2022-07-21 03:22:52 +02:00
jede
e1b8508798 fix typo 2022-07-21 03:22:52 +02:00
jede
244da9c911 missing fd_management and cleaning 2022-07-21 03:22:52 +02:00
Wayne Parham
dfab2b27cd Added myself as an external contributor for the Sym-1 target 2022-07-21 03:22:52 +02:00
Greg King
55ea831e2d Upgraded the cx16 library to the Commander X16 Kernal ROM's prerelease 39. 2022-07-21 03:22:52 +02:00
Bob Andrews
6e3e98220b Update Contributing.md 2022-07-21 03:22:52 +02:00
Bob Andrews
6fac3be97c Update README.md 2022-07-21 03:22:50 +02:00
mrdudz
976c6af74b test some more cases that should not change size 2022-07-21 03:20:45 +02:00
mrdudz
72e2751bfd added a test that must fail 2022-07-21 03:20:45 +02:00
jede
84e2fee9a4 fix bss 2022-07-21 03:20:45 +02:00
jede
164acad6cb fix space 2022-07-21 03:20:45 +02:00
jede
ebcf6ec52d FIX space 2022-07-21 03:20:45 +02:00
jede
c38504b06d cgetc export data now 2022-07-21 03:20:45 +02:00
rofl0r
058126ae41 remove orphaned STRINGIZE macro 2022-07-21 03:20:45 +02:00
rofl0r
910ce5c1fd build: properly quote strings passed as cpp macros
until now, the strings intended to be hardcoded into the binary,
such as directory names and build id, were passed unquoted, which
means they're interpreted by the preprocessor as C tokens, rather
than strings, which can result in all sorts of "interesting"
behaviour such as interpreting paths starting with // as C++-style
comment.
this was then worked around using a stringize macro which turned
the tokens into a string (if they happened to be in a compatible
format).

adresses #1726
2022-07-21 03:20:45 +02:00
rofl0r
09e0dd02a0 build: allow the user to specify make V=1 for verbose build
it's often required to see the full commandline when things go wrong.
the standard way for Makefile-only based buildsystems and autoconf
is to pass V=1 to make.
2022-07-21 03:20:45 +02:00