This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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()


Janne Blomqvist wrote:
>> Bootstrapped on x86-64-linux and regtested.
>> OK for the trunk?
> Ok.
Thanks for the review! Comitted as Rev. 147883.

>> PS 1: I think one can also remove libgfortranbegin.a.
> IMHO it can be removed. If you find it unacceptable to remove it
> directly, then at least deprecate it and remove for 4.6; I'd rather
> not see it kept around indefinitely.

Steve Kargl wrote:
> I agree with Janne.

I will send a follow-up patch which removes it. As "gfortran" does no
longer automatically link it, it will "break" some Makefile anyhow
(Fixed by: "touch main.f90; make"). For those which really need it, one
can recommend to simply create a C file with a main() function, which
calls "_gfortran_set_args (argc, argv); MAIN__();".

Tobias


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