[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/cscc cscc.c,1.23,1.24
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/cscc cscc.c,1.23,1.24 |
Date: |
Tue, 10 Dec 2002 18:26:28 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/cscc
In directory subversions:/tmp/cvs-serv25678/cscc
Modified Files:
cscc.c
Log Message:
Handle the case of a resource-only link for sattelite assemblies.
Index: cscc.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/cscc.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** cscc.c 20 Aug 2002 07:03:27 -0000 1.23
--- cscc.c 10 Dec 2002 23:26:25 -0000 1.24
***************
*** 1472,1477 ****
for(posn = 0; posn < num_extension_flags; ++posn)
{
! AddArgument(&cmdline, &cmdline_size, "-f");
! AddArgument(&cmdline, &cmdline_size, extension_flags[posn]);
}
for(posn = 0; posn < num_machine_flags; ++posn)
--- 1472,1481 ----
for(posn = 0; posn < num_extension_flags; ++posn)
{
! if(!resources_only ||
! strncmp(extension_flags[posn], "resources=", 10) != 0)
! {
! AddArgument(&cmdline, &cmdline_size, "-f");
! AddArgument(&cmdline, &cmdline_size,
extension_flags[posn]);
! }
}
for(posn = 0; posn < num_machine_flags; ++posn)
***************
*** 1495,1498 ****
--- 1499,1506 ----
AddArgument(&cmdline, &cmdline_size, libraries[posn]);
}
+ if(resources_only)
+ {
+ AddArgument(&cmdline, &cmdline_size, "--resources-only");
+ }
AddArgument(&cmdline, &cmdline_size, "--");
***************
*** 1500,1503 ****
--- 1508,1522 ----
{
AddArgument(&cmdline, &cmdline_size, files_to_link[posn]);
+ }
+ if(resources_only)
+ {
+ for(posn = 0; posn < num_extension_flags; ++posn)
+ {
+ if(!strncmp(extension_flags[posn], "resources=", 10))
+ {
+ AddArgument(&cmdline, &cmdline_size,
+ extension_flags[posn] +
10);
+ }
+ }
}
AddArgument(&cmdline, &cmdline_size, 0);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/cscc cscc.c,1.23,1.24,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet/cscc/common cc_options.c,1.6,1.7 cc_options.h,1.4,1.5
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.548,1.549
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet/cscc/common cc_options.c,1.6,1.7 cc_options.h,1.4,1.5
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.548,1.549
- Index(es):