Skip to contentSkip to conversation

U-Boot 2017-01 "-ansi" issue with cygwin 2.6.1

U-Boot Raph31 2 participants 2 messages Jan 23, 2017

lore
Share & tools
lore

Raph31

author
#0 lore raw

Hello all,

I'm trying to compile U-boot 2017.01 (Release) Under Cygwin 2.6.1 for a BeagleBoneBlack target.

I was facing the issue with a lot of error about the "inline" keyword. This keyword is not supported with the "-ansi" option. After removing this option in the makefile, the compile is successful.

It seems that this is a known error since more than 3-4 years. The question is : Why the "-ansi" option is still part of the Makefile for a Cygwin environment?

Thanks for your answer. If I am on the wrong way, let me know, I will really appreciate.

Rapha?l.

--
View this message in context: http://u-boot.10912.n7.nabble.com/U-Boot-2017-01-ansi-issue-with-cygwin-2-6-1-tp279500.html
Sent from the U-Boot mailing list archive at Nabble.com.

#1 lore raw
Quoted 9 lines · On Mon, Jan 23, 2017 at 01:15:56AM -0700, Raph31 wrote:

Hello all,

I'm trying to compile U-boot 2017.01 (Release) Under Cygwin 2.6.1 for a BeagleBoneBlack target.

I was facing the issue with a lot of error about the "inline" keyword. This keyword is not supported with the "-ansi" option. After removing this option in the makefile, the compile is successful.

Quoted 6 lines

It seems that this is a known error since more than 3-4 years. The question is : Why the "-ansi" option is still part of the Makefile for a Cygwin environment?

Thanks for your answer. If I am on the wrong way, let me know, I will really appreciate.

I think because, generally, no one has sent a proper patch to remove it. Please see http://www.denx.de/wiki/U-Boot/Patches thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170123/ee92697b/attachment.sig>