Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.4
 
1.5
 
MAIN:gmcgarry:20071202222113
 
ccconfig.h
_>3131  * Various settings that controls how the C compiler works.
 3232  */
 3333 
<> 34+#ifndef LIBDIR
  35+#define LIBDIR /usr/lib/
  36+#endif
  37+
  38+/* XXX maybe configure could detect these? Or we should build our own? */
  39+#if defined(mach_i386)
  40+#define GCCLIBDIR LIBDIR "gcc/i586-suse-linux/4.1.0/"
  41+#else defined(mach_powerpc)
  42+#define GCCLIBDIR LIBDIR "gcc/powerpc-unknown-linux/4.1.2/"
  43+#endif
  44+
3445 /* common cpp predefines */
 3546 #define CPPADD  { "-D__linux__", "-D__ELF__", "-I" INCLUDEDIR "/pcc", NULL, }
<> 47+
3648 #define DYNLINKER { "-dynamic-linker", "/lib/ld-linux.so.2", NULL }
<>37 -#define CRT0FILE "/usr/lib/crt1.o"
 38 -#define STARTFILES { "/usr/lib/crti.o", "/usr/lib/gcc/i586-suse-linux/4.1.0/crtbegin.o", NULL }
  49+
  50+#define CRT0FILE LIBDIR "crt1.o"
3951 #define LIBCLIBS { "-lc", "-lgcc_s", NULL }
<>40 -#define ENDFILES { "/usr/lib/gcc/i586-suse-linux/4.1.0/crtend.o", "/usr/lib/crtn.o", NULL }
  52+
  53+#define STARTFILES { LIBDIR "crti.o", GCCLIBDIR "crtbegin.o", NULL }
  54+#define ENDFILES { GCCLIBDIR "crtend.o", LIBDIR "crtn.o", NULL }
  55+
4156 #define STARTLABEL "_start"
 4257 
 4358 #if defined(mach_i386)
 4459 #define CPPMDADD { "-D__i386__", NULL, }
<> 60+#elif defined(mach_powerpc)
  61+#define CPPMDADD { "-D__ppc__", NULL, }
4562 #else
 4663 #error defines for arch missing
 4764 #endif
 4865 
 4966 #define STABS
<_ 67+#define ELFABI
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 09:43 +0200