[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/cscc/common cc_main.c,1.27,1.28
From: |
Jonathan Springer <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/cscc/common cc_main.c,1.27,1.28 |
Date: |
Sun, 23 Mar 2003 13:01:03 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/cscc/common
In directory subversions:/tmp/cvs-serv27819/cscc/common
Modified Files:
cc_main.c
Log Message:
Change for darwin pre-compiler.
Index: cc_main.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/common/cc_main.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** cc_main.c 17 Feb 2003 18:11:16 -0000 1.27
--- cc_main.c 23 Mar 2003 18:01:01 -0000 1.28
***************
*** 582,586 ****
{
char *newPath = 0;
! if(ILFileExists("/usr/bin/cpp", &newPath))
{
if(newPath)
--- 582,593 ----
{
char *newPath = 0;
! if(ILFileExists("/usr/bin/cpp3", &newPath))
! {
! if(newPath)
! return newPath;
! else
! return "/usr/bin/cpp3";
! }
! else if(ILFileExists("/usr/bin/cpp", &newPath))
{
if(newPath)
***************
*** 790,793 ****
--- 797,810 ----
wouldn't be necessary if "-undef" actually did what it is
supposed to do, but it only undefines some symbols, not all
*/
+ #ifdef __APPLE__
+ #ifdef __MACH__
+ /* Apple shipped a special "pre-compiled header" CPP with the
+ Darwin OS. That obviously won't do us much good here, so
+ we need to set a flag to fall back on standard headers.
+
+ TODO: Can this end be achieved dynamically? */
+ CCStringListAdd(&argv, &argc, "-no-cpp-precomp");
+ #endif
+ #endif
CCStringListAdd(&argv, &argc, "-w");
CCStringListAdd(&argv, &argc, "-nostdinc");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/cscc/common cc_main.c,1.27,1.28,
Jonathan Springer <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet/debian pnet-compiler.postinst,NONE,1.1 pnet-compiler.prerm,NONE,1.1 pnet-interpreter.dirs,NONE,1.1 changelog,1.4,1.5 control,1.3,1.4 copyright,1.1,1.2 pnet-compiler.files,1.1,1.2 pnet-compiler.manpages,1.1,1.2 pnet-dev.files,1.1,1.2 pnet-interpreter.files,1.1,1.2 pnet-interpreter.postinst,1.1,1.2 rules,1.2,1.3 ilalink.1,1.1,NONE ildb.1,1.1,NONE init.d.ex,1.1,NONE manpage.1.ex,1.1,NONE pnet-dev.postinst.debhelper,1.1,NONE pnet-dev.prerm.debhelper,1.1,NONE pnet.postinst.debhelper,1.1,NONE pnet.prerm.debhelper,1.1,NONE
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnet/cscc c_main.c,1.10,1.11
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet/debian pnet-compiler.postinst,NONE,1.1 pnet-compiler.prerm,NONE,1.1 pnet-interpreter.dirs,NONE,1.1 changelog,1.4,1.5 control,1.3,1.4 copyright,1.1,1.2 pnet-compiler.files,1.1,1.2 pnet-compiler.manpages,1.1,1.2 pnet-dev.files,1.1,1.2 pnet-interpreter.files,1.1,1.2 pnet-interpreter.postinst,1.1,1.2 rules,1.2,1.3 ilalink.1,1.1,NONE ildb.1,1.1,NONE init.d.ex,1.1,NONE manpage.1.ex,1.1,NONE pnet-dev.postinst.debhelper,1.1,NONE pnet-dev.prerm.debhelper,1.1,NONE pnet.postinst.debhelper,1.1,NONE pnet.prerm.debhelper,1.1,NONE
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnet/cscc c_main.c,1.10,1.11
- Index(es):