You are right, I do have arm cross-compiler installed.
But I though that 'b2' executable is a part of the package that I downloaded 
from BOOST site and this executable is built for x86 machine.
Running 'bootstrap.sh' copy this file to boost_root folder, am I wrong?

Thanks,
________________________________
From: Sergei Nikulov <sergey.niku...@gmail.com>
Sent: Tuesday, May 19, 2020 3:55 PM
To: boost-users@lists.boost.org <boost-users@lists.boost.org>
Cc: Leonid Meyerovich <lmeyerov...@i-a-i.com>
Subject: Re: [Boost-users] boost build from source code



вт, 19 мая 2020 г., 22:31 Leonid Meyerovich via Boost-users 
<boost-users@lists.boost.org<mailto:boost-users@lists.boost.org>>:
Yes, I run 'file' command', it prints a lot of warning like

/home/lm/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/share/misc/magic.mgc, 1: 
Warning: offset ` �
                                                                                
                ' invalid
/home/lm/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/share/misc/magic.mgc, 1: 
Warning: type ` �
                                                                                
              ' invalid
/home/lm/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/share/misc/magic.mgc, 6: 
Warning: offset `Firmware v' invalid
/home/lm/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/share/misc/magic.mgc, 6: 
Warning: type `Firmware v' invalid
/home/lm/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/share/misc/magic.mgc, 7: 
Warning: offset ` ' invalid
/home/lm/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/share/misc/magic.mgc, 7: 
Warning: type ` ' invalid
/home/lm/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/share/misc/magic.mgc, 8: 
Warning: offset ` ' invalid
/home/lm/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/share/misc/magic.mgc, 8: 
Warning: type ` ' invalid
/home/lm/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/share/misc/magic.mgc, 13: 
Warning: offset ` ' invalid
/home/lm/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/share/misc/magic.mgc, 13: 
Warning: type ` ' invalid
/home/lm/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/share/misc/magic.mgc, 15: 
Warning: offset `::[ frontEndVersion = ' invalid
/home/lm/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/share/misc/magic.mgc, 15: 
Warning: type `::[ frontEndVersion = ' invalid


but I don't understand why? I have downloaded Linux version of BOOST, it should 
work, shouldn't it?


Looks like you build b2 with oe cross-compiler toolchain.
Check your path environment variable.
You're using wrong gcc/g++.




________________________________
This message and all attachments are PRIVATE, and contain information that is 
PROPRIETARY to Intelligent Automation, Inc. You are not authorized to transmit 
or otherwise disclose this message or any attachments to any third party 
whatsoever without the express written consent of Intelligent Automation, Inc. 
If you received this message in error or you are not willing to view this 
message or any attachments on a confidential basis, please immediately delete 
this email and any attachments and notify Intelligent Automation, Inc.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users

Reply via email to