1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-02 03:04:31 +00:00
Commit Graph

62 Commits

Author SHA1 Message Date
ol.sc
0cb60439c8 Replaced <target>-geos with geos-<target>.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5361 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-02 11:25:36 +00:00
ol.sc
e2781c4388 Replaced references to target 'geos' with references to (the upcoming) 'apple-geos' and (the to-be renamed) 'cbm-geos'.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5324 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-12-27 15:24:30 +00:00
uz
494b0619d7 Added more sample for the inline assembler. Contributed by Steffen Görzig.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5308 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-12-07 21:08:14 +00:00
uz
928c76235f Fix output of --help regarding -W. Added new option --list-warnings.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5005 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-01 17:42:49 +00:00
uz
e0d3936705 Document that -t changes not only the character translation table, but also
the default CPU.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4884 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-11-29 20:13:32 +00:00
uz
3f5b2a8fbd Allow to disable the "Result of comparison is constant" warning.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4883 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-11-28 21:16:46 +00:00
uz
e048d2aeba Make the warning "statement has no effect" switchable.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4823 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-02 19:32:11 +00:00
uz
096cb9c0a8 Added missing docs for predefined macros, sorted them alphabetically.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4666 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-05-25 20:36:40 +00:00
uz
d54ca88743 Added a new option --dep-target to the compiler. This option allows to set the
target in the generated dependency file. The cl65 utility will use this option
to override the depdendency target, if actual object files are to be generated
from C input. So the generated dependency will not have the intermediate .s
file as target, but the final .o file, which allows to use the dependency
files without further processing.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4660 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-05-02 09:56:40 +00:00
uz
c24fc36d36 Added a more detailed explanation of the --standard command line switch.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4656 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-05-01 16:22:54 +00:00
uz
96cf7f6271 Changed generation of makefile dependencies:
* There are now two options, --create-dep and --create-full-dep. One
    will add system includes, the other not.
  * Both options require a file name. This is an incompatible change(!)
    but has the advantage that the user is in control of extension and
    path of the generated file.
  * Output will always include a phony target for the input files. This
    may not work with all make programs.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4652 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-05-01 09:42:12 +00:00
uz
7d94dc50a1 New option and #pragma --local-strings that causes string literals to be
output immediately.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4504 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-08 20:35:24 +00:00
uz
3976746735 Rewrote literal handling. Literals are now saved together with other function
data, and at the end of compilation merged if possible. Literals for unused
functions are removed together with the function.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4501 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-05 22:39:45 +00:00
uz
50ff6d0768 Create one literal pool per function, so that literal pool data is removed
together with a function, if it is not used. Literal storage can now be
controlled by #pragma writable-strings on a per function basis.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4499 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-04 14:12:25 +00:00
uz
ed2767e65f Changed names of the pragmas to be identical to the corresponding command line
options. This should make use easier. The old names of the pragmas are still
available but will cause warnings.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4364 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-14 12:55:15 +00:00
uz
a1fb355a9a Rewrote most of the #pragma parsing code. I'm still not satisfied, but at
least, it's a bit better than before. #pragma warn (...) is now used to switch
single warnings instead of a global on/off switch.



git-svn-id: svn://svn.cc65.org/cc65/trunk@4362 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-13 21:24:32 +00:00
uz
b55419af59 Rewrote handling of the -W command line option. It is now used to enable or
disable warnings by name.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4348 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-08 13:29:35 +00:00
uz
cb688729af Changed search paths to use subdirectories of CC65_HOME, remove CC65_LIB.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4209 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 11:49:53 +00:00
uz
4ee6bf6f2c Fixed a few inaccuracies the the description of the --codesize option.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4160 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-12 22:04:35 +00:00
uz
829cb7de4c Missing resp. ignored "volatile".
git-svn-id: svn://svn.cc65.org/cc65/trunk@4084 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-30 07:55:21 +00:00
uz
7a7526ef8b Few small changes. Started a new section about implementation-defined
behavior.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4082 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-29 22:03:41 +00:00
uz
7f7dc69290 Rewrote the paragraph about compiler limits and standard compliance.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4080 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-29 21:32:14 +00:00
cuz
b8a6d7a6f6 Minor update by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3746 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-31 21:11:46 +00:00
cuz
e4c3555ea0 Small fixes by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@3575 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-10 08:43:03 +00:00
cuz
43da460147 Small changes to work around problems in the linuxdoc implementation of
Debian Woody. Contributed by Michael Klein.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3541 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-24 13:32:38 +00:00
cuz
3378430097 Small additions by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3517 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-05-24 20:52:11 +00:00
cuz
3c20c4c3e1 Fixed a few typos (note from Stefan Haubenthal)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3372 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-22 14:45:25 +00:00
cuz
48a7d56619 Small improvement
git-svn-id: svn://svn.cc65.org/cc65/trunk@3323 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-02 22:26:17 +00:00
cuz
13a2927e17 The -A and --ansi switches are gone, together with the __STRICT_ANSI__
predefined macro. Instead there is now a command line option --standard that
allows to set c89, c99 or cc65 as language standard. The compiler defines a
macro __CC65_STD__ that is one of __CC65_STD_C89__, __CC65_STD_C99__ or
__CC65_STD_CC65__ depending on the command line option. Default is cc65 (all
extensions) as before.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3133 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-21 22:22:11 +00:00
cuz
255392eb15 Document the codesize, optimize and warn pragmas
git-svn-id: svn://svn.cc65.org/cc65/trunk@3131 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-15 21:20:34 +00:00
cuz
9cb7015055 Inline assembly can now reference C labels with the %g format specifier
git-svn-id: svn://svn.cc65.org/cc65/trunk@3128 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-15 20:08:01 +00:00
cuz
e3f63219a1 Fixed a typo and changed example to use new asm syntax
git-svn-id: svn://svn.cc65.org/cc65/trunk@3112 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-07 21:40:51 +00:00
cuz
5abf10e049 New options
git-svn-id: svn://svn.cc65.org/cc65/trunk@3064 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-01 11:22:35 +00:00
cuz
32307e14e4 Document push/pop for segment name #pragmas
git-svn-id: svn://svn.cc65.org/cc65/trunk@2908 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-08 22:35:37 +00:00
cuz
7006e5d1f2 Documented the new push/pop factility for #pragmas.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2903 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-07 22:02:45 +00:00
cuz
ffb77285de New %s inline asm format specifier
git-svn-id: svn://svn.cc65.org/cc65/trunk@2442 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-16 20:35:37 +00:00
cuz
d134c72cfd Added info about the __VIC20__ #define
git-svn-id: svn://svn.cc65.org/cc65/trunk@2231 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-07-21 17:18:42 +00:00
cuz
533fb244cc Documented flexible array members
git-svn-id: svn://svn.cc65.org/cc65/trunk@1929 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-05 22:34:27 +00:00
cuz
6598be68b2 Added blurb about register variables
git-svn-id: svn://svn.cc65.org/cc65/trunk@1654 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-26 18:46:40 +00:00
cuz
3274257528 Added atmos and new c16 target
git-svn-id: svn://svn.cc65.org/cc65/trunk@1580 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 02:31:12 +00:00
cuz
4cc56dacbd Extend description of %v inline assembler format specifier
git-svn-id: svn://svn.cc65.org/cc65/trunk@1484 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-04 13:57:27 +00:00
cuz
277e5ff77d Fixed some bad looking stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@1463 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-10 21:51:14 +00:00
cuz
e02d973316 List of short options were missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@1462 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-10 21:47:43 +00:00
cuz
c4d44dc55a Remove statement about initialization of locals
git-svn-id: svn://svn.cc65.org/cc65/trunk@1461 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-10 21:45:44 +00:00
cuz
c3661446ee Document the new #pragma syntax. Add comment about not using the asm names
of global symbols in inline assembler statements.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1460 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-10 21:44:19 +00:00
cuz
f0dae93d42 Document #pragma charmap
git-svn-id: svn://svn.cc65.org/cc65/trunk@1161 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-18 08:39:41 +00:00
cuz
77de15020f Reordered the options to match the actual usage output
git-svn-id: svn://svn.cc65.org/cc65/trunk@1003 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-02 19:02:50 +00:00
cuz
22dd82ae8a Updated the option list
git-svn-id: svn://svn.cc65.org/cc65/trunk@1001 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-02 18:56:40 +00:00
cuz
9f3af1c09d Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@997 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-02 17:20:06 +00:00
cuz
93c80bc5d5 Date update
git-svn-id: svn://svn.cc65.org/cc65/trunk@996 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-02 16:49:12 +00:00