<div dir="ltr"><br>I've run into an error compiling Mercury (most recent ROTD) using Cygwin (64-bit) on Windows 7 64-bit.<br><br><div><div><br><a href="https://gist.github.com/FlyingJester/66643007fb8f6d46b00a">https://gist.github.com/FlyingJester/66643007fb8f6d46b00a</a><br><br></div>The main error seems to be when linking:<br>top_level_init.o:top_level_init.c:(.rdata$.refptr._bss_start__[.refptr._bss_start__]+0x0): undefined reference to `_bss_start__'
top_level_init.o:top_level_init.c:(.rdata$.refptr._data_start__[.refptr._data_start__]+0x0): undefined reference to `_data_start__'
top_level_init.o:top_level_init.c:(.rdata$.refptr._bss_end__[.refptr._bss_end__]+0x0): undefined reference to `_bss_end__'
top_level_init.o:top_level_init.c:(.rdata$.refptr._data_end__[.refptr._data_end__]+0x0): undefined reference to `_data_end__'
<br><br><br><br></div><div>A quick web search suggests this may mean a bad/mismatched linker script, although I have no idea if that is applicable here.<br></div><div><br></div><div>Any help would be greatly appreciated!<br></div></div>