Hello,
The standard compiler has changed between 3.x and -Current (gcc2.7.2.1
=> egcs) - so don't even think of compiling code from -Current with
Stable tools.
You may want to try some "make upgrade" to upgrade all of your OS from
3.X to 4.0 (then you will use the -Current sources for your kernel).
I would rather suggest installing a minimal -Current snapshot and then
using your -Current source tree.
TfH
"George V. Neville-Neil" wrote:
>
> Hi Folks,
>
> I've been getting the src-sys stuff via CVS and now want to build it. Can
> this
> be done with just the 3.1 tools (right off the CD) or do I need the compilers
> etc. as well?
> I get the following when doing a make in src/sys:
>
> ===> boot/i386/boot2
> cc -elf -I/usr/local/FreeBSD-current/src/sys/boot/i386/boot2/../btx/lib -I.
> -fno-builtin -Os -malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd
> -Wall -Waggregate-return -Wbad-function-cast -Wcast-align
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
> -Wshadow -Wstrict-prototypes -Wwrite-strings -c boot2.c
> cc1: Invalid option `-Os'
>
> Thanks,
> George
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message