From: Miro K. <mir...@gm...> - 2024-06-11 22:32:11
|
On Tue, 11 Jun 2024 at 22:31, Dan Horák <da...@da...> wrote: > isn't it possible to reduce the amount of debuginfo put into the object > files? If "-g" is used to compile gcc, can you try with "-g1" (or even > with "-g0")? gcc is now a C++ application and it adds huge amounts of > debuginfo data. And in theory passing "-Wl,--no-keep-memory > -Wl,--reduce-memory-overheads" to the linker flags might also help. > Those are good hints however I wasn't able to convince gcc's CFLAGS/CXXFLAGS to listen to me. When I left them as is, it was compiled with "-O2 -g ...". However when I ran "CFLAGS='-O2 -fomit-frame-pointer' CXXLAGS='-O2 -fomit-frame-pointer' ./configure" it was not only not taken into account but all that was left was "-g" during the compilation (i.e. even the "-O2" somewhere disappeared). Perhaps I did something wrong but the room/patience for experiments quickly ran out... On Tue, 11 Jun 2024 at 23:17, Thorsten Otto <ad...@th...> wrote: > BTW, how long did it run before it failed? > About 20 hours, on aranym-mmu. -- http://mikro.atari.org |