Skip to content

GCC Makefile defines march=i80286 for 386 build? #211

@boeckmann

Description

@boeckmann

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

ifeq ($(XCPU),386)
TARGETOPT=-march=i80286
ALLCFLAGS+=-DI386
endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions