This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gnat] reuse of ASTs already constructed



On Apr 20, 2009, at 14:45, Oliver Kellogg wrote:
It would be best to first contemplate what output a single
invocation of the compiler, with multiple compilation units
as arguments, should produce.

For an invocation gnat1 a.adb b.adb c.adb , the files a.{s,ali} b.{s,ali} c.{s,ali} are produced.

The back end is not prepared to produce multiple assembly files. The "gcc" driver program also assumes each invocation produces a single .s file.

So, if this is what you want to do, you'd have to address all these
underlying limitations first.

-Geert


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]