Re: BSD archive file formats

2012-08-06 Thread Dimitry Andric
On 2012-08-06 14:16, Erik Cederstrand wrote: ... > To do that, it would be helpful if our LLVM is updated to something later > than r160433, since our version in CURRENT needs patching for MCLinker to > work. I've asked dim@, but no reply yet. As far I know, we try to follow > official LLVM rele

Re: BSD archive file formats

2012-08-06 Thread Erik Cederstrand
Den 03/08/2012 kl. 17.55 skrev Warner Losh: > Hi Pete, > > the best way to find out if support for archives are needed is to release it > for testing. People find the craziest things when testing in a wider arena. To do that, it would be helpful if our LLVM is updated to something later than

Re: BSD archive file formats

2012-08-03 Thread Warner Losh
Hi Pete, the best way to find out if support for archives are needed is to release it for testing. People find the craziest things when testing in a wider arena. Alternatively, see if can survive /usr/ports being thrown at it :) even clang can't do that yet (although it isn't always clang's f

Re: BSD archive file formats

2012-08-03 Thread pete
Sure! Making MCLinker be a solid toolchain/system linker is an important goal in the project. Thanks, Pete On Fri, Aug 3, 2012 at 9:19 PM, David Chisnall wrote: > On 3 Aug 2012, at 13:39, pete wrote: > > > And I also checked that MCLinker is able to link itself with archive > libraries on i38

Re: BSD archive file formats

2012-08-03 Thread David Chisnall
On 3 Aug 2012, at 13:39, pete wrote: > And I also checked that MCLinker is able to link itself with archive > libraries on i386 FreeBSD9. This is the bit we care about. The system linker must, at a minimum, be able to link the base system. There are a great many other features that we want,

Re: BSD archive file formats

2012-08-03 Thread pete
Hi David, Thanks for your information! Then I'll probably work on other features development first. And I also checked that MCLinker is able to link itself with archive libraries on i386 FreeBSD9. Thanks, Pete On Fri, Aug 3, 2012 at 7:43 PM, David Chisnall wrote: > Hi Pete. > > The end of the m

Re: BSD archive file formats

2012-08-03 Thread David Chisnall
Hi Pete. The end of the man page says: > This manual page documents the ar(1) archive formats used by the 4.4BSD > and UNIX SVR4 operating system releases. I think it's probably safe to assume that the 4.4BSD format was dropped at some indeterminate point in the past, probably when

BSD archive file formats

2012-08-03 Thread pete
Hi folks, I'm working on archive file format support in MCLinker project. GNU variant archive format is supported in MCLinker now. And from FreeBSD man pages, I can find there are some differences between BSD and GNU variants. However, when I try to check BSD variant on freebsd9 (i386), I can onl