Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.113
 
1.114
 
MAIN:gmcgarry:20080724130542
 
cc.c
_>479479                                         Bstatic = 1;
 480480                                 else if (strcmp(argv[i], "-shared") == 0) {
 481481                                         shared = 1;
<> 482+#ifndef os_win32
482483                                         nostdlib = 1;
<> 484+#endif
483485                                 } else
 484486                                         goto passa;
 485487                                 break;
     
 !
722724 #ifndef os_win32
 723725                 if (vflag)
 724726                         av[j++] = "-v";
<>725 -#ifndef os_sunos
  727+#endif
  728+#if !defined(os_sunos) && !defined(os_win32)
726729                 av[j++] = "-X";
 727730 #endif
 728731                 if (shared) {
 729732                         av[j++] = "-shared";
<> 733+#ifdef os_win32
  734+                        av[j++] = "-Bdynamic";
  735+#endif
730736 #ifndef os_sunos
 731737                 } else {
<> 738+#ifndef os_win32
732739 #ifndef os_darwin
 733740                         av[j++] = "-d";
 734741 #endif
 735742                         av[j++] = "-e";
 736743                         av[j++] = STARTLABEL;
 737744 #endif
<> 745+#endif
738746                         if (Bstatic == 0) { /* Dynamic linkage */
 739747 #ifdef DYNLINKER
 740748                                 for (i = 0; dynlinker[i]; i++)
     
 !
748756 #endif
 749757                         }
 750758                 }
<>751 -#endif
752759                 if (outfile) {
 753760                         av[j++] = "-o";
 754761                         av[j++] = outfile;
 755762                 }
 756763 #ifdef STARTFILES_S
 757764                 if (shared) {
<>758 -                        for (i = 0; startfiles_S[i]; i++)
 759 -                                av[j++] = startfiles_S[i];
  765+                        if (!nostartfiles) {
  766+                                for (i = 0; startfiles_S[i]; i++)
  767+                                        av[j++] = startfiles_S[i];
  768+                        }
<_760769                 } else
 761770 #endif
 762771                 {
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-23 04:02 +0100