Subject: How to build ELF on i386?
To: None <current-users@netbsd.org>
From: Paulo Alexandre Pinto Pires <pappires@magma.del.ufrj.br>
List: current-users
Date: 03/12/1999 09:15:30
Hello to all.

What is necessary for building the world as ELF?  I'm trying to
do this by setting OBJECT_FMT to ELF (and DESTDIR to an alternate
location in /usr/elf), but I did not figure out how to get rid of
the errors below:


cc -O2 -fPIC -Werror   -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=32 -I/usr/src/lib/csu/i386_elf/../../../libexec/ld.elf_so -nostdinc -idirafter /usr/elf/usr/include -c /usr/src/lib/csu/i386_elf/crtbegin.c -o crtbegin.o
/usr/src/lib/csu/i386_elf/crtbegin.c:62: section attributes are not supported for this target
/usr/src/lib/csu/i386_elf/crtbegin.c:64: section attributes are not supported for this target
/usr/src/lib/csu/i386_elf/crtbegin.c:94: section attributes are not supported for this target
/usr/src/lib/csu/i386_elf/crtbegin.c:112: section attributes are not supported for this target
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

---
	Pappires