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]

[Melt] Runfile Mode and rest of compilation


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 ?

Romain Geissler


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