Closed stormalf closed 1 year ago
chibicc -pthread -o test/alignof.exe test/alignof.o -xc test/common test/alignof.o:1: ELF ^ tokenize.c: in tokenize : invalid token
it seems to be a bug in get_file_type that returns always opt_x even if a filename is an object file ending with .o
chibicc -pthread -o test/alignof.exe test/alignof.o -xc test/common test/alignof.o:1: ELF ^ tokenize.c: in tokenize : invalid token