This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] FT32: reduce newlib code size


On 22 Sep 2015 00:54, James Bowman wrote:
> --- a/newlib/configure.host
> +++ b/newlib/configure.host
>
>    ft32*)
>          machine_dir=ft32
> -        target_optspace=yes
> -        # newlib_io_float=no
> -        default_newlib_io_long_long="yes"
> -        newlib_cflags="-DPREFER_SIZE_OVER_SPEED -Os"
> -        CFLAGS="-Os"
> -        CCASFLAGS="-Os"

thanks ... those vars really shouldn't have been there in the first place

> +        default_newlib_io_long_long="no"

just delete this

> +        newlib_cflags="-DPREFER_SIZE_OVER_SPEED -fomit-frame-pointer"

this needs to append, not set, and it should not include -fomit-frame-pointer
-mike

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]