Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gcc frontend?



Hi folks,

I am trying to create a new gcc frontend, preferably using my OS X box and Apple's supplied gcc as the foundation, but having some difficulties.

I first tried getting the "current" gcc from savannah, but that didn't want to compile at all with the gcc4.0 I have on my machine. The errors didn't look like I would be able to overcome them easily.

I then tried the gcc-1765 package. That compiled with a bit of tweaking, though the resulting compilers weren't usable. Leaving that "minor" issue for later, I pressed ahead. However, this gcc seems to be quite different from the baseline gcc, as far as I can tell. It took quite a bit of work to get the FLIM sample front-end ( http://people.csa.iisc.ernet.in/sreejith/frontends/flim/ ) to compile. Creating a custom front-end based on that, but including the C/Objective-C base required all sorts of symbols to be defined not mentioned anywhere in the documentation.

I finally got that to compile/link after by providing stubs for the various required and am now in the process of providing actual code so it actually runs. However, before I go any further with this, I would like to ask wether I am moving in the right direction.

- Is gcc-1765 really a good base?  What would be a good/better base?
-
- Where could I get that?
- Any other recommendations?

Thanks,

Marcel

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.