Quick Search:

View detailed chart Line History

line history graph

View Mode

Logical Physical

Show Arbitrary Diff

From to

Supports revisions and tags.

Watches and RSS

History

MAIN 1.280 1.170 1.1 r-1-0-0 1.170.2.1 r-1-0-1 1.170.2.1.2.1 BSD_44 1.1.1.1

latest revision download Branch MAIN

1.280 annotated / raw | Diffs: previous, other | Lines: 1942 ( +5, -3 )

Created: 2014-08-20 21:42:20 +0200 (29 days ago) | Author: ragge | Changeset: MAIN:ragge:20140820194220

Do not add CRT{I,N} if they are "".

1.279 annotated / raw | Diffs: previous, other | Lines: 1940 ( +10, -5 )

Created: 2014-08-18 20:46:05 +0200 (31 days ago) | Author: ragge | Changeset: MAIN:ragge:20140818184605

Understand -MMD. Fixes Jira#PCC-473 by rl.

1.278 annotated / raw | Diffs: previous, other | Lines: 1935 ( +26, -1 )

Created: 2014-07-01 18:09:00 +0200 (2 months 18 days ago) | Author: ragge | Changeset: MAIN:ragge:20140701160900

Define target endianness for preprocessor.

1.277 annotated / raw | Diffs: previous, other | Lines: 1910 ( +8, -3 )

Created: 2014-06-20 09:33:14 +0200 (2 months 30 days ago) | Author: plunky | Changeset: MAIN:plunky:20140620073314

add -d<flags> option to front end, currently only passes M flag to
preprocessor.

fixes PCC-448 by Fred J. Tydeman

1.276 annotated / raw | Diffs: previous, other | Lines: 1905 ( +2, -1 )

Created: 2014-06-07 09:04:09 +0200 (3 months 12 days ago) | Author: plunky | Changeset: MAIN:plunky:20140607070409

revert previous addition of 'leaf' attribute. this is not supported by
gcc-4.3.1 (which pcc claims to be compatible with)

add support for 'attributes' diagnostic (enabled by default), to
allow ignoring unsupported attributes

1.275 annotated / raw | Diffs: previous, other | Lines: 1904 ( +2, -1 )

Created: 2014-06-06 15:19:03 +0200 (3 months 12 days ago) | Author: plunky | Changeset: MAIN:plunky:20140606131903

work on the W<flags> handling, so that we can specify the initial
state of a conditional warning.

add "deprecated-declarations", so that it can be disabled at runtime

1.274 annotated / raw | Diffs: previous, other | Lines: 1903 ( +13, -47 )

Created: 2014-06-06 15:04:37 +0200 (3 months 12 days ago) | Author: plunky | Changeset: MAIN:plunky:20140606130437

merge similar error handling routines, and always
output error messages to stderr

1.273 annotated / raw | Diffs: previous, other | Lines: 1937 ( +1, -6 )

Created: 2014-06-04 08:43:49 +0200 (3 months 15 days ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20140604064349

OS X improvements for structure arguments, linking against frameworks and handling SDK versions.

1.272 annotated / raw | Diffs: previous, other | Lines: 1942 ( +3, -3 )

Created: 2014-05-11 14:11:00 +0200 (4 months 8 days ago) | Author: ragge | Changeset: MAIN:ragge:20140511121100

Fix bug causing -M behave like -MD.  Fixes Jira#PCC-431 by Iain Hibbert.

1.271 annotated / raw | Diffs: previous, other | Lines: 1942 ( +2, -2 )

Created: 2014-05-09 20:55:09 +0200 (4 months 10 days ago) | Author: plunky | Changeset: MAIN:plunky:20140509185509

check the suffix of the filename, allow p++ to compile C++ files..

fixes PCC-427 by me

1.270 annotated / raw | Diffs: previous, other | Lines: 1942 ( +6, -5 )

Created: 2014-05-07 16:08:05 +0200 (4 months 12 days ago) | Author: mickey | Changeset: MAIN:mickey:20140507140805

only print file being compiled if it is being compiled; ragge@ ok

1.269 annotated / raw | Diffs: previous, other | Lines: 1941 ( +4, -1 )

Created: 2014-05-03 12:36:10 +0200 (4 months 16 days ago) | Author: ragge | Changeset: MAIN:ragge:20140503103609

Let the compiler define __FLT_EVAL_METHOD__, and add to targets accordingly.
FIxes Jira#PCC-317 by Fred J. Tydeman.

1.268 annotated / raw | Diffs: previous, other | Lines: 1938 ( +7, -2 )

Created: 2014-05-02 12:44:33 +0200 (4 months 17 days ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20140502104433

Fix symbol mangling on macos.  Add support for macos frameworks.  Now simple Carbon-based apps work.

1.267 annotated / raw | Diffs: previous, other | Lines: 1933 ( +8, -7 )

Created: 2014-04-21 23:26:02 +0200 (4 months 28 days ago) | Author: plunky | Changeset: MAIN:plunky:20140421212602

process .S suffix files the same as assembler-with-cpp, and add -xnone
handling

1.266 annotated / raw | Diffs: previous, other | Lines: 1932 ( +32, -2 )

Created: 2014-04-21 14:08:34 +0200 (4 months 28 days ago) | Author: plunky | Changeset: MAIN:plunky:20140421120834

use correct definitions for floating point limits for mach_vax;
pointed out by Matt Thomas @ NetBSD

1.265 annotated / raw | Diffs: previous, other | Lines: 1902 ( +5, -2 )

Created: 2014-03-30 20:06:14 +0200 (5 months 19 days ago) | Author: ragge | Changeset: MAIN:ragge:20140330180614

Giving sysroot arg needs to modigy linker default libs also.

1.264 annotated / raw | Diffs: previous, other | Lines: 1899 ( +11, -1 )

Created: 2014-03-20 19:48:05 +0100 (5 months 29 days ago) | Author: ragge | Changeset: MAIN:ragge:20140320184805

Add __SIZEOF_LONG__ and __SIZEOF_POINTER__ to predefines.
Change __ashldi3, __ashrdi3 and __lshldi3 to LONGLONG.

1.263 annotated / raw | Diffs: previous, other | Lines: 1889 ( +5, -3 )

Created: 2013-02-26 20:27:38 +0100 (18 months ago) | Author: plunky | Changeset: MAIN:plunky:20130226192738

add a switch to cpp to allow it to ignore non-directive lines
starting with a #, instead of raising an error

modify front end to use this switch when passing assembler-with-cpp
input files

fixes a problem noted by Antoine Leca on pcc-list

1.262 annotated / raw | Diffs: previous, other | Lines: 1887 ( +2, -2 )

Created: 2012-12-12 18:44:37 +0100 (21 months ago) | Author: ragge | Changeset: MAIN:ragge:20121212174437

Check for elf_i386 instead.

1.261 annotated / raw | Diffs: previous, other | Lines: 1887 ( +2, -1 )

Created: 2012-11-08 12:21:04 +0100 (22 months ago) | Author: plunky | Changeset: MAIN:plunky:20121108112104

for -Werror, pass -E to cpp

1.260 annotated / raw | Diffs: previous, other | Lines: 1886 ( +6, -6 )

Created: 2012-10-26 13:04:39 +0200 (22 months ago) | Author: plunky | Changeset: MAIN:plunky:20121026110439

change EARLY_SETUP -> PCC_EARLY_SETUP,
and    EARLY_ARG_CHECK -> PCC_EARLY_ARG_CHECK

and be consistent about statement terminators in the macros

1.259 annotated / raw | Diffs: previous, other | Lines: 1886 ( +2, -1 )

Created: 2012-10-14 10:37:15 +0200 (23 months ago) | Author: ragge | Changeset: MAIN:ragge:20121014083715

Add -D__PIC__ if compiling PIC code.  Reported by Isaac Dunham on pcc-list.

1.258 annotated / raw | Diffs: previous, other | Lines: 1885 ( +3, -6 )

Created: 2012-09-24 13:44:29 +0200 (23 months ago) | Author: plunky | Changeset: MAIN:plunky:20120924114429

upon reflection, don't accumulate option errors.. if the option
is unknown, we don't know anything about the rest of the command line

1.257 annotated / raw | Diffs: previous, other | Lines: 1888 ( +11, -15 )

Created: 2012-09-24 13:38:24 +0200 (23 months ago) | Author: plunky | Changeset: MAIN:plunky:20120924113824

upgrade 'option' warnings to errors

1.256 annotated / raw | Diffs: previous, other | Lines: 1892 ( +2, -2 )

Created: 2012-09-24 13:32:32 +0200 (23 months ago) | Author: plunky | Changeset: MAIN:plunky:20120924113232

if we fail to gettmp(), do exit-with-cleanup

1.255 annotated / raw | Diffs: previous, other | Lines: 1892 ( +105, -92 )

Created: 2012-09-23 10:39:48 +0200 (23 months ago) | Author: ragge | Changeset: MAIN:ragge:20120923083948

Fix bug causing pcc not to obey just - as input.

1.254 annotated / raw | Diffs: previous, other | Lines: 1879 ( +21, -14 )

Created: 2012-09-15 12:36:42 +0200 (2 years ago) | Author: ragge | Changeset: MAIN:ragge:20120915103642

Add gcc options -print-file-name, -print-prog-name and -print-libgcc-file-name
after requests om pcc-list.

1.253 annotated / raw | Diffs: previous, other | Lines: 1872 ( +6, -3 )

Created: 2012-09-09 13:25:36 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20120909112536

fix the buffer length calculation by using similar
code to count and fill (was overcounting)

1.252 annotated / raw | Diffs: previous, other | Lines: 1869 ( +8, -12 )

Created: 2012-09-07 11:32:04 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20120907093204

improve win32 gettmp() according to MSDN documentation

GetTempPath() can use max of MAX_PATH + 1 buffer, with error
being return value of 0 or actual buffer length required. Don't
proceed with partial pathBuffer, fail for errors and use errorx().

1.251 annotated / raw | Diffs: previous, other | Lines: 1873 ( +8, -11 )

Created: 2012-09-07 11:24:40 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20120907092440

improve win32pathsubst() according to documentation at www.msdn.com

ExpandEnvironmentStrings returns a DWORD (unsigned), either 0
or the size of buffer it needed, with trailing nul included
in that count. Fail for errors. use xstrdup().

1.250 annotated / raw | Diffs: previous, other | Lines: 1876 ( +25, -28 )

Created: 2012-09-07 11:15:58 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20120907091558

modify win32commandline to take strlist argument,
hopefully should make win32 work again

1.249 annotated / raw | Diffs: previous, other | Lines: 1879 ( +2, -2 )

Created: 2012-09-02 10:49:47 +0200 (2 years ago) | Author: ragge | Changeset: MAIN:ragge:20120902084947

Change of the day:  Always turn on DCE if -O.

1.248 annotated / raw | Diffs: previous, other | Lines: 1879 ( +3, -3 )

Created: 2012-09-01 21:42:08 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20120901194208

match against 'u' rather than argp (make -fstack-protector work again :)

1.247 annotated / raw | Diffs: previous, other | Lines: 1879 ( +2, -2 )

Created: 2012-09-01 11:18:50 +0200 (2 years ago) | Author: ragge | Changeset: MAIN:ragge:20120901091850

Allow -kx where x can be a number telling pic or not.

1.246 annotated / raw | Diffs: previous, other | Lines: 1879 ( +20, -19 )

Created: 2012-08-29 16:57:13 +0200 (2 years ago) | Author: ragge | Changeset: MAIN:ragge:20120829145713

Reorder f flag check slightly.  Allow early MD setup.

1.245 annotated / raw | Diffs: previous, other | Lines: 1878 ( +3, -4 )

Created: 2012-08-27 18:30:55 +0200 (2 years ago) | Author: ragge | Changeset: MAIN:ragge:20120827163055

Position of -l/-L in argument list is important, so leave them on the
input list.

1.244 annotated / raw | Diffs: previous, other | Lines: 1879 ( +16, -8 )

Created: 2012-08-25 13:16:13 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20120825111613

rework setsuf() routine to handle foo.xx.c => foo.xx.o translations

1.243 annotated / raw | Diffs: previous, other | Lines: 1871 ( +3, -2 )

Created: 2012-08-20 11:03:03 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20120820090303

ascpp can be set on a file-by-file basis, so don't insert -D__ASSEMBLER__
into preprocessor_flags during setup; add it while processing the file

1.242 annotated / raw | Diffs: previous, other | Lines: 1870 ( +3, -4 )

Created: 2012-08-20 10:32:16 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20120820083216

since -x <lang>, -Wl,<opts> and -T<script> options are also added
to "inputs" strlist, count inputs directly rather than trying to
work it out later.

1.241 annotated / raw | Diffs: previous, other | Lines: 1871 ( +6, -1 )

Created: 2012-08-13 09:06:42 +0200 (2 years 1 month ago) | Author: mickey | Changeset: MAIN:mickey:20120813070642

also parse -T options with an optional argument

1.240 annotated / raw | Diffs: previous, other | Lines: 1866 ( +4, -1 )

Created: 2012-08-12 08:23:52 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120812062352

Understand -T flag since it is used for linker scripts.

1.239 annotated / raw | Diffs: previous, other | Lines: 1863 ( +19, -14 )

Created: 2012-08-10 13:27:07 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120810112707

-x language is active for all source files from it is given and on,
so teach pcc to obey that.

1.238 annotated / raw | Diffs: previous, other | Lines: 1858 ( +8, -15 )

Created: 2012-08-09 15:07:25 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120809130725

The Wall flags myst be set when -Wall is encountered, otherwise it may
overwrite other flags set.

1.237 annotated / raw | Diffs: previous, other | Lines: 1865 ( +2, -2 )

Created: 2012-08-06 18:26:07 +0200 (2 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20120806162607

Mflag also implies exit after processing

1.236 annotated / raw | Diffs: previous, other | Lines: 1865 ( +3, -1 )

Created: 2012-08-06 18:24:40 +0200 (2 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20120806162440

PCCINCDIR may not be needed

1.235 annotated / raw | Diffs: previous, other | Lines: 1863 ( +26, -32 )

Created: 2012-08-06 16:25:33 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120806142533

Ensure that linker args ends up in correct order.

1.234 annotated / raw | Diffs: previous, other | Lines: 1869 ( +10, -1 )

Created: 2012-08-06 14:42:20 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120806124220

Add macros for modifying as arguments.

1.233 annotated / raw | Diffs: previous, other | Lines: 1860 ( +42, -38 )

Created: 2012-08-06 09:56:51 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120806075651

Repair setsuf. Support -MD option and fix checking as per addendum
to Jira#PCC-334.

1.232 annotated / raw | Diffs: previous, other | Lines: 1856 ( +7, -1 )

Created: 2012-08-06 08:47:02 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120806064702

Fix cc when calles as cpp.

1.231 annotated / raw | Diffs: previous, other | Lines: 1850 ( +2, -2 )

Created: 2012-08-05 21:34:20 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120805193420

Must exit before linking if -E is given.

1.230 annotated / raw | Diffs: previous, other | Lines: 1850 ( +4, -8 )

Created: 2012-08-05 21:30:31 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120805193031

pcc -c x.c could generate the wrong outfile.

1.229 annotated / raw | Diffs: previous, other | Lines: 1854 ( +3, -2 )

Created: 2012-08-05 20:13:01 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120805181301

Thinko causing segfaults when pcc in path.

1.228 annotated / raw | Diffs: previous, other | Lines: 1853 ( +49, -42 )

Created: 2012-08-05 19:43:01 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120805174301

Lots of fixes.

1.227 annotated / raw | Diffs: previous, other | Lines: 1846 ( +46, -60 )

Created: 2012-08-05 19:27:30 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120805172730

Fix some darwin-specific bugs.  Move darwin-specific options to ccconfig.h.

1.226 annotated / raw | Diffs: previous, other | Lines: 1860 ( +543, -649 )

Created: 2012-08-05 12:28:42 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120805102842

Change the rest of cc to Joerg's driver code, while trying to not break
too many targets.

1.225 annotated / raw | Diffs: previous, other | Lines: 1966 ( +65, -90 )

Created: 2012-08-03 16:35:10 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120803143510

Linker objects now also dynamic.

1.224 annotated / raw | Diffs: previous, other | Lines: 1991 ( +144, -61 )

Created: 2012-08-03 14:42:05 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120803124205

Start sanitychecking all args.  Remove linker static tables.

1.223 annotated / raw | Diffs: previous, other | Lines: 1908 ( +53, -47 )

Created: 2012-08-03 10:27:10 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120803082710

Use string lists for dependencies.  Support -idirafter.

1.222 annotated / raw | Diffs: previous, other | Lines: 1902 ( +244, -158 )

Created: 2012-08-02 20:07:51 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120802180751

Handle cpp option add better, and add expand_sysroot() from Joerg's driver.

1.221 annotated / raw | Diffs: previous, other | Lines: 1816 ( +37, -36 )

Created: 2012-08-02 16:24:39 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120802142439

Cleanup more in the cpp options.

1.220 annotated / raw | Diffs: previous, other | Lines: 1815 ( +387, -361 )

Created: 2012-08-02 15:27:36 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120802132736

More cleanup; change the argv/argc parsing logic so sanity checking
become simpler.

1.219 annotated / raw | Diffs: previous, other | Lines: 1789 ( +33, -15 )

Created: 2012-08-02 13:15:52 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120802111552

Use linked lists for DIU.

1.218 annotated / raw | Diffs: previous, other | Lines: 1771 ( +50, -17 )

Created: 2012-08-02 12:09:09 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120802100909

Start cleaning up cc and move more and more over to Joerg Sonnenberger's
driver instead.  This may be a long and painful process.

1.217 annotated / raw | Diffs: previous, other | Lines: 1738 ( +7, -5 )

Created: 2012-07-30 19:30:45 +0200 (2 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20120730173045

add support for -xassembler

1.216 annotated / raw | Diffs: previous, other | Lines: 1736 ( +46, -7 )

Created: 2012-07-30 13:28:06 +0200 (2 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20120730112806

install cc as pcpp also, making it calling cpp with all correct options given.
Solves Jira#PCC-334 by Jonathan Gray.

1.215 annotated / raw | Diffs: previous, other | Lines: 1697 ( +24, -42 )

Created: 2011-11-14 12:52:13 +0100 (2 years 10 months ago) | Author: plunky | Changeset: MAIN:plunky:20111114115213

slight clean up of -W[no-]<warning> handling, and add [error=] support for
finer grained control, as per gcc and PCC-371 by TAKAHASHI Tamotsu

1.214 annotated / raw | Diffs: previous, other | Lines: 1715 ( +9, -2 )

Created: 2011-11-11 09:59:09 +0100 (2 years 10 months ago) | Author: plunky | Changeset: MAIN:plunky:20111111085909

provide __STDC_HOSTED__ macro according to 'freestanding' or 'hosted'
environment

1.213 annotated / raw | Diffs: previous, other | Lines: 1708 ( +7, -9 )

Created: 2011-09-27 10:22:55 +0200 (2 years 11 months ago) | Author: plunky | Changeset: MAIN:plunky:20110927082255

use os_win32 rather than WIN32 for conditional compilation,
so that cross compiling can [be made to] work

1.212 annotated / raw | Diffs: previous, other | Lines: 1710 ( +8, -3 )

Created: 2011-09-18 13:27:05 +0200 (3 years ago) | Author: ragge | Changeset: MAIN:ragge:20110918112705

Define __cplusplus if called as p++.
Link with libp++ before libc.
Fix extension change error.

1.211 annotated / raw | Diffs: previous, other | Lines: 1705 ( +3, -1 )

Created: 2011-09-02 21:17:44 +0200 (3 years ago) | Author: plunky | Changeset: MAIN:plunky:20110902191744

handle -Os (same as -O1, for now)

1.210 annotated / raw | Diffs: previous, other | Lines: 1703 ( +3, -3 )

Created: 2011-08-31 20:27:09 +0200 (3 years ago) | Author: plunky | Changeset: MAIN:plunky:20110831182709

even though -Wimplicit-int and -Wimplicit-function-declaration
have no code in ccom as yet, in gcc they are part of -Wall so
make them so here also

1.209 annotated / raw | Diffs: previous, other | Lines: 1703 ( +18, -20 )

Created: 2011-08-31 20:02:24 +0200 (3 years ago) | Author: plunky | Changeset: MAIN:plunky:20110831180224

replace -f[no-][un]signed-char logic in ccom with a simple switch. pcc
deals in signed characters by default, and the front end will flick the
switch as appropriate (either by default for machine or OS type, or by
request from commandline)

1.208 annotated / raw | Diffs: previous, other | Lines: 1705 ( +4, -4 )

Created: 2011-08-31 12:40:49 +0200 (3 years ago) | Author: plunky | Changeset: MAIN:plunky:20110831104049

for definitions we just want defined, don't specify =1
as the preprocessor does that automatically.

1.207 annotated / raw | Diffs: previous, other | Lines: 1705 ( +2, -2 )

Created: 2011-08-28 10:52:01 +0200 (3 years ago) | Author: plunky | Changeset: MAIN:plunky:20110828085201

DIU options

1.206 annotated / raw | Diffs: previous, other | Lines: 1705 ( +3, -2 )

Created: 2011-08-27 10:05:25 +0200 (3 years ago) | Author: plunky | Changeset: MAIN:plunky:20110827080525

mention .S files

1.205 annotated / raw | Diffs: previous, other | Lines: 1704 ( +1, -11 )

Created: 2011-08-26 22:47:07 +0200 (3 years ago) | Author: plunky | Changeset: MAIN:plunky:20110826204707

remove "-d" option, since it has been broken for some time and
it is not really clear what it was for in the first place. Neither
gas nor yasm have any "-d" option, and cpp does not interpret it.

1.204 annotated / raw | Diffs: previous, other | Lines: 1714 ( +3, -3 )

Created: 2011-08-26 22:00:50 +0200 (3 years ago) | Author: plunky | Changeset: MAIN:plunky:20110826200050

Fix the -fno-[un]signed-char options to do the right thing

(the logic was inverted)

1.203 annotated / raw | Diffs: previous, other | Lines: 1714 ( +6, -4 )

Created: 2011-08-26 18:22:27 +0200 (3 years ago) | Author: plunky | Changeset: MAIN:plunky:20110826162227

provide -O[level]

1.202 annotated / raw | Diffs: previous, other | Lines: 1712 ( +3, -1 )

Created: 2011-08-24 21:02:47 +0200 (3 years ago) | Author: plunky | Changeset: MAIN:plunky:20110824190247

handle -nodefaultlibs (startfiles but no libraries)

1.201 annotated / raw | Diffs: previous, other | Lines: 1710 ( +39, -2 )

Created: 2011-08-20 23:50:15 +0200 (3 years ago) | Author: plunky | Changeset: MAIN:plunky:20110820215015

add preprocessor tokens for float/double/long double min/max
values as gcc does. The values were taken from libpcc/float.h

This was added for NetBSD which makes use of them, but perhaps
this should be #ifdef GCC_COMPAT?

1.200 annotated / raw | Diffs: previous, other | Lines: 1673 ( +13, -8 )

Created: 2011-08-20 23:40:37 +0200 (3 years ago) | Author: plunky | Changeset: MAIN:plunky:20110820214037

don't provide a default PCCLIBDIR and PCCINCDIR, if they are
not passed in then don't use them. The Makefile.in always
provides them, this means that external build frameworks (such
as NetBSD) can build a pcc which does not use these directories.

1.199 annotated / raw | Diffs: previous, other | Lines: 1668 ( +2, -1 )

Created: 2011-08-17 20:00:02 +0200 (3 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20110817180002

will also want to win32pathsubst pxxincdir

1.198 annotated / raw | Diffs: previous, other | Lines: 1667 ( +47, -12 )

Created: 2011-08-14 17:07:02 +0200 (3 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20110814150702

Fix passing of gnu99 down to ccom.  While here, if -x c++ is given or any
input file ends with a c++ option, give them to c++com instead.

1.197 annotated / raw | Diffs: previous, other | Lines: 1632 ( +1, -3 )

Created: 2011-08-13 10:43:39 +0200 (3 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20110813084339

cut duplicate -D__OPTIMIZE__

1.196 annotated / raw | Diffs: previous, other | Lines: 1634 ( +20, -12 )

Created: 2011-08-13 10:21:45 +0200 (3 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20110813082145

handle the -D__CHAR_UNSIGNED__ case for -f[no-][un]signed-char options

1.195 annotated / raw | Diffs: previous, other | Lines: 1626 ( +3, -1 )

Created: 2011-07-27 21:08:06 +0200 (3 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20110727190806

Understand option "freestanding".  Does nothing yet, though.

1.194 annotated / raw | Diffs: previous, other | Lines: 1624 ( +9, -1 )

Created: 2011-07-27 19:24:45 +0200 (3 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20110727172445

add known -W flags known to ccom, so that -WW will provide
them all when compiling

   strict-prototypes,
   missing-prototypes,
   implicit-int,
   implicit-function-declaration

1.193 annotated / raw | Diffs: previous, other | Lines: 1616 ( +3, -2 )

Created: 2011-07-27 17:06:02 +0200 (3 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20110727150602

move Werror out of the generic Warnings list

this fixes PCC-325 by Fred J. Tydeman

1.192 annotated / raw | Diffs: previous, other | Lines: 1615 ( +11, -3 )

Created: 2011-07-23 10:28:37 +0200 (3 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20110723082837

allow SIZE_TYPE and WINT_TYPE definitions to be overridden

1.191 annotated / raw | Diffs: previous, other | Lines: 1607 ( +5, -2 )

Created: 2011-07-14 15:29:54 +0200 (3 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20110714132954

__GNUC_GNU_INLINE__ should be set instead of __GNUC_STDC_INLINE__ if
running in gcc compatibility mode, as spotted by Iain Hibbert.

1.190 annotated / raw | Diffs: previous, other | Lines: 1604 ( +8, -3 )

Created: 2011-07-14 11:06:50 +0200 (3 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20110714090650

Accept gnu89, gnu99 and gnu9x as std names to get into gcc compatibility.

1.189 annotated / raw | Diffs: previous, other | Lines: 1599 ( +3, -1 )

Created: 2011-07-06 14:02:22 +0200 (3 years 2 months ago) | Author: plunky | Changeset: MAIN:plunky:20110706120222

support "-symbolic" flag in front end
(just emit "-Bsymbolic" to linker)

1.188 annotated / raw | Diffs: previous, other | Lines: 1597 ( +1, -4 )

Created: 2011-07-06 10:09:09 +0200 (3 years 2 months ago) | Author: plunky | Changeset: MAIN:plunky:20110706080909

-shared should not imply -nostdlib, use -nostdlib
if you don't want linking with standard libraries

1.187 annotated / raw | Diffs: previous, other | Lines: 1600 ( +2, -2 )

Created: 2011-06-19 16:32:17 +0200 (3 years 2 months ago) | Author: plunky | Changeset: MAIN:plunky:20110619143217

don't sysroot PCCINCDIR

1.186 annotated / raw | Diffs: previous, other | Lines: 1600 ( +5, -13 )

Created: 2011-06-06 15:45:33 +0200 (3 years 3 months ago) | Author: plunky | Changeset: MAIN:plunky:20110606134533

simplify some string copy/catenations, use cat()

1.185 annotated / raw | Diffs: previous, other | Lines: 1608 ( +22, -4 )

Created: 2011-06-06 15:35:26 +0200 (3 years 3 months ago) | Author: plunky | Changeset: MAIN:plunky:20110606133526

additional --sysroot support

pass --sysroot=<sysroot> to linker, and modify paths passed
to preprocessor, when sysroot is given

1.184 annotated / raw | Diffs: previous, other | Lines: 1590 ( +8, -18 )

Created: 2011-06-06 15:30:56 +0200 (3 years 3 months ago) | Author: plunky | Changeset: MAIN:plunky:20110606133056

simplify; use our own error handling routines

1.183 annotated / raw | Diffs: previous, other | Lines: 1600 ( +3, -3 )

Created: 2011-06-06 15:26:15 +0200 (3 years 3 months ago) | Author: plunky | Changeset: MAIN:plunky:20110606132615

const argument

1.182 annotated / raw | Diffs: previous, other | Lines: 1600 ( +3, -5 )

Created: 2011-06-03 17:34:00 +0200 (3 years 3 months ago) | Author: plunky | Changeset: MAIN:plunky:20110603153400

TARGOS and TARGMACH are primarily build variables, used to select which
files to build or include. Have them originate in the makefile system
then, and stringify on the commandline where needed.

(this solves a problem where eg TARGMACH stringifys as "1" on i386 at
least, since i386 is also defined by gcc)

then limit somewhat where they are needed, by using VERSSTR directly as
an identifier, and cut out user@host from versstr as it makes object files
differ according to who ran the configure script..

1.181 annotated / raw | Diffs: previous, other | Lines: 1602 ( +10, -1 )

Created: 2011-05-27 09:26:25 +0200 (3 years 3 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20110527072625

Pass architecture name to assembler on OS X.

1.180 annotated / raw | Diffs: previous, other | Lines: 1593 ( +19, -1 )

Created: 2011-05-17 04:13:14 +0200 (3 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20110517021314

On win32, do more %PCCDIR% substitutions.

1.179 annotated / raw | Diffs: previous, other | Lines: 1575 ( +5, -1 )

Created: 2011-05-17 01:23:05 +0200 (3 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20110516232305

Make this compile with VS2005.

1.178 annotated / raw | Diffs: previous, other | Lines: 1571 ( +10, -2 )

Created: 2011-04-12 10:17:42 +0200 (3 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20110412081742

Add --with-yasm to provide a simple knob with switch between gas and yasm.

1.177 annotated / raw | Diffs: previous, other | Lines: 1563 ( +5, -2 )

Created: 2011-04-04 16:47:57 +0200 (3 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20110404144757

Support -g0 and add to manpage, patch from Thorsten Glaser.
Update some forgotten parameter functionality.

1.176 annotated / raw | Diffs: previous, other | Lines: 1560 ( +2, -2 )

Created: 2011-03-26 07:25:19 +0100 (3 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20110326062519

Avoid coredump when using multiple -B prefixes.  Patch from Iain Hibbert.

1.175 annotated / raw | Diffs: previous, other | Lines: 1560 ( +71, -73 )

Created: 2011-03-24 20:47:14 +0100 (3 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20110324194714

Initial support for --sysroot, from Joerg Sonnenberger.

1.174 annotated / raw | Diffs: previous, other | Lines: 1562 ( +10, -1 )

Created: 2011-03-15 22:14:14 +0100 (3 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20110315211414

Add --print-multi-os-directory for gcc compatibility, from Antoine Leca on
pcc-list.

1.173 annotated / raw | Diffs: previous, other | Lines: 1553 ( +2, -2 )

Created: 2011-03-15 20:21:52 +0100 (3 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20110315192152

Wrap up MAXOPT to 200.  Solves Jira#PCC-277 by Iain Hibbert.

1.172 annotated / raw | Diffs: previous, other | Lines: 1553 ( +16, -3 )

Created: 2011-02-25 06:08:09 +0100 (3 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20110225050809

Support some more ld options on OS X.

1.171 annotated / raw | Diffs: previous, other | Lines: 1540 ( +6, -1 )

Created: 2011-02-22 00:21:28 +0100 (3 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20110221232128

Define some more gcc-compatible macros; minimum for math.h to work on OS X.

1.170 annotated / raw | Diffs: previous, other | Lines: 1535 ( +5, -2 )

Created: 2011-02-19 09:46:01 +0100 (3 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20110219084601

Add define __CHAR_UNSIGNED__ if target has unsigned char.

Branch point for: r-1-0-0

Tags: r-1-0-0$BP

1.169 annotated / raw | Diffs: previous, other | Lines: 1532 ( +11, -3 )

Created: 2011-01-29 11:39:33 +0100 (3 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20110129103933

If -m is given and have a space to next command, give it to ld. :-/
Also discard argument given to --param.

1.168 annotated / raw | Diffs: previous, other | Lines: 1524 ( +7, -7 )

Created: 2011-01-27 13:35:07 +0100 (3 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20110127123507

DL can collide with the register DL on i386.
Patch by Iain Hibbert.

1.167 annotated / raw | Diffs: previous, other | Lines: 1524 ( +7, -1 )

Created: 2011-01-24 15:54:12 +0100 (3 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20110124145412

Add some __MAX__ predefines.

1.166 annotated / raw | Diffs: previous, other | Lines: 1518 ( +2, -2 )

Created: 2011-01-12 07:46:01 +0100 (3 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20110112064601

Eh, forgot " around __VERSION__ string.  Pointed out by Alt.

1.165 annotated / raw | Diffs: previous, other | Lines: 1518 ( +2, -1 )

Created: 2011-01-09 22:10:15 +0100 (3 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20110109211015

Add __VERSION__ as a preprocessor define, currently the same as the
version string.  Fixes Jira#PCC-210 by Altamiranus.

1.164 annotated / raw | Diffs: previous, other | Lines: 1517 ( +16, -1 )

Created: 2010-12-29 18:58:20 +0100 (3 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20101229175820

Call ccom_i386 if amd64 is given -m32.  This should be written better.

1.163 annotated / raw | Diffs: previous, other | Lines: 1502 ( +14, -19 )

Created: 2010-11-17 08:15:30 +0100 (3 years 10 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20101117071530

Cleanup for `-Wp,XX' support, by adding all the specified option to a dedicated array (following other options).  From Nicolas Joly.

1.162 annotated / raw | Diffs: previous, other | Lines: 1507 ( +6, -2 )

Created: 2010-11-07 15:12:52 +0100 (3 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20101107141252

Understand -print-prog-name, so far only ld but at least it make libtool work.
Patch from Nicholas Joly on pcc-list.

1.161 annotated / raw | Diffs: previous, other | Lines: 1503 ( +6, -2 )

Created: 2010-10-18 20:55:31 +0200 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20101018185531

Let __PTRDIFF_TYPE__ default to long int unless overrided by target defines.

1.160 annotated / raw | Diffs: previous, other | Lines: 1499 ( +18, -1 )

Created: 2010-08-31 19:28:11 +0200 (4 years ago) | Author: ragge | Changeset: MAIN:ragge:20100831172811

Add gcc compat predefines __REGISTER_PREFIX__, __USER_LABEL_PREFIX__ and
__OPTIMIZE__.  Should fix Jira#PCC-90.

1.159 annotated / raw | Diffs: previous, other | Lines: 1482 ( +8, -1 )

Created: 2010-06-27 19:03:43 +0200 (4 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20100627170343

Use -K pic for solaris as and no -v.  Fixes Jira#PCC-121 by Jörg Schilling.

1.158 annotated / raw | Diffs: previous, other | Lines: 1475 ( +20, -6 )

Created: 2010-06-06 10:35:45 +0200 (4 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20100606083545

Fix wchar stuff, per patch from Thorsten Glaser.
Also fix -B include och lib while here.

1.157 annotated / raw | Diffs: previous, other | Lines: 1461 ( +19, -9 )

Created: 2010-04-21 10:54:19 +0200 (4 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20100421085419

Fix wchar defines as requested by Iain Hibbert.

1.156 annotated / raw | Diffs: previous, other | Lines: 1451 ( +3, -1 )

Created: 2010-01-07 06:17:59 +0100 (4 years 8 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20100107051759

Don't define __GNUC__ on win32 until problems with header files are resolved.

1.155 annotated / raw | Diffs: previous, other | Lines: 1449 ( +7, -1 )

Created: 2009-11-14 17:26:10 +0100 (4 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20091114162610

At last - defined __GNUC__ etc.  and also __GNUC_STDC_INLINE__.

1.154 annotated / raw | Diffs: previous, other | Lines: 1443 ( +3, -1 )

Created: 2009-08-13 10:01:26 +0200 (5 years 1 month ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090813080125

Add -Wtruncate option which detects truncation of types during assignment.
Let pcc compile with this option enabled.

Inspired by similar warning in the Microsoft compiler.

1.153 annotated / raw | Diffs: previous, other | Lines: 1441 ( +8, -3 )

Created: 2009-05-19 07:15:35 +0200 (5 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090519051535

Don't make the libpcc include path override the system include path.  Make all
paths honour -nostdinc.

1.152 annotated / raw | Diffs: previous, other | Lines: 1436 ( +4, -3 )

Created: 2009-05-16 09:47:34 +0200 (5 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090516074734

Mark variable use over vfork() as volatile for older versions of gcc.

1.151 annotated / raw | Diffs: previous, other | Lines: 1435 ( +2, -2 )

Created: 2009-04-12 13:18:11 +0200 (5 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090412111811

Build on solaris 10.

1.150 annotated / raw | Diffs: previous, other | Lines: 1435 ( +19, -13 )

Created: 2009-03-14 23:10:50 +0100 (5 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090314221050

Create intermediate files for the object files in the link step.  This fixes
the case for partial linking to a .o object, which is common when building
the C runtime.

1.149 annotated / raw | Diffs: previous, other | Lines: 1429 ( +69, -27 )

Created: 2009-03-10 08:34:11 +0100 (5 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090310073411

win32 fixes: improve quoting of commandline arguments; correctly define
types for __WCHAR_TYPE__ and __WINT_TYPE__; don't leak handles from
CreateProcess().

1.148 annotated / raw | Diffs: previous, other | Lines: 1387 ( +2, -2 )

Created: 2009-03-06 23:53:32 +0100 (5 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090306225332

Pass unknown --long-options to the linker.  Fixes some uses of libtool which passes --whole-archive and others to pcc.

1.147 annotated / raw | Diffs: previous, other | Lines: 1387 ( +6, -1 )

Created: 2009-02-21 22:42:29 +0100 (5 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090221214229

Support -Wp,-P.

1.146 annotated / raw | Diffs: previous, other | Lines: 1382 ( +18, -9 )

Created: 2009-02-19 11:43:18 +0100 (5 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090219104314

Use vfork(), if available.  From Andrew Doran in jira #pcc-36.

1.145 annotated / raw | Diffs: previous, other | Lines: 1373 ( +12, -3 )

Created: 2009-02-17 10:57:06 +0100 (5 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090217095706

Explicitly handle -r, since the OS X linker doesn't accept -e and -r at the same time.

1.144 annotated / raw | Diffs: previous, other | Lines: 1364 ( +22, -6 )

Created: 2009-02-14 07:59:28 +0100 (5 years 7 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090214065927

Add support for building shared libraries on OS X.

1.143 annotated / raw | Diffs: previous, other | Lines: 1348 ( +9, -1 )

Created: 2009-01-29 22:42:18 +0100 (5 years 7 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090129214218

Temporarily work round problem with space in macros on win32 command-line.

1.142 annotated / raw | Diffs: previous, other | Lines: 1340 ( +14, -1 )

Created: 2009-01-24 22:43:49 +0100 (5 years 7 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090124214348

Define WCHAR_TYPE from configure.ac, rather than in target-specific macdefs.h.
Provide cpp definitions of __STDC_ISO_10646__, __WCHAR_MAX__, __WCHAR_TYPE__,
__SIZEOF_WCHAR_T, __WINT_TYPE__ and __SIZEOF_WINT_T__.

From Thorsten Glaser <tg@mirbsd.de>.

1.141 annotated / raw | Diffs: previous, other | Lines: 1327 ( +2, -2 )

Created: 2009-01-10 10:49:51 +0100 (5 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20090110094951

Write dependency output to file if -o is given, instead of just on stdout.
Bug spotted by Paul Irofti.

1.140 annotated / raw | Diffs: previous, other | Lines: 1327 ( +11, -8 )

Created: 2009-01-09 00:45:12 +0100 (5 years 8 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090108234512

Extended the length of the commandline buffer on win32 so that the
commandline isn't truncated.

1.139 annotated / raw | Diffs: previous, other | Lines: 1324 ( +2, -2 )

Created: 2009-01-07 21:21:06 +0100 (5 years 8 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090107202106

Fix macro test for WIN32 hosts.

1.138 annotated / raw | Diffs: previous, other | Lines: 1324 ( +2, -2 )

Created: 2009-01-07 12:41:29 +0100 (5 years 8 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090107114129

Remove superfluous semicolon.

1.137 annotated / raw | Diffs: previous, other | Lines: 1324 ( +10, -1 )

Created: 2009-01-05 15:18:34 +0100 (5 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20090105141834

Add -Wc to give args directly to ccom.

1.136 annotated / raw | Diffs: previous, other | Lines: 1315 ( +29, -3 )

Created: 2008-12-22 03:04:11 +0100 (5 years 8 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20081222020411

On win32: pass LIBDIR to linker, do more substitution of %PCCDIR%, handle
backslashes with -B option, and remove trailing slashes in paths.

1.135 annotated / raw | Diffs: previous, other | Lines: 1289 ( +4, -4 )

Created: 2008-12-12 08:56:12 +0100 (5 years 9 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20081212075612

Avoid redefinition of OUT with MSLINKER defined.

1.134 annotated / raw | Diffs: previous, other | Lines: 1289 ( +6, -1 )

Created: 2008-12-10 23:13:32 +0100 (5 years 9 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20081210221332

Accept -Wp,-V to pass -V to preprocessor.

1.133 annotated / raw | Diffs: previous, other | Lines: 1284 ( +14, -9 )

Created: 2008-12-04 22:28:57 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20081204212857

Enable inlining of functions when -O.  While here, fix some strcat as
requested by Ray in a patch, but slightly modified.

1.132 annotated / raw | Diffs: previous, other | Lines: 1279 ( +1, -2 )

Created: 2008-12-03 08:14:24 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20081203071424

Do not turn off optimizing if debugging is turned on.

1.131 annotated / raw | Diffs: previous, other | Lines: 1280 ( +3, -4 )

Created: 2008-12-01 08:42:00 +0100 (5 years 9 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20081201074200

Darwin doesn't need -X either.  Remove unused locals on win32-specific code.

1.130 annotated / raw | Diffs: previous, other | Lines: 1281 ( +4, -3 )

Created: 2008-11-30 22:17:44 +0100 (5 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20081130211744

Do return 0 after --version (gcc compat), as discussed on the mailing list.

1.129 annotated / raw | Diffs: previous, other | Lines: 1280 ( +2, -2 )

Created: 2008-10-25 23:03:31 +0200 (5 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20081025210331

Remove junk that had been added accidentally to the beginning of a
variable.  Teported by Thorsten Glaser.

1.128 annotated / raw | Diffs: previous, other | Lines: 1280 ( +1280, -1280 )

Created: 2008-10-25 22:55:35 +0200 (5 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20081025205535

Thou shalt not have \r in your files.

1.127 annotated / raw | Diffs: previous, other | Lines: 1280 ( +1280, -1242 )

Created: 2008-08-29 06:46:20 +0200 (6 years ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080829044620

On win32, filter all paths for %PCCDIR% substitution and wrap in double
quotes.  Allows pcc to be installed in arbitrary directories, including
ones with spaces in the name.

1.126 annotated / raw | Diffs: previous, other | Lines: 1242 ( +10, -8 )

Created: 2008-08-18 22:46:28 +0200 (6 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20080818204628

Remove output files if compilation fails. Bug reported by Art Grabowski.

1.125 annotated / raw | Diffs: previous, other | Lines: 1240 ( +4, -3 )

Created: 2008-08-16 05:58:59 +0200 (6 years 1 month ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080816035859

Ignore --param ssp-buffer-size=xxx.

1.124 annotated / raw | Diffs: previous, other | Lines: 1239 ( +59, -9 )

Created: 2008-08-13 22:22:00 +0200 (6 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20080813202200

Add multitarget support (-b mach), from OpenBSD.

1.123 annotated / raw | Diffs: previous, other | Lines: 1189 ( +9, -1 )

Created: 2008-08-10 16:50:54 +0200 (6 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20080810145054

Understand --version, bail out on other double-dash options instead of sending
them to the linker.  This helps some autoconfig programs slightly.

1.122 annotated / raw | Diffs: previous, other | Lines: 1181 ( +15, -6 )

Created: 2008-08-10 15:51:40 +0200 (6 years 1 month ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080810135140

Translate commandline options for microsoft linker.

1.121 annotated / raw | Diffs: previous, other | Lines: 1172 ( +4, -5 )

Created: 2008-08-09 13:11:53 +0200 (6 years 1 month ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080809111153

Fix win32 namespace problems elsewhere.  Strip paths from cpp and ccom on win32 and let path find binaries.

1.120 annotated / raw | Diffs: previous, other | Lines: 1173 ( +5, -2 )

Created: 2008-08-09 01:24:57 +0200 (6 years 1 month ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080808232457

Define unlink() and write() from windows private C namespace.

1.119 annotated / raw | Diffs: previous, other | Lines: 1170 ( +21, -13 )

Created: 2008-08-07 02:30:06 +0200 (6 years 1 month ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080807003006

Expand -Wall and -WW before all other -W arguments so that they
can be overridden.  Matches gcc behaviour.

Fixes -Wno-pointer-sign -Wall.

1.118 annotated / raw | Diffs: previous, other | Lines: 1162 ( +15, -3 )

Created: 2008-08-02 11:11:38 +0200 (6 years 1 month ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080802091138

Pass assembler options down with -Wa,<option>.

1.117 annotated / raw | Diffs: previous, other | Lines: 1150 ( +7, -7 )

Created: 2008-08-02 10:54:08 +0200 (6 years 1 month ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080802085408

Don't link against endfiles if -nostartfiles specified.

1.116 annotated / raw | Diffs: previous, other | Lines: 1150 ( +3, -1 )

Created: 2008-07-28 18:23:40 +0200 (6 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20080728162340

Understand but ignore gcc -std= argument.

1.115 annotated / raw | Diffs: previous, other | Lines: 1148 ( +41, -14 )

Created: 2008-07-28 16:45:00 +0200 (6 years 1 month ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080728144500

If -B is specified, try to prefix all startfiles with this path also.

Sufficiently emulates gcc behaviour for pcc with NetBSD's build.sh
and build the mingw runtime.

1.114 annotated / raw | Diffs: previous, other | Lines: 1121 ( +14, -5 )

Created: 2008-07-24 15:05:42 +0200 (6 years 1 month ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080724130542

Fix linking of DLLs on win32.

1.113 annotated / raw | Diffs: previous, other | Lines: 1112 ( +5, -1 )

Created: 2008-07-19 05:34:51 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080719033451

Darwin linker wants -static argument.

1.112 annotated / raw | Diffs: previous, other | Lines: 1108 ( +9, -3 )

Created: 2008-07-19 04:02:05 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080719020205

Darwin ld prefers -static to -Bstatic.  Don't add -k if -static.

1.111 annotated / raw | Diffs: previous, other | Lines: 1102 ( +27, -7 )

Created: 2008-07-18 05:54:40 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080718035440

Support using crtbeginT.o with -static/-Bstatic, same as crtbeginS.o with
-shared.

From Thorsten Glaser.

1.110 annotated / raw | Diffs: previous, other | Lines: 1082 ( +7, -5 )

Created: 2008-07-18 05:29:17 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080718032917

If STARTFILES_S is not defined and -shared linkage was used, the link failed
without any startfiles, instead of the STARTFILES ones.

From Thorsten Glaser.

1.109 annotated / raw | Diffs: previous, other | Lines: 1080 ( +9, -1 )

Created: 2008-07-18 04:17:09 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080718021709

Alias -fstack-protector-all to -fstack-protector, since some autoconf
scripts check only for the former.  From Thorsten Glaser.

1.108 annotated / raw | Diffs: previous, other | Lines: 1072 ( +4, -4 )

Created: 2008-07-08 09:27:28 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080708072728

-Wall implies -Wpointer-sign.
-nostdinc does include compiler headers.

1.107 annotated / raw | Diffs: previous, other | Lines: 1072 ( +10, -4 )

Created: 2008-07-05 17:09:05 +0200 (6 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20080705150905

Understand gcc compatibility flag "-x assembler-with-cpp".

1.106 annotated / raw | Diffs: previous, other | Lines: 1066 ( +3, -1 )

Created: 2008-06-23 14:56:31 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080623125631

Darwin doesn't need -d to linker.  Reported by Thorsten Glaser <tg () mirbsd ! de>.

1.105 annotated / raw | Diffs: previous, other | Lines: 1064 ( +44, -29 )

Created: 2008-06-22 12:35:41 +0200 (6 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20080622103541

Restructure gcc compatibility warnings slightly.
Let -Wall only enable the same warnings as gcc.
Let -WW enable all warnings.

1.104 annotated / raw | Diffs: previous, other | Lines: 1049 ( +7, -1 )

Created: 2008-06-20 14:50:33 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080620125033

Add -Wno-unreachable-code.  Needed by NetBSD kernel.

1.103 annotated / raw | Diffs: previous, other | Lines: 1043 ( +9, -1 )

Created: 2008-06-20 14:37:52 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080620123752

Add -Wno-shadow and -Wno-unknown-pragmas.  Needed by the NetBSD kernel.

1.102 annotated / raw | Diffs: previous, other | Lines: 1035 ( +7, -1 )

Created: 2008-06-19 13:43:58 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080619114358

Implement -Wsign-compare/-Wno-sign-compare.

1.101 annotated / raw | Diffs: previous, other | Lines: 1029 ( +43, -7 )

Created: 2008-06-19 10:11:40 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080619081140

Pass some options to the compiler proper:

-Wall
-Wshadow
-Wno-pointer-sign
-fsigned-char
-fno-signed-char
-funsigned-char
-fno-unsigned-char
-fstack-protector
-fno-stack-protector

With -fstack-protector, define __SSP__=1 for preprocessor.

1.100 annotated / raw | Diffs: previous, other | Lines: 993 ( +14, -14 )

Created: 2008-06-19 09:44:38 +0200 (6 years 3 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080619074438

Rename local variables which shadow globals.

1.99 annotated / raw | Diffs: previous, other | Lines: 993 ( +4, -2 )

Created: 2008-06-05 06:03:56 +0200 (6 years 3 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080605040356

Compile with warnings.

1.98 annotated / raw | Diffs: previous, other | Lines: 991 ( +11, -3 )

Created: 2008-06-03 08:27:20 +0200 (6 years 3 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080603062720

Configuration for Solaris/sparc64 from Adom Hoka.

Same additional fixes from Thorsten Glaser.

1.97 annotated / raw | Diffs: previous, other | Lines: 983 ( +16, -1 )

Created: 2008-05-20 07:38:05 +0200 (6 years 3 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080520053804

Add pcc-specific search paths where pcc can store compiler-supplied
libraries and headers.

1.96 annotated / raw | Diffs: previous, other | Lines: 968 ( +4, -2 )

Created: 2008-04-20 06:54:13 +0200 (6 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080420045413

If -O0 specified, explicitly clear the flag so that the last occurrence
takes precedence.

Handles the case if -O0 appears on the command-line after -O.

1.95 annotated / raw | Diffs: previous, other | Lines: 966 ( +5, -3 )

Created: 2008-04-20 06:12:06 +0200 (6 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080420041206

Make more arguments optional.

1.94 annotated / raw | Diffs: previous, other | Lines: 964 ( +26, -5 )

Created: 2008-04-20 04:02:20 +0200 (6 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080420020220

Add options for linker and library paths only if the target platform
specifies them.

1.93 annotated / raw | Diffs: previous, other | Lines: 943 ( +3, -2 )

Created: 2008-04-20 03:49:37 +0200 (6 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080420014937

Fix typo and missing variable.

1.92 annotated / raw | Diffs: previous, other | Lines: 942 ( +7, -2 )

Created: 2008-04-19 15:19:26 +0200 (6 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20080419131926

Use strlcpy instead.

1.91 annotated / raw | Diffs: previous, other | Lines: 937 ( +32, -15 )

Created: 2008-04-19 15:14:06 +0200 (6 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20080419131406

Add a malloc wrapper that checks for NULL return.
Allow setsuf() to set suffix even is not existing already.

1.90 annotated / raw | Diffs: previous, other | Lines: 920 ( +2, -2 )

Created: 2008-04-19 11:50:52 +0200 (6 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20080419095052

If the child process get a signal, exit with code 1 unless eflag is set.
This code should be rethinked.

1.89 annotated / raw | Diffs: previous, other | Lines: 920 ( +48, -26 )

Created: 2008-04-17 13:14:38 +0200 (6 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080417111438

Fix callsys() on win32 hosts.  Fix linker arguments for win32 targets.

1.88 annotated / raw | Diffs: previous, other | Lines: 898 ( +3, -2 )

Created: 2008-04-16 17:14:59 +0200 (6 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20080416151459

Handle both -p and -pg as profiling flags.

1.87 annotated / raw | Diffs: previous, other | Lines: 897 ( +5, -5 )

Created: 2008-04-16 04:32:04 +0200 (6 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080416023204

Conditionally compile based on the host, not the target.

1.86 annotated / raw | Diffs: previous, other | Lines: 897 ( +72, -3 )

Created: 2008-04-15 12:03:31 +0200 (6 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080415100331

- test before header inclusion
- add win32 support

1.85 annotated / raw | Diffs: previous, other | Lines: 828 ( +3, -2 )

Created: 2008-04-14 18:14:55 +0200 (6 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20080414161455

Recognize -O0 as non-optimization, to be compatible with the world.
Requested by Thorsten Glaser.

1.84 annotated / raw | Diffs: previous, other | Lines: 827 ( +43, -18 )

Created: 2008-04-13 18:35:40 +0200 (6 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20080413163540

Add -shared to cc so that pcc can be used to create shared libraries.
While here, update manpage also.

1.83 annotated / raw | Diffs: previous, other | Lines: 802 ( +23, -2 )

Created: 2008-04-09 21:33:19 +0200 (6 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20080409193319

Understand -Wp,-C, -x c and -idirafter.  Makes xlint work without
any extra stuff.

1.82 annotated / raw | Diffs: previous, other | Lines: 781 ( +15, -2 )

Created: 2008-03-18 05:47:12 +0100 (6 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080318044712

Pass -Werror to ccom.  Don't pass -g to the assembler on Darwin.  Pass
-k to ccom on Darwin.

1.81 annotated / raw | Diffs: previous, other | Lines: 768 ( +21, -6 )

Created: 2008-02-20 02:08:08 +0100 (6 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080220010808

Parse -pg for profiling.  Link against the profile libraries.

1.80 annotated / raw | Diffs: previous, other | Lines: 753 ( +3, -2 )

Created: 2008-01-06 18:18:55 +0100 (6 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20080106171855

Fix compile hierarchy so that it do not use hard-coded paths, use
include paths instead.  From Zhiwen Zheng.

1.79 annotated / raw | Diffs: previous, other | Lines: 752 ( +29, -8 )

Created: 2007-12-01 00:05:15 +0100 (6 years 9 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20071130230515

Permit the build system to override the names and paths of binaries.

1.78 annotated / raw | Diffs: previous, other | Lines: 731 ( +9, -1 )

Created: 2007-11-26 06:08:07 +0100 (6 years 9 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20071126050807

Pass -m options to the compiler.

1.77 annotated / raw | Diffs: previous, other | Lines: 723 ( +3, -3 )

Created: 2007-11-22 22:42:39 +0100 (6 years 9 months ago) | Author: stefan | Changeset: MAIN:stefan:20071122214239

Kill two useless assignments. ok ragge@ some time ago

1.76 annotated / raw | Diffs: previous, other | Lines: 723 ( +8, -34 )

Created: 2007-11-10 23:07:04 +0100 (6 years 10 months ago) | Author: stefan | Changeset: MAIN:stefan:20071110220704

Get rid of ifdef'd out code. Replace nodup() call with equivalent code
at its only invocation.
ok ragge@, otto@

1.75 annotated / raw | Diffs: previous, other | Lines: 749 ( +15, -14 )

Created: 2007-11-10 10:44:45 +0100 (6 years 10 months ago) | Author: stefan | Changeset: MAIN:stefan:20071110094445

Pull from OpenBSD repo, commited by millert:
Fix wait() usage and convert to waitpid().  Convert manual status
frobbing with WIF* macros.  Originally based on a diff from deraadt@.
OK deraadt@.

1.74 annotated / raw | Diffs: previous, other | Lines: 748 ( +3, -2 )

Created: 2007-11-01 11:19:28 +0100 (6 years 10 months ago) | Author: stefan | Changeset: MAIN:stefan:20071101101928

Don't let temporary file lie around if -S is used. ok ragge@

1.73 annotated / raw | Diffs: previous, other | Lines: 747 ( +6, -7 )

Created: 2007-10-22 23:38:44 +0200 (6 years 10 months ago) | Author: stefan | Changeset: MAIN:stefan:20071022213844

Pass the right file and not a temporary to as if cc is invoked with .s files.
ok ragge@, otto@

1.72 annotated / raw | Diffs: previous, other | Lines: 748 ( +14, -18 )

Created: 2007-10-20 10:13:38 +0200 (6 years 10 months ago) | Author: stefan | Changeset: MAIN:stefan:20071020081338

stlye(9) fixes from Sergey Elin

1.71 annotated / raw | Diffs: previous, other | Lines: 752 ( +5, -3 )

Created: 2007-10-18 19:40:17 +0200 (6 years 11 months ago) | Author: stefan | Changeset: MAIN:stefan:20071018174017

Replace errorx() with error(); exit() in the child process in callsys().
errorx deletes the temp. files which we don't want to happen in the
child. ok otto@, ragge@

1.70 annotated / raw | Diffs: previous, other | Lines: 750 ( +3, -1 )

Created: 2007-10-08 18:28:34 +0200 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20071008162834

Don't fiddle around with stdio in signal handlers, from Theo de Raadt.

1.69 annotated / raw | Diffs: previous, other | Lines: 748 ( +3, -5 )

Created: 2007-10-08 16:53:42 +0200 (6 years 11 months ago) | Author: stefan | Changeset: MAIN:stefan:20071008145342

Remove two unneeded macro definitions, replace strdup() with copy() which
does error checking.

otto@, ragge@ ok

1.68 annotated / raw | Diffs: previous, other | Lines: 750 ( +5, -2 )

Created: 2007-10-06 10:09:48 +0200 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20071006080948

Bugfix for .i files, by Jeremy Reed.

1.67 annotated / raw | Diffs: previous, other | Lines: 747 ( +2, -2 )

Created: 2007-10-04 08:56:34 +0200 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20071004065634

strncpy -> strlcpy, from Gilels Chehade.

1.66 annotated / raw | Diffs: previous, other | Lines: 747 ( +137, -134 )

Created: 2007-10-03 22:49:48 +0200 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20071003204948

Indent fix, so that it do not look like switch () { } else { }.
From Gilles Chehade.

1.65 annotated / raw | Diffs: previous, other | Lines: 744 ( +4, -2 )

Created: 2007-10-02 22:43:48 +0200 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20071002204348

Include alloca.h if exists.  XXX alloca may be removed later.
Pass -g onto linker.
From Laurent Desnogues.

1.64 annotated / raw | Diffs: previous, other | Lines: 742 ( +2, -1 )

Created: 2007-10-01 17:29:35 +0200 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20071001152935

Add deljumps as default optimization.

1.63 annotated / raw | Diffs: previous, other | Lines: 741 ( +8, -3 )

Created: 2007-09-29 15:22:40 +0200 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20070929132240

Add correct parsing of -C, from Stefan Kempf.

1.62 annotated / raw | Diffs: previous, other | Lines: 736 ( +2, -2 )

Created: 2007-09-28 10:48:14 +0200 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20070928084814

Wrap MAXFIL to 10000, so make depend works.

1.61 annotated / raw | Diffs: previous, other | Lines: 736 ( +5, -3 )

Created: 2007-09-26 16:48:47 +0200 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20070926144847

Many patches, mostly install/docs, from Jeremy C. Reed.

1.60 annotated / raw | Diffs: previous, other | Lines: 734 ( +9, -1 )

Created: 2007-09-24 17:42:00 +0200 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20070924154200

Add -v flag to all sub-binaries also.

1.59 annotated / raw | Diffs: previous, other | Lines: 726 ( +19, -3 )

Created: 2007-09-23 17:49:11 +0200 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20070923154911

Patch to understand .i files (no preprocessing), from Arthur Loiret.

1.58 annotated / raw | Diffs: previous, other | Lines: 710 ( +8, -4 )

Created: 2007-09-18 22:41:10 +0200 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20070918204110

pic flags, from Todd T. Fries.

1.57 annotated / raw | Diffs: previous, other | Lines: 706 ( +3, -1 )

Created: 2007-09-17 20:16:12 +0200 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20070917181612

Add -dM for preprocessor, by Todd T. Fries.

1.56 annotated / raw | Diffs: previous, other | Lines: 704 ( +8, -5 )

Created: 2007-09-16 21:42:49 +0200 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20070916194249

Sanity fixes, by Stefan Kempf via Otto M.
Applied (almost) unchanged.

1.55 annotated / raw | Diffs: previous, other | Lines: 701 ( +2, -2 )

Created: 2007-09-16 21:25:36 +0200 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20070916192533

Diffs for darwin, from Viktor Leijon.

1.54 annotated / raw | Diffs: previous, other | Lines: 701 ( +3, -2 )

Created: 2007-09-15 11:29:45 +0200 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20070915092945

Forgotten to tell ld to create static libraries, found by Otto Moerbeek.

1.53 annotated / raw | Diffs: previous, other | Lines: 700 ( +5, -4 )

Created: 2007-09-15 09:37:41 +0200 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20070915073738

Patches to support OpenBSD + some sanity fixes, from Chad Loder and with
only minor changes by myself.

1.52 annotated / raw | Diffs: previous, other | Lines: 699 ( +35, -15 )

Created: 2007-09-09 11:57:18 +0200 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20070909095718

Understand -pthtread and add cpp predefines for pthread and .S endings.
Add -nostdlib.
Allow multiple -system definitions.

1.51 annotated / raw | Diffs: previous, other | Lines: 679 ( +13, -5 )

Created: 2007-08-08 22:29:51 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070808202951

Add -M flag.

1.50 annotated / raw | Diffs: previous, other | Lines: 671 ( +8, -2 )

Created: 2007-01-27 09:27:03 +0100 (7 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20070127082703

Add support for local libs.

1.49 annotated / raw | Diffs: previous, other | Lines: 665 ( +23, -12 )

Created: 2006-12-22 07:23:09 +0100 (7 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20061222062309

Add -k flag for pic.

1.48 annotated / raw | Diffs: previous, other | Lines: 654 ( +5, -2 )

Created: 2006-10-07 11:19:34 +0200 (7 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20061007091934

Make the compiler compile under linux.

1.47 annotated / raw | Diffs: previous, other | Lines: 651 ( +12, -2 )

Created: 2006-07-13 12:09:47 +0200 (8 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20060713100947

Repair -B for alternative location of binaries.
Fix off-by-one test for initialized string printouts.
Fix missing liveness analysis of ++/-- operators.

1.46 annotated / raw | Diffs: previous, other | Lines: 641 ( +6, -1 )

Created: 2006-07-12 14:21:12 +0200 (8 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20060712122112

Remove .o files after linking if multiple .c files are given as arguments.

1.45 annotated / raw | Diffs: previous, other | Lines: 636 ( +3, -3 )

Created: 2006-07-12 14:00:40 +0200 (8 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20060712120040

Fix bug causing multiple .c files as arg to not work.

1.44 annotated / raw | Diffs: previous, other | Lines: 636 ( +4, -3 )

Created: 2006-01-07 09:10:25 +0100 (8 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20060107081025

Fix bug in SET* when more than 32 long-lived temps.
Also fix a few table entries.

1.43 annotated / raw | Diffs: previous, other | Lines: 635 ( +17, -10 )

Created: 2005-05-22 12:45:46 +0200 (9 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20050522104546

Change ccom to take -x parameters to tell it which optimizations to use.
Let cc convert -O options to suitable -x options.
While here, cleanup pass2 prolog/epilog code a bit.

1.42 annotated / raw | Diffs: previous, other | Lines: 628 ( +3, -1 )

Created: 2005-05-21 16:29:21 +0200 (9 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20050521142921

Enable -O.
Fix stack allocation bug in variable declarations.
Handle segfaults more gracefully.
Add extra check in saveip.
Print out asm()s outside blocks already in pass1.

1.41 annotated / raw | Diffs: previous, other | Lines: 626 ( +3, -2 )

Created: 2005-05-15 14:01:15 +0200 (9 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20050515120115

Make debug printout prettier.

1.40 annotated / raw | Diffs: previous, other | Lines: 625 ( +3, -3 )

Created: 2005-05-15 12:09:29 +0200 (9 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20050515100929

Add forgotten = for preprocessor.

1.39 annotated / raw | Diffs: previous, other | Lines: 625 ( +5, -3 )

Created: 2005-05-15 11:55:02 +0200 (9 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20050515095500

Add version numbers to configure. Tell cc about it.

1.38 annotated / raw | Diffs: previous, other | Lines: 623 ( +2, -1 )

Created: 2005-02-19 14:44:02 +0100 (9 years 6 months ago) | Author: pj | Changeset: MAIN:pj:20050219134402

Add errno.h to includes

1.37 annotated / raw | Diffs: previous, other | Lines: 622 ( +6, -3 )

Created: 2005-01-02 18:54:43 +0100 (9 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20050102175443

Allow for -E and multiple files.

1.36 annotated / raw | Diffs: previous, other | Lines: 619 ( +64, -50 )

Created: 2004-12-30 16:23:13 +0100 (9 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20041230152313

Repair setsuf(). Lightly cleanup exit functions.

1.35 annotated / raw | Diffs: previous, other | Lines: 605 ( +1, -3 )

Created: 2004-12-20 15:16:50 +0100 (9 years 8 months ago) | Author: pj | Changeset: MAIN:pj:20041220141650

Remove unused variable ts and defines

1.34 annotated / raw | Diffs: previous, other | Lines: 607 ( +1, -5 )

Created: 2004-12-20 15:15:45 +0100 (9 years 8 months ago) | Author: pj | Changeset: MAIN:pj:20041220141545

Remove unused variable tsp

1.33 annotated / raw | Diffs: previous, other | Lines: 611 ( +1, -2 )

Created: 2004-12-20 15:14:37 +0100 (9 years 8 months ago) | Author: pj | Changeset: MAIN:pj:20041220141437

Remove unused variable tsa

1.32 annotated / raw | Diffs: previous, other | Lines: 612 ( +3, -3 )

Created: 2004-12-20 15:12:51 +0100 (9 years 8 months ago) | Author: pj | Changeset: MAIN:pj:20041220141251

Move around things to make things readable

1.31 annotated / raw | Diffs: previous, other | Lines: 612 ( +8, -7 )

Created: 2004-12-20 14:49:29 +0100 (9 years 8 months ago) | Author: pj | Changeset: MAIN:pj:20041220134929

Fix some sideeffects from the global scratch buffer

1.30 annotated / raw | Diffs: previous, other | Lines: 611 ( +19, -14 )

Created: 2004-12-20 14:41:02 +0100 (9 years 8 months ago) | Author: pj | Changeset: MAIN:pj:20041220134102

Create gettmp() and use it. Removes the need for f and tmp0

1.29 annotated / raw | Diffs: previous, other | Lines: 606 ( +1, -9 )

Created: 2004-12-19 22:16:44 +0100 (9 years 8 months ago) | Author: pj | Changeset: MAIN:pj:20041219211644

Remove unused temporary variables tmp1 and tmp2.

1.28 annotated / raw | Diffs: previous, other | Lines: 614 ( +11, -18 )

Created: 2004-12-19 22:15:13 +0100 (9 years 8 months ago) | Author: pj | Changeset: MAIN:pj:20041219211513

Use strdup() in copy() instead of ts[]

1.27 annotated / raw | Diffs: previous, other | Lines: 621 ( +1, -3 )

Created: 2004-12-19 21:45:33 +0100 (9 years 8 months ago) | Author: pj | Changeset: MAIN:pj:20041219204533

Remove unecessary variable tmp5

1.26 annotated / raw | Diffs: previous, other | Lines: 623 ( +3, -3 )

Created: 2004-12-19 20:43:58 +0100 (9 years 8 months ago) | Author: pj | Changeset: MAIN:pj:20041219194358

Use ansi for main()

1.25 annotated / raw | Diffs: previous, other | Lines: 623 ( +20, -13 )

Created: 2004-12-02 22:32:25 +0100 (9 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20041202213225

Change declarations to macros.

1.24 annotated / raw | Diffs: previous, other | Lines: 616 ( +18, -27 )

Created: 2004-11-20 11:58:45 +0100 (9 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20041120105845

Remove some OS-specific stuff.

1.23 annotated / raw | Diffs: previous, other | Lines: 625 ( +3, -3 )

Created: 2004-10-16 09:49:49 +0200 (9 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20041016074949

Switch to use only configure.

1.22 annotated / raw | Diffs: previous, other | Lines: 625 ( +5, -1 )

Created: 2004-09-04 12:22:08 +0200 (10 years ago) | Author: ragge | Changeset: MAIN:ragge:20040904102208

Add -B option.

1.21 annotated / raw | Diffs: previous, other | Lines: 621 ( +3, -3 )

Created: 2004-09-02 23:26:06 +0200 (10 years ago) | Author: ragge | Changeset: MAIN:ragge:20040902212606

Fix include bug.  Check error return from assembler.

1.20 annotated / raw | Diffs: previous, other | Lines: 621 ( +40, -13 )

Created: 2004-08-28 18:04:29 +0200 (10 years ago) | Author: ragge | Changeset: MAIN:ragge:20040828160429

Make cc more cpp-friendly.

1.19 annotated / raw | Diffs: previous, other | Lines: 594 ( +2, -2 )

Created: 2004-06-24 10:13:12 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040624081312

Avoid a potential segfault when linking.

1.18 annotated / raw | Diffs: previous, other | Lines: 594 ( +52, -16 )

Created: 2004-06-22 14:12:45 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040622121245

Fix some more bugs.

1.17 annotated / raw | Diffs: previous, other | Lines: 558 ( +3, -2 )

Created: 2004-06-21 20:30:26 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040621183026

Do not overwrite destination.

1.16 annotated / raw | Diffs: previous, other | Lines: 557 ( +7, -3 )

Created: 2004-06-21 10:19:47 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040621081946

Add more entries to the table. Make void->char conversion MI.
Make struct returns work.

1.15 annotated / raw | Diffs: previous, other | Lines: 553 ( +15, -3 )

Created: 2004-06-14 18:33:24 +0200 (10 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20040614163324

Allow for dynamic linked executables.

1.14 annotated / raw | Diffs: previous, other | Lines: 541 ( +43, -13 )

Created: 2004-06-12 16:07:03 +0200 (10 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20040612140703

A bunch of cleanup changes.

1.13 annotated / raw | Diffs: previous, other | Lines: 511 ( +2, -2 )

Created: 2004-06-12 10:57:28 +0200 (10 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20040612085728

Add more entries to the table.
Remove a bunch of enum-specific checks.  Enum handling should be rewritten.
Use more of the gcc-warn flags.

1.12 annotated / raw | Diffs: previous, other | Lines: 511 ( +3, -3 )

Created: 2004-06-08 23:07:25 +0200 (10 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20040608210724

Many fixes.  Now compiles (but not runs!) emacs.

1.11 annotated / raw | Diffs: previous, other | Lines: 511 ( +8, -2 )

Created: 2004-05-29 16:11:47 +0200 (10 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20040529141145

Numerous fixes.

1.10 annotated / raw | Diffs: previous, other | Lines: 505 ( +6, -2 )

Created: 2004-05-16 17:31:21 +0200 (10 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20040516153118

Many bugfixes in teh x86 code.

1.9 annotated / raw | Diffs: previous, other | Lines: 501 ( +4, -2 )

Created: 2004-05-15 17:52:30 +0200 (10 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20040515155230

Add one option.

1.8 annotated / raw | Diffs: previous, other | Lines: 499 ( +8, -7 )

Created: 2003-08-09 17:51:23 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030809155123

Fix -E.

1.7 annotated / raw | Diffs: previous, other | Lines: 498 ( +24, -9 )

Created: 2003-08-08 00:36:14 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030807223614

A bunch of fixes. Now compiles a few source files.

1.6 annotated / raw | Diffs: previous, other | Lines: 483 ( +22, -11 )

Created: 2003-08-07 22:50:29 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030807205029

Fix so that gnu ld works here.

1.5 annotated / raw | Diffs: previous, other | Lines: 472 ( +28, -7 )

Created: 2003-08-07 17:48:37 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030807154837

Fix cpp for x86. add verbose.

1.4 annotated / raw | Diffs: previous, other | Lines: 451 ( +52, -103 )

Created: 2003-08-07 17:03:07 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030807150307

Now works.

1.3 annotated / raw | Diffs: previous, other | Lines: 502 ( +330, -295 )

Created: 2003-08-07 13:54:49 +0200 (11 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20030807115449

Use the 32V version as base version.

1.2 annotated / raw | Diffs: previous, other | Lines: 467 ( +42, -36 )

Created: 2002-03-24 12:20:07 +0100 (12 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20020324112007

Fix warnings.
/usr/old -> /usr/pcc
Remove sccom.

1.1 new annotated / raw | Lines: 461 ( +461, -0 )

Created: 2002-03-24 11:57:23 +0100 (12 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20020324105723

Initial revision

Branch point for: BSD_44

Tags: BSD_44$BP

latest revision download Branch BSD_44

1.1.1.1 annotated / raw | Diffs: previous, other | Lines: 461 ( +0, -0 )

Created: 2002-03-24 11:57:23 +0100 (12 years 5 months ago) | Author: ragge | Changeset: BSD_44:ragge:20020324105723

Ipmort of the pcc working tree.

Tags: first

latest revision download Branch r-1-0-0

1.170.2.1 annotated / raw | Diffs: previous, other | Lines: 1535 ( +2, -2 )

Created: 2011-03-15 20:25:36 +0100 (3 years 6 months ago) | Author: ragge | Changeset: r-1-0-0:ragge:20110315192536

Pull up 1.173 from mainline.

Branch point for: r-1-0-1

Tags: r-1-0-0-RELEASE r-1-0-1$BP

latest revision download Branch r-1-0-1

1.170.2.1.2.1 annotated / raw | Diffs: previous, other | Lines: 1538 ( +5, -2 )

Created: 2011-04-04 16:50:23 +0200 (3 years 5 months ago) | Author: ragge | Changeset: r-1-0-1:ragge:20110404145023

Update cc.c 1.177 and cc.1 1.17 from mainline.

FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-19 09:50 +0200