|
From: Daroou <da...@fr...> - 2025-12-01 15:31:49
|
Le 01/12/2025 à 00:52, Miro Kropáček a écrit : > On Mon, 1 Dec 2025 at 01:04, Daroou via Freemint-discuss > <fre...@li...> wrote: > > [/cygdrive/e/cygwin64/opt/cross-mintelf/m68k-atari-mintelf/libcmini/lib/crt0.o: > > file not recognized: file format not recognized > collect2: error: ld returned 1 exit status ] > > Hmm, not sure where this comes from. It looks like using old binutils > (which do not know about the ELF format?) This error is normal because it's a copy of LIBCmini for GCC 'standard' (not ELF). (I can't compile LIBCmini in ELF format; however, EmuTOS compiles perfectly in ELF format.) > However I have built http://naprvyraz.sk/private/libcmini.tar.gz for > you, if you prefer this way. _stksize can be modified with > m68k-atari-mintelf-stack --fix=<amount>k command. Ďakujem Miro :) I didn't have to change anything; _stksize is set to 64KB. However, I'm a little disappointed. Given the size reduction with the MINTlib targets (-30KB), I was expecting at least a slight gain with LIBCmini ELF, but it's the opposite: the target sizes increase by 5KB... m68k-atari-mint-gcc m68k-atari-mintelf-gcc MINTlib 68k 263.988 235.923 MINTlib 206 244.519 217.028 LIBCmini 68K 99.134 104.022 LIBCmini 206 90.999 95.847 RAM 1Mo 192.940 free 189.856 free I see that your LIBCmini ELF is quite large: LIBCmini 4.6.4 96.832 LIBCmini ELF 203.428 Does this affect the program size? I'll continue using GCC 4.6.4... However, GCC 13.2.0 ELF allowed me to fix many errors and warnings in my code. Have a good day, Thank you for your help. |