Re: [Tack-devel] ACK compiles on NetBSD-macppc, sort of...
Moved to https://github.com/davidgiven/ack
Brought to you by:
dtrg
From: Gregory T. (t. K. <gt...@di...> - 2006-07-18 15:42:28
|
At 9:58 AM -0400 7/18/06, David Given wrote: >> Can llgen be extended to dynamic linking? Or is it already? Or am I >> identifying the wrong executable as the linker? I'm also looking at >> replacing ld(1) (well, the whole toolchain, to be honest). > >Well, llgen doesn't know anything about dynamic linking because, er, >it's not the linker --- it's a parser generator like yacc. The tool you >want is led (Link Editor). Look at util/led/led.6 for more information. Yes, I'm still getting up to speed on the particular tools, while I wait for= builds to complete. I'll try to ask more educated questions :-) >led only produces ack.out files; it took me a while to figure this out >--- if you want any other format, including a straight memory dump, you >need a converter. mach/arm/cv/cv.c is a ack.out to RiscOS converter --- >given that RiscOS binaries are straight memory dumps, you might be able >to use this if you want to generate simple images... I will look more closely at the arm compile. If there is already some logic= in place to handle RISC, getting a working back-end for PowerPC will be= that much easier. >Incidentally, your comments about magic characters in awk files ring a >bell, and I'm pretty sure I've fixed that; but it may not be in CVS yet. >(SF's CVS repository seems to have ground to a halt at the moment.) Ok. I think the make depend for util/int is failing on rm_deps: make: don't know how to make ./trap_msg. Stop make: stopped in ./obj/util/int > make depend =2E/util/int/M.trap_msg ./etc/traps =2E/util/int/M.warn_msg ./doc/int/appA rm_deps Makefile >Makefile.new rm_deps: not found *** Error code 127 Stop. make: stopped in ./obj/util/int > make cc -c -O -D_EM_WSIZE=3D4 -D_EM_PSIZE=3D4 -D__XXX__ -I/home/lapd/ack/bin/h -I= /home/lapd/ack/bin/config -I. /home/lapd/ack/ack-5.6/util/int/trap.c cc -c -O -D_EM_WSIZE=3D4 -D_EM_PSIZE=3D4 -D__XXX__ -I/home/lapd/ack/bin/h -I= /home/lapd/ack/bin/config -I. /home/lapd/ack/ack-5.6/util/int/warn.c cc -o int alloc.o core.o data.o do_array.o do_branch.o do_comp.o do_conv.o = do_fpar.o do_incdec.o do_intar.o do_load.o do_logic.o do_misc.o do_proc.o= do_ptrar.o do_sets.o do_store.o do_unsar.o dump.o disassemble.o fra.o= global.o init.o io.o log.o m_ioctl.o m_sigtrp.o main.o moncalls.o= monstruct.o proctab.o read.o rsb.o segment.o stack.o switch.o tally.o= text.o trap.o warn.o cp /home/lapd/ack/ack-5.6/util/int/test/*.[pc] test (cd test; make awa.em22) /home/lapd/ack/bin/bin/em22 awa.p -o awa.em22 cp /home/lapd/ack/ack-5.6/util/int/test/*.[pc] test (cd test; make awa.em24) /home/lapd/ack/bin/bin/em24 awa.p -o awa.em24 cp /home/lapd/ack/ack-5.6/util/int/test/*.[pc] test (cd test; make awa.em44) /home/lapd/ack/bin/bin/em44 awa.p -o awa.em44 INSTALL runs make clean which does remove the generated trap_msg and= warn_msg files. I'll see if I can figure out what is not working with rm_d= eps. tim Gregory T. (tim) Kelly Owner Dialectronics.com P.O. Box 606 Newberry, SC 29108 "Anything war can do, peace can do better." -- Bishop Desmond Tutu |