Thread overview | |||||
---|---|---|---|---|---|
|
April 10, 2004 darwin's java frontend to gcc helpful? | ||||
---|---|---|---|---|
| ||||
I built gdc from the 3.3.2 release of GCC but without Apple's extensions. This was a no-no as now I cannot link with Frameworks (or use any other Apple extensions obviously)... I am attempting to build gdc using Apple's GCC avail from http://developer.apple.com/documentation/DeveloperTools/gcc -3.3/gcc/Source-Code.html Once I had the source checked out, I realized of course that Apple has a Java front-end for their version of GCC. I've no idea if this would be useful to the gdc project because I know nothing about GCC internals but I thought it might be useful to see how another front-end for GCC was built. After checkout, look in gcc3/gcc/java I'll post more info about how I do with building gdc from Apple's GCC sources. Should be the same instructions but we'll see. Thanks, Brian |
April 10, 2004 Re: darwin's java frontend to gcc helpful? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brian Hammond | I will check out the Java front-end. If you want to link with frameworks, you can the -Wl option to pass the -framework options to the linker. Example:
gdc -o A7xBoot *.o ../import/imports.a -Wl,-framework,OpenGL
-Wl,-framework,AppKit -Wl,-framework,SDL
-Wl,-framework,SDL_mixer
David
Brian Hammond wrote:
> I built gdc from the 3.3.2 release of GCC but without Apple's extensions. This
> was a no-no as now I cannot link with Frameworks (or use any other Apple extensions obviously)... I
> am attempting to build gdc using Apple's GCC avail from
> http://developer.apple.com/documentation/DeveloperTools/gcc
> -3.3/gcc/Source-Code.html
>
> Once I had the source checked out, I realized of course that Apple has a Java
> front-end for their version of GCC. I've no idea if this would be useful to the gdc project because I know
> nothing about GCC internals but I thought it might be useful to see how another front-end for GCC
> was built. After checkout, look in gcc3/gcc/java
>
> I'll post more info about how I do with building gdc from Apple's GCC sources.
> Should be the same instructions but we'll see.
>
> Thanks, Brian
>
>
|
April 10, 2004 Re: darwin's java frontend to gcc helpful? | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Friedman | Thanks David. In article <c591m7$jfr$1@digitaldaemon.com>, David Friedman says... > >I will check out the Java front-end. If you want to link with frameworks, you can the -Wl option to pass the -framework options to the linker. Example: > >gdc -o A7xBoot *.o ../import/imports.a -Wl,-framework,OpenGL > -Wl,-framework,AppKit -Wl,-framework,SDL > -Wl,-framework,SDL_mixer > >David > > >Brian Hammond wrote: >> I built gdc from the 3.3.2 release of GCC but without Apple's extensions. This >> was a no-no as now I >> cannot link with Frameworks (or use any other Apple extensions obviously)... I >> am attempting to build >> gdc using Apple's GCC avail from >> http://developer.apple.com/documentation/DeveloperTools/gcc >> -3.3/gcc/Source-Code.html >> >> Once I had the source checked out, I realized of course that Apple has a Java >> front-end for their version >> of GCC. I've no idea if this would be useful to the gdc project because I know >> nothing about GCC >> internals but I thought it might be useful to see how another front-end for GCC >> was built. After >> checkout, look in gcc3/gcc/java >> >> I'll post more info about how I do with building gdc from Apple's GCC sources. >> Should be the same >> instructions but we'll see. >> >> Thanks, Brian >> >> > |
Copyright © 1999-2021 by the D Language Foundation