I realize most of you have other things on their head now, with the
1.9 release coming up, but I'd like to ask some questions regarding
the llvm-gcc frontend.
The current llvm-gcc4 frontend is based on GCC 4.0.1, as far as I can
tell from the docs. I also understand that GCC 4.1.x will probably be
skipped, to go to the upcoming GCC 4.2 release directly (which is
only a few weeks away I think).
I can't answer that, its up to Apple. Chris might know. I do know that
the 4.1.x release will be skipped entirely. I suppose whether Apple uses
4.2 is a matter of how good 4.2 is. Currently it looks pretty disastrous
Will this happen before the 2.0 release of LLVM, or are other things
more needed for the next (i.e. after 1.9) release?
The two aren't really coupled that much. The change to a new llvm-gcc
baseline could happen either before 2.0 or after. Again, its somewhat up
to Apple and Chris.
Can anyone give me
an idea of how much work it would take to go from a 4.0.1 to 4.2 llvm-
A lot, you want to wait for it
I'm wondering because an llvm-gcc frontend based on GCC 4.2 would be
very usefull for my (and probably other peoples) purposes.
Only thing I can suggest is taking a delta of GCC 4.0.1 and GCC 4.2 and
try merging it into the latest llvm-gcc4. That should roughly give you
an idea of the amount of work involved. I doubt it would compile
immediately after merge (conflicts)
Related to that, are there any plans to create a llvm-gfortran
frontend from the gfortran compiler included in the GCC 4.x releases?
I don't know.
I've seen some mails passing on that topic, but I recall the guy
working on that being frustrated because the gfortran release in GCC
4.0.1 wasn't very usefull.
Yes, I think he bailed. Again, might be easier just to wait for next rev
of llvm-gcc as the amount of work needed to get gfortran going would be
less with a later 4.x release.
I'm willing to help where I can, but I'm not very experienced with
I am very interested in a Fortran frontend for
LLVM though, because it would greatly improve the use of LLVM for me.
It will come eventually. That's one of the reasons for basing the front
end on GCC. I think the only issue is that someone who wants it bad
enough hasn't shown up. Many llvm-gcc users don't care about Java,
Fortran, Ada, ... and so nothing gets done. However, the amount of work
necessary to get those languages working with LLVM is probably "not that
much" (say, compared to writing LLVM from scratch).
Others will chime in on this topic, I'm sure. Sorry for the vagueness.