Quick Search:

Mode

Context

Displaying the whole file. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.26
 
1.27
 
MAIN:plunky:20121026110748
 
ccconfig.h
_>11 /*      $Id$    */
 22 
 33 /*
 44  * Copyright (c) 2004 Anders Magnusson (ragge@ludd.luth.se).
 55  * All rights reserved.
 66  *
 77  * Redistribution and use in source and binary forms, with or without
 88  * modification, are permitted provided that the following conditions
 99  * are met:
 1010  * 1. Redistributions of source code must retain the above copyright
 1111  *    notice, this list of conditions and the following disclaimer.
 1212  * 2. Redistributions in binary form must reproduce the above copyright
 1313  *    notice, this list of conditions and the following disclaimer in the
 1414  *    documentation and/or other materials provided with the distribution.
 1515  * 3. The name of the author may not be used to endorse or promote products
 1616  *    derived from this software without specific prior written permission
 1717  *
 1818  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
 1919  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 2020  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 2121  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
 2222  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
 2323  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 2424  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 2525  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 2626  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 2727  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 2828  */
 2929 
 3030 /*
 3131  * Various settings that controls how the C compiler works.
 3232  */
 3333 
 3434 /* common cpp predefines */
 3535 #define CPPADD  { "-D__NetBSD__", "-D__ELF__", NULL, }
 3636 
 3737 #ifdef LANG_F77
 3838 #define F77LIBLIST { "-L/usr/local/lib", "-lF77", "-lI77", "-lm", "-lc", NULL };
 3939 #endif
 4040 
 4141 /* host-independent */
 4242 #define DYNLINKER { "-dynamic-linker", "/usr/libexec/ld.elf_so", NULL }
 4343 
 4444 #define CRTEND_T        "crtend.o"
 4545 
 4646 #define DEFLIBS         { "-lc", NULL }
 4747 #define DEFPROFLIBS     { "-lc_p", NULL }
 4848 #define DEFCXXLIBS      { "-lp++", "-lc", NULL }
 4949 
 5050 #if defined(mach_amd64)
 5151 #define CPPMDADD \
 5252         { "-D__x86_64__", "-D__x86_64", "-D__amd64__", "-D__amd64", \
 5353           "-D__LP64__", "-D_LP64", NULL, }
 5454 #elif defined(mach_arm)
 5555 #define CPPMDADD { "-D__arm__", NULL, }
 5656 #elif defined(mach_i386)
 5757 #define CPPMDADD { "-D__i386__", NULL, }
 5858 #define PCC_SIZE_TYPE           "unsigned int"
 5959 #define PCC_PTRDIFF_TYPE        "int"
 6060 #elif defined(mach_mips)
 6161 #define CPPMDADD { "-D__mips__", NULL, }
 6262 #elif defined(mach_pdp10)
 6363 #define CPPMDADD { "-D__pdp10__", NULL, }
 6464 #elif defined(mach_powerpc)
 6565 #define CPPMDADD { "-D__ppc__", NULL, }
 6666 #define STARTLABEL "_start"
 6767 #elif defined(mach_vax)
 6868 #define CPPMDADD { "-D__vax__", NULL, }
 6969 #define PCC_EARLY_SETUP { kflag = 1; }
<>70 -#define PCC_SETUP_AS_ARGS \
 71 -        { strlist_append(&assembler_flags, "-k"); }
<_7270 #elif defined(mach_sparc64)
 7371 #define CPPMDADD { "-D__sparc64__", NULL, }
 7472 #else
 7573 #error defines for arch missing
 7674 #endif
 7775 
 7876 #ifndef PCC_WINT_TYPE
 7977 #define PCC_WINT_TYPE           "int"
 8078 #endif
 8179 #ifndef PCC_SIZE_TYPE
 8280 #define PCC_SIZE_TYPE           "unsigned long"
 8381 #endif
 8482 #ifndef PCC_PTRDIFF_TYPE
 8583 #define PCC_PTRDIFF_TYPE        "long"
 8684 #endif
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-01 20:35 +0200