[Melt] Runfile Mode and rest of compilation

Romain Geissler romain.geissler@gmail.com
Sat Jul 16 16:33:00 GMT 2011


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



More information about the Gcc mailing list