www.digitalmars.com         C & C++   DMDScript  

D.gnu - framework patch not working

reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Saw this too late, but it seems that the -framework
was broken again in GDC 0.12 ? (-Wl,-framework, works)


gdc: Carbon: No such file or directory
cc1d: error: unrecognized option `-framework'

Just a minor annoyance, that I thought was gone now ?
(back to the workaround for now, maybe fix for 0.13)

--anders
Jun 01 2005
parent reply David Friedman <d3rdclsmail_a_ _t_earthlink_d_._t_net> writes:
Anders F Björklund wrote:
 Saw this too late, but it seems that the -framework
 was broken again in GDC 0.12 ? (-Wl,-framework, works)
 

 gdc: Carbon: No such file or directory
 cc1d: error: unrecognized option `-framework'
 
 Just a minor annoyance, that I thought was gone now ?
 (back to the workaround for now, maybe fix for 0.13)
 
 --anders
The -framework option works for all the 3.3.x GCCs that I have built. Are the patches being applied to the same way? David
Jun 02 2005
parent reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
David Friedman wrote:

 The -framework option works for all the 3.3.x GCCs that I have built. 
 Are the patches being applied to the same way?
Nothing special, just an extra G3/G4/G5 CPU patch applied... http://www.algonet.se/~afb/d/gcc-3.3.5-powerpc.patch GCC 3.3.6 was used, and the gcc-3.x patches from the distro: - gcc-3.3.5-framework-headers.patch - gcc-3.3.5-framework-linker.patch - gcc-3.3.5-powerpc.patch - patch-gcc-3.3.x - patch-toplev-3.3.x - patch-gcc-darwin-eh-3.3.x All the other patches were disabled for the "gdcmac" build... (most of them were for GCC anyway, except for the Phobos ones) Is there a simple way to check or debug it, see what's wrong ? --anders
Jun 03 2005
parent reply David Friedman <d3rdclsmail_a t_earthlink_d.t_net> writes:
Anders F Björklund wrote:
 David Friedman wrote:
 
 The -framework option works for all the 3.3.x GCCs that I have built. 
 Are the patches being applied to the same way?
Nothing special, just an extra G3/G4/G5 CPU patch applied... http://www.algonet.se/~afb/d/gcc-3.3.5-powerpc.patch GCC 3.3.6 was used, and the gcc-3.x patches from the distro: - gcc-3.3.5-framework-headers.patch - gcc-3.3.5-framework-linker.patch - gcc-3.3.5-powerpc.patch - patch-gcc-3.3.x - patch-toplev-3.3.x - patch-gcc-darwin-eh-3.3.x All the other patches were disabled for the "gdcmac" build... (most of them were for GCC anyway, except for the Phobos ones) Is there a simple way to check or debug it, see what's wrong ? --anders
I would try stepping through the code in gcc.c that checks for "-framework". David
Jun 03 2005
parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
David Friedman wrote:

 Is there a simple way to check or debug it, see what's wrong ?
I would try stepping through the code in gcc.c that checks for "-framework".
Argh, stepped through the whole thing and no traces of framework... That's because the patches had silently failed at an earlier step. Note to self: "patch || exit 1" ! Seems to work just fine again now. --anders
Jun 04 2005