CE-Programming / toolchain

Toolchain and libraries for C/C++ programming on the TI-84+ CE calculator series
https://ce-programming.github.io/toolchain/index.html
GNU Lesser General Public License v3.0
528 stars 53 forks source link

feature/linker-relocations not building from source #437

Closed fundudeone closed 1 year ago

fundudeone commented 1 year ago

When trying to build feature/linker-relocations with the instructions found here (https://ce-programming.github.io/toolchain/static/contributing.html) make gives the following error:

make[1]: Entering directory '/home/mint/toolchain/src/libload'
flat assembler  version g.k0v2
libload.asm [24] ../include/library.inc [1] ../include/ez80.inc [2] ../include/ez80.alm [1485]:

macro ? [379]:
    store:
Processed: store:
Error: missing argument.
make[1]: *** [makefile:27: libload.8xv] Error 2
make[1]: Leaving directory '/home/mint/toolchain/src/libload'
make: *** [makefile:41: libload] Error 2

and with make -j

macro ? [379]:
    store:
Processed: store:
Error: missing argument.
make[1]: *** [makefile:27: libload.8xv] Error 2
make[1]: Leaving directory '/home/mint/toolchain/src/libload'
make: *** [makefile:41: libload] Error 2
make: *** Waiting for unfinished jobs....
 [2] ../include/library.inc [1] ../include/ez80.inc [2] ../include/ez80.alm [1485]:

macro ? [379]:
    store:
Processed: store:
Error: missing argument.
make[1]: *** [makefile:27: keypadc.8xv] Error 2
make[1]: Leaving directory '/home/mint/toolchain/src/keypadc'
make: *** [makefile:41: keypadc] Error 2
graphx.asm [2] ../include/library.inc [1] ../include/ez80.inc [2] ../include/ez80.alm [1485]:

macro ? [379]:
    store:
Processed: store:
Error: missing argument.
make[1]: *** [makefile:27: graphx.8xv] Error 2
make[1]: Leaving directory '/home/mint/toolchain/src/graphx'
make: *** [makefile:41: graphx] Error 2
fontlibc.asm [2] ../include/library.inc [1] ../include/ez80.inc [2] ../include/ez80.alm [1485]:

macro ? [379]:
    store:
Processed: store:
Error: missing argument.
make[1]: *** [makefile:27: fontlibc.8xv] Error 2
make[1]: Leaving directory '/home/mint/toolchain/src/fontlibc'
make: *** [makefile:41: fontlibc] Error 2
fileioc.asm [2] ../include/library.inc [1] ../include/ez80.inc [2] ../include/ez80.alm [1485]:

macro ? [379]:
    store:
Processed: store:
Error: missing argument.
make[1]: *** [makefile:27: fileioc.8xv] Error 2
make[1]: Leaving directory '/home/mint/toolchain/src/fileioc'
make: *** [makefile:41: fileioc] Error 2

Am I meant to be using some earlier version of the ez80 LLVM compiler or fasmg that don't have this issue with store?

commandblockguy commented 1 year ago

You're not meant to be using that branch. The fasmg commit that that branch was created to include has already been merged into master, so you should be able to just use master. I'll go ahead and delete the linker-relocations branch.

mateoconlechuga commented 1 year ago

I'm just curious why you decided to try building off that branch in the first place

fundudeone commented 1 year ago

I was told it might still be required for app_tools