Subject: how to determine if the os is elf or a.out while building pkg
To: None <tech-pkg@netbsd.org>
From: John Refling <johnr@imageworks.com>
List: tech-pkg
Date: 02/28/2001 18:59:27
I have software which I'm packaging which wants to read its own symbol
tables and stuff, so there is a.out code and elf code to do this. Is
there a pkg variable which I can test to determine this?
Also, where can I find out which ports and which versions thereof use
elf or a.out format?
Finally, how would we distribute binaries for such a beast? An a.out
version and elf version for each architecture that ever had an a.out
or elf format? Sounds problematic.
Is sparc 1.4.3 a.out and 1.5 elf?
thanks.