dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/cscc/common cc_main.c,1.24,1.25


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/common cc_main.c,1.24,1.25
Date: Sat, 01 Feb 2003 01:36:49 -0500

Update of /cvsroot/dotgnu-pnet/pnet/cscc/common
In directory subversions:/tmp/cvs-serv9638/cscc/common

Modified Files:
        cc_main.c 
Log Message:


Allow a library to directly or indirectly depend on itself (needed for
two-phase compile of System.dll).


Index: cc_main.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/common/cc_main.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** cc_main.c   8 Dec 2002 02:54:46 -0000       1.24
--- cc_main.c   1 Feb 2003 06:36:47 -0000       1.25
***************
*** 400,403 ****
--- 400,410 ----
        while((image = ILContextNextImage(CCCodeGen.context, image)) != 0)
        {
+               if(image == CCCodeGen.image)
+               {
+                       /* Skip the image that we are building, as it may
+                          have the same name as a library if we had to
+                          build the library in two passes (e.g. System.dll) */
+                       continue;
+               }
                assem = ILAssembly_FromToken(image, (IL_META_TOKEN_ASSEMBLY | 
1));
                if(assem)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]