Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
June 01, 2005 framework patch not working | ||||
---|---|---|---|---|
| ||||
Saw this too late, but it seems that the -framework was broken again in GDC 0.12 ? (-Wl,-framework, works) # gdc -o test test.d -framework Carbon 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 |
June 02, 2005 Re: framework patch not working | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | 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 -o test test.d -framework Carbon
> 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
|
June 03, 2005 Re: framework patch not working | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Friedman | 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 |
June 03, 2005 Re: framework patch not working | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | 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
|
June 04, 2005 Re: framework patch not working | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Friedman | 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
|
Copyright © 1999-2021 by the D Language Foundation