[Melt] Runfile Mode and rest of compilation
Basile Starynkevitch
basile@starynkevitch.net
Sat Jul 16 17:44:00 GMT 2011
On Sat, 16 Jul 2011 18:11:07 +0200
Romain Geissler <romain.geissler@gmail.com> wrote:
> Hello,
>
> I just noticed some strange behavior some days ago while trying the HelloWorld Melt tutorial. So a file as simple as
>
> (code_chunk trace
> #{
> printf("Melt file is executed !\n");
> }#
> )
>
> will print a trace as expected when using with -fmelt-mode=runfile -fmet-arg=trace.melt. But it seems that the rest of compilation is canceled, as the resulting test.o object file do not have the "main" symbol whereas test.c defines a main function. Is this behavior expected ?
No, you probably hit a bug. I will look at it next week.
Cheers.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***
More information about the Gcc
mailing list