Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.23
 
1.24
 
MAIN:ragge:20120923094504
 
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  *
 1616  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
 1717  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 1818  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 1919  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
 2020  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
 2121  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 2222  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 2323  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 2424  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 2525  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 2626  */
 2727 
 2828 /*
 2929  * Various settings that controls how the C compiler works.
 3030  */
 3131 
 3232 /* common cpp predefines */
 3333 #define CPPADD  { "-D__linux__", "-D__ELF__", NULL, }
 3434 
<>35 -#define CRT             "crt1.o"
  35+#define CRT0            "crt1.o"
<_3636 #define GCRT0           "gcrt1.o"
 3737 
 3838 #define STARTLABEL "_start"
 3939 
 4040 #if defined(mach_i386)
 4141 #define CPPMDADD        { "-D__i386__", NULL, }
 4242 #define DYNLINKER       { "-dynamic-linker", "/lib/ld-linux.so.2", NULL }
 4343 #elif defined(mach_powerpc)
 4444 #define CPPMDADD        { "-D__ppc__", NULL, }
 4545 #define DYNLINKER       { "-dynamic-linker", "/lib/ld-linux.so.2", NULL }
 4646 #elif defined(mach_amd64)
 4747 #define CPPMDADD        { "-D__x86_64__", "-D__x86_64", "-D__amd64__", \
 4848         "-D__amd64", "-D__LP64__", "-D_LP64", NULL, }
 4949 #define DYNLINKER { "-dynamic-linker", "/lib64/ld-linux-x86-64.so.2", NULL }
 5050 #define DEFLIBDIRS      { "/usr/lib64/", 0 }
 5151 #elif defined(mach_mips)
 5252 #define CPPMDADD { "-D__mips__", NULL, }
 5353 #define DYNLINKER { "-dynamic-linker", "/lib/ld.so.1", NULL }
 5454 #else
 5555 #error defines for arch missing
 5656 #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-11-01 07:19 +0100