latest revision Branch MAIN
Created: 2011-09-27 10:22:55 +0200 (3 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20110927082255use os_win32 rather than WIN32 for conditional compilation,
so that cross compiling can [be made to] work
Branch point for: r-1-1-0
Created: 2011-06-09 21:24:46 +0200 (3 years 4 months ago) | Author: plunky | Changeset: MAIN:plunky:20110609192446tidy up compat codez
1. include "compat.h" rather than "manifest.h"; this file is
not strictly part of the pcc compiler
2. cut unused variable "start"
3. include files where appropriate
[c99] - <stddef.h> for size_t
[c99] - <stdarg.h> for va_list
[c99] - <string.h> for strlen()
[c99] - <ctype.h> for isdigit()
[posix] - <fcntl.h> for open()
[posix] - <unistd.h> for getpid()
4. prototype standardisation
[posix] - int getopt(int, char * const , const char *)
5. function renames (gcc complains about conflicts with builtins)
[c99] - round -> lroundl (could use c99 <math.h> for this?)
[gcc] - pow10 -> ldpow10
Created: 2010-02-25 16:31:40 +0100 (4 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20100225153140License (and small code) change in the code repository where the function
basename() came from. From Iain Hibbert.
Tags: r-1-0-0$BP r-1-0-0-RELEASE r-1-0-1$BP
Created: 2008-11-01 09:29:38 +0100 (5 years 11 months ago) | Author: mickey | Changeset: MAIN:mickey:20081101082937allow spilling >31 regs. apprently i386 was always safe as fpu regs
are fakes. needed by hppa (and i think also powerpc) or any other arch
that employs callee-save regs of >31 numbers (per defines ;).
most of the archs are simply using ipp_regs as they do have
less than 31 regs or otherwise need no spilling.
ragge@ told me to commit this in september and it seems to work (:
Created: 2008-08-09 01:19:28 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080808231928win32 doesn't use mkstemp(). Don't assume that system header provide MAX().
Created: 2008-06-22 01:34:11 +0200 (6 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080621233411Add vsnprintf/snprintf compat routines for systems that require it.
Created: 2008-04-20 03:53:37 +0200 (6 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080420015337Missing brace.
Created: 2008-04-17 13:25:26 +0200 (6 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080417112526Fix getopt() to handle -DPCC_DEBUG
Created: 2008-04-15 11:57:55 +0200 (6 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080415095755Add getopt(), basename(), ffs() and mkstemp() compat implementations.
Created: 2008-01-06 18:18:55 +0100 (6 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20080106171855Fix compile hierarchy so that it do not use hard-coded paths, use
include paths instead. From Zhiwen Zheng.