This is the mail archive of the gcc-patches@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: [Fortran,patch] PR 39178 - inline main()


Tobias Burnus wrote:

> I don't know how one could produce a warning at link time using an empty
> stub libgfortranbegin.a. 

  Use a warning symbol:

http://www.airs.com/blog/archives/54

  That appears to be an ELF-only feature at the moment.  I could see about
getting it implemented for PE/COFF if you like?

    cheers,
      DaveK


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