www.digitalmars.com         C & C++   DMDScript  

D.gnu - Patch for GDC+1.018

reply Gregor Richards <Richards codu.org> writes:
Whenever David gets a bit behind with the main trunk, I make a temporary 
branch so that people can be up-to-date on the latest compiler features.

Well, here it is.

This patch is against GDC 0.23 (though it was built off of the SVN 
version), and brings GDC up-to-date with DMD 1.018.

I'm not going to try to tackle a 2.0 branch :)

  - Gregor Richards
Jul 03 2007
next sibling parent Gregor Richards <Richards codu.org> writes:
OK, seems the patch was too big to post :P

http://www.codu.org/gdc-0.23-GregorR-dmd-1.018.patch.gz

  - Gregor Richards

PS: A caveat: You must fix the line endings first. To do this:

find gdc-0.23 -type f | xargs perl -pe 's|\x0D||g' -i
Jul 03 2007
prev sibling parent reply Carlos Santander <csantander619 gmail.com> writes:
Gregor Richards escribió:
 Whenever David gets a bit behind with the main trunk, I make a temporary 
 branch so that people can be up-to-date on the latest compiler features.
 
 Well, here it is.
 
 This patch is against GDC 0.23 (though it was built off of the SVN 
 version), and brings GDC up-to-date with DMD 1.018.
 
 I'm not going to try to tackle a 2.0 branch :)
 
  - Gregor Richards

Thanks! Just to let you know that with gcc-4.0.4 on Mac OS X, I'm getting the same results found here: https://sourceforge.net/tracker/?func=detail&aid=1709602&group_id=154306&atid=791252 (In summary, d/d-lang.glue.o reference to undefined _rs6000_cpu_cpp_builtins) I'll try it with Apple's GCC, gcc-4.1.2, and maybe even gcc-3.4.5. -- Carlos Santander Bernal
Jul 03 2007
next sibling parent Carlos Santander <csantander619 gmail.com> writes:
Carlos Santander escribió:
 Gregor Richards escribió:
 Whenever David gets a bit behind with the main trunk, I make a 
 temporary branch so that people can be up-to-date on the latest 
 compiler features.

 Well, here it is.

 This patch is against GDC 0.23 (though it was built off of the SVN 
 version), and brings GDC up-to-date with DMD 1.018.

 I'm not going to try to tackle a 2.0 branch :)

  - Gregor Richards

Thanks! Just to let you know that with gcc-4.0.4 on Mac OS X, I'm getting the same results found here: https://sourceforge.net/tracker/?func=detail&aid=1709602&group_i =154306&atid=791252 (In summary, d/d-lang.glue.o reference to undefined _rs6000_cpu_cpp_builtins) I'll try it with Apple's GCC, gcc-4.1.2, and maybe even gcc-3.4.5.

With gcc-4.1.2, it's: rs6000-c.o reference to undefined _default_conversion -- Carlos Santander Bernal
Jul 03 2007
prev sibling parent Carlos Santander <csantander619 gmail.com> writes:
Carlos Santander escribió:
 Gregor Richards escribió:
 Whenever David gets a bit behind with the main trunk, I make a 
 temporary branch so that people can be up-to-date on the latest 
 compiler features.

 Well, here it is.

 This patch is against GDC 0.23 (though it was built off of the SVN 
 version), and brings GDC up-to-date with DMD 1.018.

 I'm not going to try to tackle a 2.0 branch :)

  - Gregor Richards

Thanks! Just to let you know that with gcc-4.0.4 on Mac OS X, I'm getting the same results found here: https://sourceforge.net/tracker/?func=detail&aid=1709602&group_i =154306&atid=791252 (In summary, d/d-lang.glue.o reference to undefined _rs6000_cpu_cpp_builtins) I'll try it with Apple's GCC, gcc-4.1.2, and maybe even gcc-3.4.5.

gcc-3.4.5: darwin-c.o reference to undefined _lookup_name gcc-4.2.0 is not supported. Apple's GCC builds. However... $ cat test.d void main () {} $ gdmd test /usr/bin/ld: Undefined symbols: ___dso_handle collect2: ld returned 1 exit status -- Carlos Santander Bernal
Jul 03 2007