Changeset 32

Show
Ignore:
Timestamp:
10/16/08 23:06:32 (4 years ago)
Author:
sean
Message:

Fixed a few build script issues on posix, including a bug in looking for some of the core modules in the wrong place, and a hack to eliminate filename collision with the dmd compiler runtime. This latter issue really needs to be addressed in a better way, but at this point my priority is just to get the build working.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/D1.0/src/common/core/thread.d

    r31 r32  
    157157        import stdc.posix.time; 
    158158        import stdc.errno; 
     159 
     160        extern (C) int getErrno(); 
    159161 
    160162        version( GNU ) 
  • branches/D1.0/src/common/posix.mak

    r29 r32  
    7272    core/bitmanip.o \ 
    7373    core/exception.o \ 
    74     core/memory.o \ 
     74    core/memory_.o \ 
    7575    core/runtime.o \ 
    7676    core/thread.o 
     
    111111 
    112112core/bitmanip.o : core/bitmanip.d 
    113     $(DC) -c $(DFLAGS) bitmanip.d -of$@ 
     113    $(DC) -c $(DFLAGS) core/bitmanip.d -of$@ 
    114114 
     115### memory 
     116core/memory_.o : core/memory.d 
     117    $(DC) -c $(DFLAGS) -Hf$*.di $< -of$@ 
    115118### thread 
    116119 
    117120core/thread.o : core/thread.d 
    118     $(DC) -c $(DFLAGS) -d -Hf$*.di thread.d -of$@ 
     121    $(DC) -c $(DFLAGS) -d -Hf$*.di core/thread.d -of$@ 
    119122 
    120123###################################################### 
  • trunk/src/common/core/thread.d

    r31 r32  
    158158        import stdc.errno; 
    159159 
     160        extern (C) int getErrno(); 
    160161        version( GNU ) 
    161162        { 
  • trunk/src/common/posix.mak

    r29 r32  
    7272    core/bitmanip.o \ 
    7373    core/exception.o \ 
    74     core/memory.o \ 
     74    core/memory_.o \ 
    7575    core/runtime.o \ 
    7676    core/thread.o 
     
    111111 
    112112core/bitmanip.o : core/bitmanip.d 
    113     $(DC) -c $(DFLAGS) bitmanip.d -of$@ 
     113    $(DC) -c $(DFLAGS) core/bitmanip.d -of$@ 
     114 
     115### memory 
     116 
     117core/memory_.o : core/memory.d 
     118    $(DC) -c $(DFLAGS) -Hf$*.di $< -of$@ 
    114119 
    115120### thread 
    116121 
    117122core/thread.o : core/thread.d 
    118     $(DC) -c $(DFLAGS) -d -Hf$*.di thread.d -of$@ 
     123    $(DC) -c $(DFLAGS) -d -Hf$*.di core/thread.d -of$@ 
    119124 
    120125######################################################