I'm trying to figure out the correct way to write a make for MSVC, but I keep getting the following: undefined reference to `__gccmain' undefined reference to...
My library inclusions are: -lstdc++ -lgcc -lc Order is important on library inclusions unless you use the -( -) grouping arguments. I know that memcpy and...
... grouping ... they ... be a problem ... I've now rearranged it to this: LDFLAGS = -L $(LIBDIR) -L $(LIBDIR2) -T lnkscript -lstdc++ -lgcc -lc same errors ......
Does anyone have any thoughts on the advantages/disadvantages of ARM code versus THUMB code? It seems to be generally accepted that Thumb is more efficient...
... Thumb is also more efficient from EWRAM. Code running from EWRAM drains the battery much more slowly slower than code running from ROM, even though it...
... depends on your update code to be honest. Hardware sprites don't use mush in the way of CPU time :) the main problem you have is collision since that needs...
... When you look at it mathematically, sector-based collision is entirely equivalent to tile-based collision. The difference lies in how large the sectors...
... True ! ... *ahem* I've been trying to do overlays with SDT 2.5 but couldn't succeed. I've read the ADS docs but it seems that the possibility to do...
... If you're registered (probably since you're using SDT), I seem to remember that Nintendo's Yoshi Demo features some kind of data overlay in the linkscript....
Hi Dave, ... THUMB in ROM: Smaller, saves precious IWRAM. ARM in IWRAM: Generally about 4x faster than thumb in ROM. Putting ARM anywhere but IWRAM isn't a...
... From: "yerricde" <d_yerrick@...> ... unfortunately, i can sort of agree. this *isn't* how you're supposed to optimize code, but it seems sometimes...
I dont think its a bad idea to let a compiler, good or bad, do your initial build from a high level language to asm and then tweak the asm for better...
Hello David, DW> optimizations, etc? Are there processors (68K, x86, etc) where optimized DW> gcc output is competitive DW> with commercial compilers or does...
So you want a free macro assembler for ARM? www.goldroad.co.uk very nice one it seems.. -henrik ... Fran: Dave Murphy [mailto:wintermute2002@...] ...
Henrik Rydgard
meloditronic@...
Oct 2, 2002 5:18 pm
I found some bugs in goldroad and sent them to the author. I haven't heard a peep in response. Particularly, improper instructions were being assembled in...
Mike Schwartz
mykes@...
Oct 2, 2002 8:59 pm
From: "j_north2002" <johnny_north@...> ... So another theory goes up in smoke :( ... Well, almost. What you have listed there as CPPFLAGS should...
At the risk of being overindulgent here... I seem to have gotten rid of the undef refs by placing the linker flags at the end of the linked files list along...
LD is trying to include the file SFBB.elf as if it were an object file. The -o signifies the name of the destination file. if you leave -o off I think it will...
... file. ... off I think it will try and output to a.out ... I made the suggested change: SFBB.elf: crt0.o crtbegin.o crtend.o main.o background.o board.o ...
... Suggestion from Jeff nailed the prolem on this. For the benefit of the archives, ld on the second line of the linker rule changed to gcc i.e. SFBB.elf:...
Here are the relevant lines from my makefile: CFLAGS = $(IncPath) -mthumb -mthumb-interwork -c -g $(OPTFLAG) -Wall -fverbose-asm SFLAGS = $(IncPath)...