asciilifeform: observe! in the makefile, that there is NO linkage with libc
asciilifeform: commented out in the end is 100% of what you need for a heaptron : the sbrk mechanism mentioned by phf
asciilifeform: ave1: illustrated is the use of stack frame to get cmdline args; and the use of raw SYSCALL to , e.g., get file size, open it, mmap over it, then dump its contents to stdout, then close, quit☟︎
asciilifeform: it is pointedly untrue that 'stuck with libc on c machine' . can implement all the sane basic functionality using SYSCALL ( the kernel api that's at the bottom of every libc ) and nowhere is it written that you have to be retarded and e.g. pointer-arithmetize or heapize while doing so.
asciilifeform: it is almost impossible to not seem to 'come out green' on paper when buying into usa real estate racket. asciilifeform for example pays ~2x for his hut than mortgage for same item costs, because of tax regime.
asciilifeform: trying to 'outsmart the casino' tends to end in tears, ben_vulpes
asciilifeform: 'The lights must never go out, / The music must always play, / Lest we should see where we are, / Lost in a haunted wood, / Children afraid of the night / Who have never been happy or good.' (tm)(r)
asciilifeform: mircea_popescu: that's the closest thing to an explanatory hypothesis i've ever heard for this
asciilifeform: phunphakt : 1) ~all gringostan office hellholes have gensets. but: 2) completely pointless, they are installed by usg decree and only connect to... the lift (horrors!11, someone could be stuck in a lift for an hour)
asciilifeform: hey at least it aint the afghani indoor cooking fires on nth floor flat described by naggum...
asciilifeform has seen condos with petrol gensets on balcony. but this admittedly is not quite mircea_popescu-grade
asciilifeform: ( does not even need to be a stationary, grand edifice, mine is the size of a typical fulltower comp and serves an entire room )
asciilifeform: bonus, if you have an isolator you then no longer leak bitz into the mains
asciilifeform: at any rate this was not a waste, nao anyone can verify that richard stevens did not lie in his 'sockets' backbreaker, and $item actually worx...
asciilifeform: i was convinced that mircea_popescu was picking at the tcp socket handoff !11 lol!!
asciilifeform: but in principle the answer seen in my gpr, is the pill. no libc in libs, it makes for duped linkage. (incidentally just as barfy in a c/cpp proggy as in gnat)
asciilifeform: phf: i also was unable to reproduce. but i have not yet switched to the exact 'candidate gnat' in question.
asciilifeform: ( even superceder, should really be a vpatch on diana_coman's artifact imho )
asciilifeform: we still dun have a gnat-for-pc that shits out a binary ~wholly~ without libc ( although ave1 iirc is working on one and is quite close ) . but hanbot's issue is that libc got linked ~into the lib~ which results in attempting to link with 2 copies of libc (1 goes into the main) .