D.gnu - darwin's java frontend to gcc helpful?
- Brian Hammond (18/18) Apr 09 2004 I built gdc from the 3.3.2 release of GCC but without Apple's extensions...
- David Friedman (8/31) Apr 10 2004 I will check out the Java front-end. If you want to link with
- Brian Hammond (2/33) Apr 10 2004
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
Apr 09 2004
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
Apr 10 2004
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
Apr 10 2004