> -----Original Message-----
> From: Mats Wichmann [mailto:m...@wichmann.us]
> Sent: Monday, September 25, 2017 2:57 PM
> To: VanCutsem, Geoffroy <geoffroy.vancut...@intel.com>; iotivity-
> d...@lists.iotivity.org
> Subject: Re: [dev] Building IoTivity 1.3.0 for Linux 32-bit (esp. for arch 
> 'i586' or
> 'i686')
> 
> On 09/25/2017 06:35 AM, VanCutsem, Geoffroy wrote:
> > Hi Mats,
> 
> >> the question is whether it would be better to remap before
> >> TARGET_ARCH is set or after.
> >
> > In my opinion, we should not overwrite TARGET_ARCH if it's set by the
> user, so I'd stick with remapping before. This is about trying to be as good 
> as
> possible at guessing the architecture it should be built for. I'm kind of
> assuming that if one sets TARGET_ARCH to a specific value, it means they
> really want it set to something specific and the build system shouldn't
> overwrite it (or at least not silently).
> 
> From the glance I had, there seems to be a moderately deep belief that on
> Linux, the 32-bit arch had better be x86, but that's not the case for some of
> the other target OS choices.  If someone manually sets TARGET_ARCH to, say
> i586, I don't think the build will work at the moment.

Yes, that's why I re-introduced the mapping :-)

This is a good question though, perhaps the right approach would be to 
understand why those archictures fail to build and fix that instead?


_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to