On Thursday, 23 October 2014 at 04:12:45 UTC, John A wrote:
What am I missing?
To answer my own question, I put the source file in the wrong spot:
BAD:$(ARM-GDC) $(INCDIR) -L$(LIBDIR) -lopengl3 -lutil -ldl testgl3.d -o testgl3
Good:$(ARM-GDC) $(INCDIR) testgl3.d -L$(LIBDIR) -lopengl3 -lutil -ldl -o testgl3
Note: I had to add the -ldl because of unresolved dlopen, dlclose, etc. symbols.
Next up, running the ./testgl3 on QEMU causes a seg fault.