 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCHv4 05/43] build: Add a makefile function to check GCC version
 Maybe you want to call it also `gcc_version_ge` On 11.07.2018 10:17, Wei Chen wrote: Hi Simon,-----Original Message----- From: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> Sent: 2018年7月10日 21:52 To: Wei Chen <Wei.Chen@xxxxxxx>; minios-devel@xxxxxxxxxxxxxxxxxxxx Cc: Kaly Xin <Kaly.Xin@xxxxxxx>; nd <nd@xxxxxxx> Subject: Re: [Minios-devel] [UNIKRAFT PATCHv4 05/43] build: Add a makefile function to check GCC version I just noticed that this check is not working if you compare 4.9 (older) with 4.10 (newer) because 4.10 is considered as the floating point number 4.1 by `bc`. As fix we probably should do two individual checks: (1) major and then (2) minor. Btw, do you think you could provide a version that does not need `bc`? I rather prefer something that requires the least possible tools installed on the system. My concern is that we can't assume `bc` is installed as a standard tool. But maybe I am wrong with this concern. What do you think?Yes, it's possible. I have done a new method to use BASH only, No bc, expr, let or ETC required. I will send it with next version.On 06.07.2018 11:03, Wei Chen wrote: _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel 
 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |