In the following the makefile sets the CPU to a 286 when performing a 386 build with I16-GCC. As I16-GCC does not seem to support march=i386, wouldn't it be better to throw an error and only allow up to XCPU=286 with a matching march=i80286 for I16-GCC?
|
ifeq ($(XCPU),386) |
|
TARGETOPT=-march=i80286 |
|
ALLCFLAGS+=-DI386 |
|
endif |
In the following the makefile sets the CPU to a 286 when performing a 386 build with I16-GCC. As I16-GCC does not seem to support march=i386, wouldn't it be better to throw an error and only allow up to XCPU=286 with a matching march=i80286 for I16-GCC?
kernel/mkfiles/gcc.mak
Lines 17 to 20 in 032523a