One-stop Visual Studio Code Extension to compile, debug and profile Amiga C/C++ programs compiled by the bundled gcc 12.2 with the bundled WinUAE/FS-UAE.
How is LD configured to link against functions stored in ROM?
When trying to build using FFP functions I get undefined reference linker errors to those functions (e.g. SPDiv, SPMul), an error I don't get with other ROM functions like AllocMem. Is this something I can configure LD to find, or should I just be writing wrappers to call into those functions by their offset on ROM?
I can see that at least some of the symbols are in the elf files in the /bin/symbols directory, but I'm not sure if that's relevant or useful for me.
How is LD configured to link against functions stored in ROM?
When trying to build using FFP functions I get undefined reference linker errors to those functions (e.g.
SPDiv
,SPMul
), an error I don't get with other ROM functions likeAllocMem
. Is this something I can configure LD to find, or should I just be writing wrappers to call into those functions by their offset on ROM?I can see that at least some of the symbols are in the elf files in the
/bin/symbols
directory, but I'm not sure if that's relevant or useful for me.Thanks