EGCS/FreeBSD shap@eros.cis.upenn.edu
Sat, 26 Dec 1998 19:34:44 -0500

> 3. I'm getting this error, even with egcs:
>
> gmake[4]: Entering directory
> `/usr/home/ben/work/eros/src/base/sys/arch/i486/boot'
> g++ -fdefault-inline -fno-implicit-templates -O2 -nostdinc -I../include
> -I../../.. -DEROS -D__KERNEL__ -DDYNAMIC_CRC_TABLE -DSUPPORT_COMPRESSED
> -Wall -Winline -Werror -c sysinfo.cxx
> sysinfo.cxx:25: section attributes are not supported for this target
> gmake[4]: *** [sysinfo.o] Error 1

Note, please, that Ben is building from a FreeBSD machine. His compiler is correctly complaining that his assembler doesn't do ELF, and consequently doesn't handle section attributes.

> Sigh. Am I going to have to build a Linux system?

Perhaps not. I've now got FreeBSD installed locally (some dude in Britain seems to like it). Let's see if I can build a cross-environment quickly. Failing that, installing Linux on a spare partition may prove to be the best answer.

The main hassle with the cross environment should be makefile changes, not the cross tools per se, so be prepared for a passle of changes via CVS... I'll let y'all know what happens.

shap