[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/cscc/common cc_options.c,1.6,1.7 cc_opt
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/cscc/common cc_options.c,1.6,1.7 cc_options.h,1.4,1.5 |
Date: |
Tue, 10 Dec 2002 18:26:28 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/cscc/common
In directory subversions:/tmp/cvs-serv25678/cscc/common
Modified Files:
cc_options.c cc_options.h
Log Message:
Handle the case of a resource-only link for sattelite assemblies.
Index: cc_options.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/common/cc_options.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** cc_options.c 13 Aug 2002 05:41:54 -0000 1.6
--- cc_options.c 10 Dec 2002 23:26:26 -0000 1.7
***************
*** 55,58 ****
--- 55,59 ----
int optimize_flag = 0;
int disable_optimizations = 0;
+ int resources_only = 0;
char **pre_defined_symbols = 0;
int num_pre_defined_symbols = 0;
***************
*** 720,724 ****
/* Do we have any input files? */
! if(!num_input_files)
{
fprintf(stderr, _("%s: No input files\n"), progname);
--- 721,731 ----
/* Do we have any input files? */
! if(CCStringListGetValue(extension_flags, num_extension_flags,
! "resources"))
! {
! resources_only = (!compile_flag && !assemble_flag &&
! !preprocess_flag &&
!num_input_files);
! }
! if(!num_input_files && !resources_only)
{
fprintf(stderr, _("%s: No input files\n"), progname);
Index: cc_options.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/common/cc_options.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** cc_options.h 13 Aug 2002 05:41:54 -0000 1.4
--- cc_options.h 10 Dec 2002 23:26:26 -0000 1.5
***************
*** 70,73 ****
--- 70,74 ----
extern int optimize_flag;
extern int disable_optimizations;
+ extern int resources_only;
extern char **pre_defined_symbols;
extern int num_pre_defined_symbols;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/cscc/common cc_options.c,1.6,1.7 cc_options.h,1.4,1.5,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h,1.37,1.38 int_table.c,1.40,1.41 lib_reflect.c,1.23,1.24
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnet/cscc cscc.c,1.23,1.24
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h,1.37,1.38 int_table.c,1.40,1.41 lib_reflect.c,1.23,1.24
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnet/cscc cscc.c,1.23,1.24
- Index(es):