davidgiven / ack

The Amsterdam Compiler Kit
http://tack.sf.net
Other
416 stars 59 forks source link

ack (compiled with default linux386) to compile itself? #283

Open cardassian opened 1 year ago

cardassian commented 1 year ago

In my opinion main.a looks fine: $ aal tv /tmp/ack-build/obj/util/LLgen/llgen/main/llgen/main.a rw-rw-r-- 232/232 41558 Apr 22 17:13 2023 LLgen.o rw-rw-r-- 232/232 6638 Apr 22 17:13 2023 Lpars.o rw-rw-r-- 232/232 5383 Apr 22 17:13 2023 alloc.o rw-rw-r-- 232/232 1086 Apr 22 17:13 2023 cclass.o rw-rw-r-- 232/232 19352 Apr 22 17:13 2023 check.o rw-rw-r-- 232/232 34473 Apr 22 17:13 2023 compute.o rw-rw-r-- 232/232 53085 Apr 22 17:13 2023 gencode.o rw-rw-r-- 232/232 7751 Apr 22 17:13 2023 global.o rw-rw-r-- 232/232 7092 Apr 22 17:13 2023 machdep.o rw-rw-r-- 232/232 19586 Apr 22 17:13 2023 main.o rw-rw-r-- 232/232 11586 Apr 22 17:13 2023 name.o rw-rw-r-- 232/232 7466 Apr 22 17:13 2023 reach.o rw-rw-r-- 232/232 16138 Apr 22 17:13 2023 savegram.o rw-rw-r-- 232/232 9188 Apr 22 17:13 2023 sets.o rw-rw-r-- 232/232 19519 Apr 22 17:13 2023 tokens.o rw-rw-r-- 232/232 3037 Apr 22 17:13 2023 utils.o

Any hints?

Best regards, Hans

tkchia commented 8 months ago

Hello @cardassian,

I believe the driver program (or maybe the linker) is a bit confused by the fact that the input files are all .a files, while it is likely expecting some .o files. There is probably a way to fix this and get the driver program to do the expected thing...

Thank you!