Ok My brain is fried, I've been researching this all day. I can't for the life of me get anything to work right today. If I had hair it'd be on the floor right now. Folloing the abouve linked page, I set up a make file to compile my sdl test I created. I figure if I can get one thing going it may encourage me a bit to continue. It didn't compile. Compiles on my system, not the toolchain. Soooo, I made a simple hello world to test with, same problem. Following the page I have a makefile made, pretty much copied, lol.
TARGET := test
OBJS := test.o
CC := $(CROSS_COMPILE)g++
$(CC) $(CPPFLAGS) $^ -o [email protected]
rm -f $(TARGET) $(OBJS)
But instead of it compiling, like the above linked page said, I get:
test.o: could not read symbols: File in wrong format
I figure it's using my system's ld but darned if I can figure out how to get it to stop.
I'm really starting to get discouraged. I just want to learn to code a bit for the Zero, but heck I can't even get something compiled for it if I did write it.