Thread overview
Patch for GDC+1.018
Jul 03, 2007
Gregor Richards
Jul 03, 2007
Gregor Richards
Jul 03, 2007
Carlos Santander
Jul 03, 2007
Carlos Santander
Jul 03, 2007
Carlos Santander
July 03, 2007
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
July 03, 2007
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
July 03, 2007
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
July 03, 2007
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_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.
> 

With gcc-4.1.2, it's:
rs6000-c.o reference to undefined _default_conversion

-- 
Carlos Santander Bernal
July 03, 2007
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_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.
> 

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