Path: news.daimi.aau.dk!avs From: avs@daimi.aau.dk (Alexandre Valente Sousa) Newsgroups: comp.lang.beta Subject: Re: How to immediately compile/load patterns Date: 6 Mar 1996 21:30:45 GMT Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 38 Message-ID: <4hl065$fbj@gjallar.daimi.aau.dk> References: <4hf6pjINNbul@hood.sps.mot.com> NNTP-Posting-Host: quercus.daimi.aau.dk Hi Matthew > [...] > My first guess would be to read the COFF information out of the .o file > produced from the compile. But since I plan on adding the pattern to a > persistent store, maybe there is an easier way via a temporary PS. has > anyone done this before? Thanx... I'm implementing a dynamic linker for Beta. As it is now the following is true: a) it is not Beta specific, in fact it is a general purpose dynamic linker on the style of dld (dld can only support a.out object files). There will be no args type checking, it will be only checked that the method is executable (has no undefined symbols). Dynamic linked code can also be unlinked. Maybe later args type checking will be supported b) I don't know when it will be operational, soon I hope c) it is based on GNU's BFD, this means that once it is finished it should be able to cope with a.out/elf/coff d) it is only being developped for Linux and Sun Sparc Solaris, but minimal extensions should be needed for making it work in platforms supported by GNU BFD (which include the Mac with MPW and most Unix variants) e) if your platform is Win95/NT then a win32 version of GNU binutils has just been released by Cygnus (including BFD) and is under beta testing (nothing to do with the Beta language ;). According to the mailing list it is still very unstable f) I intend to patch BFD so that it will be also possible to read .o files from buffers instead of from files. This means the .o files could be stored in a persistent store g) once it is finished it will be available as src code plus scripts to patch GNU's BFD src code distribution mail me if you need to know more Alexandre