Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.93
 
1.94
 
MAIN:gmcgarry:20080420020220
 
cc.c
_>165165 char    *ld = LINKER;
 166166 char    *Bflag;
 167167 char *cppadd[] = CPPADD;
<> 168+#ifdef DYNLINKER
168169 char *dynlinker[] = DYNLINKER;
<> 170+#endif
  171+#ifdef CRT0FILE
169172 char *crt0file = CRT0FILE;
<> 173+#endif
  174+#ifdef CRT0FILE_PROFILE
170175 char *crt0file_profile = CRT0FILE_PROFILE;
<> 176+#endif
  177+#ifdef STARTFILES
171178 char *startfiles[] = STARTFILES;
 172179 char *endfiles[] = ENDFILES;
<> 180+#endif
173181 #ifdef STARTFILES_S
 174182 char *startfiles_S[] = STARTFILES_S;
 175183 char *endfiles_S[] = ENDFILES_S;
     
 !
510518                         av[na++] = "-p";
 511519                 if (gflag)
 512520                         av[na++] = "-g";
<>513 -#ifdef MACHOABI
  521+#ifdef os_darwin
514522                 /* darwin always wants PIC compilation */
 515523                 av[na++] = "-k";
 516524 #else
     
 !
609617                         av[j++] = STARTLABEL;
 610618 #endif
 611619                         if (Bstatic == 0) { /* Dynamic linkage */
<> 620+#ifdef DYNLINKER
612621                                 for (i = 0; dynlinker[i]; i++)
 613622                                         av[j++] = dynlinker[i];
<> 623+#endif
614624                         } else
 615625                                 av[j++] = "-Bstatic";
 616626                 }
 617627                 if (outfile) {
 618628                         av[j++] = "-o";
 619629                         av[j++] = outfile;
 620630                 }
<>621 -#ifndef os_win32
622631                 if (shared) {
 623632 #ifdef STARTFILES_S
 624633                         for (i = 0; startfiles_S[i]; i++)
 625634                                 av[j++] = startfiles_S[i];
 626635 #endif
 627636                 } else {
 628637                         if (!nostartfiles) {
<>629 -                                av[j++] = pgflag ? crt0file_profile : crt0file;
  638+#ifdef CRT0FILE_PROFILE
  639+                                if (pgflag)
  640+                                {
  641+                                        av[j++] = crt0file_profile;
  642+                                }
  643+                                else
  644+#endif
  645+                                {
  646+#ifdef CRT0FILE
  647+                                        av[j++] = crt0file;
  648+#endif
  649+                                }
  650+#ifdef STARTFILES
630651                                 for (i = 0; startfiles[i]; i++)
 631652                                         av[j++] = startfiles[i];
<> 653+#endif
632654                         }
 633655                 }
<>634 -#endif
<_635656                 i = 0;
 636657                 while(i<nl) {
 637658                         av[j++] = llist[i++];
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 01:34 +0100