<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:532622455;
        mso-list-type:hybrid;
        mso-list-template-ids:-1691293746 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:1509713977;
        mso-list-type:hybrid;
        mso-list-template-ids:1121594552 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">The cross-compilation will be performed on a server running:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>    Linux Splinter 2.6.32-5-686 #1 SMP Tue May 13 16:33:32 UTC 2014 i686 GNU/Linux<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The 5 targets I need to make for are:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo1"><b>QNX 6.5.0, PPCBE-SPE<o:p></o:p></b></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo1"><b>QNX 6.5.0, PPCBE<o:p></o:p></b></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo1"><b>QNX 6.5.0, X86<o:p></o:p></b></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo1"><b>QNX 6.3.2, PPCBE<o:p></o:p></b></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo1"><b>QNX 6.3.2, X86<o:p></o:p></b></li></ol>
<p class="MsoNormal" style="margin-left:.25in"><o:p> </o:p></p>
<p class="MsoNormal">The compiler (script) used to do the cross compile is <b><span style="color:#00B0F0">qcc99</span></b>:<o:p></o:p></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b>    #! /bin/sh<o:p></o:p></b></p>
<p class="MsoNormal"><b>    qcc -Wc,-std=gnu99 "$@"<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The configuration settings used for SSH for the same 5 targets are:<o:p></o:p></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2"><b>QNX 6.5.0, PPCBE-SPE:<o:p></o:p></b></li></ol>
<p class="MsoListParagraph"><b>./configure --with-privsep-user=sshd --host=powerpc-unknown-nto-qnx6.5.0 --build=x86 --prefix=   CC='<span style="color:#00B0F0">qcc99</span> -<span style="color:#C55A11">V4.4.2</span>,gcc_ntoppcbespe' CPPFLAGS="-I$HOME/qnx650-ppcbespe/include
 -D_XOPEN_SOURCE=600 -D_QNX_SOURCE" CFLAGS='-g -O2 -me500v2' LDFLAGS="-L$HOME/qnx650-ppcbespe/lib -static"<o:p></o:p></b></p>
<ol style="margin-top:0in" start="2" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2"><b>QNX 6.5.0, PPCBE<o:p></o:p></b></li></ol>
<p class="MsoListParagraph"><b>./configure --with-privsep-user=sshd --host=powerpc-unknown-nto-qnx6.5.0 --build=x86 --prefix=   CC='<span style="color:#00B0F0">qcc99</span> -<span style="color:#C55A11">V4.4.2,</span>gcc_ntoppcbe' CPPFLAGS="-I$HOME/qnx650-ppcbe/include
 -D_XOPEN_SOURCE=600 -D_QNX_SOURCE" CFLAGS='-g -O2' LDFLAGS="-L$HOME/qnx650-ppcbe/lib -static"<o:p></o:p></b></p>
<ol style="margin-top:0in" start="3" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2"><b>QNX 6.5.0, X86:<o:p></o:p></b></li></ol>
<p class="MsoListParagraph"><b>./configure --with-privsep-user=sshd --host=i486-pc-nto-qnx6.5.0 --build=x86 --prefix=   CC='<span style="color:#00B0F0">qcc99</span>
<span style="color:#C55A11">-V4.4.2</span>,gcc_ntox86' CPPFLAGS="-I$HOME/qnx650-x86/include -D_XOPEN_SOURCE=600 -D_QNX_SOURCE" CFLAGS='-g -O2' LDFLAGS="-L$HOME/qnx650-x86/lib -static"<o:p></o:p></b></p>
<ol style="margin-top:0in" start="4" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2"><b>QNX 6.3.2, PPCBE:<o:p></o:p></b></li></ol>
<p class="MsoListParagraph"><b>./configure --with-privsep-user=sshd --host=powerpc-unknown-nto-qnx6.3.0 --build=x86 --prefix=   CC='<span style="color:#00B0F0">qcc99</span>
<span style="color:#FFC000">-V3.3.5,</span>gcc_ntoppcbe' CPPFLAGS="-I$HOME/qnx632-ppcbe/include -D_XOPEN_SOURCE=600 -D_QNX_SOURCE" CFLAGS='-g -O2' LDFLAGS="-L$HOME/qnx632-ppcbe/lib -static"<o:p></o:p></b></p>
<ol style="margin-top:0in" start="5" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2"><b>QNX 6.3.2, X86:<o:p></o:p></b></li></ol>
<p class="MsoListParagraph"><b>./configure --with-privsep-user=sshd --host=i386-pc-nto-qnx6.3.0 --build=x86 --prefix=   CC='<span style="color:#00B0F0">qcc99</span>
<span style="color:#FFC000">-V3.3.5</span><span style="color:#385723">,</span>gcc_ntox86' CPPFLAGS="-I$HOME/qnx632-x86/include -D_XOPEN_SOURCE=600 -D_QNX_SOURCE" CFLAGS='-g -O2' LDFLAGS="-L$HOME/qnx632-x86/lib -static"<o:p></o:p></b></p>
<p class="MsoListParagraph"><o:p> </o:p></p>
<p class="MsoNormal">Note that QNX 6.5.0 uses the GCC Version <b><span style="color:#00B0F0">4.4.2</span></b><span style="color:#00B0F0">
</span>compiler and QNX 6.3.2 uses the GCC Version <b><span style="color:#FFC000">3.3.5</span></b><span style="color:#FFC000">
</span>compiler.  In both cases, it is invoked with QCC, not GCC.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I downloaded and tried to make SSH version 8.8.  After configuring it and running make, I eventually get the following error:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">qcc99 -V4.4.2,gcc_ntoppcbespe -g -O2 -me500v2 -Wall -Wextra -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -Wno-unused-parameter -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-all  
 -fPIC -I. -I.. -I. -I./.. -I/home/williams/ssh/qnx650-ppcbespe/include -D_XOPEN_SOURCE=600 -D_QNX_SOURCE -DHAVE_CONFIG_H -c openssl-compat.c<o:p></o:p></p>
<p class="MsoNormal">In file included from openssl-compat.c:32:<o:p></o:p></p>
<p class="MsoNormal"><b>openssl-compat.h:37:3: error: #error OpenSSL 1.0.1 or greater is required<o:p></o:p></b></p>
<p class="MsoNormal">cc: /opt/qnx650/host/linux/x86/usr/lib/gcc/powerpc-unknown-nto-qnx6.5.0/4.4.2/cc1 error 1<o:p></o:p></p>
<p class="MsoNormal">make[1]: *** [openssl-compat.o] Error 1<o:p></o:p></p>
<p class="MsoNormal">make[1]: Leaving directory `/home/williams/ssh/qnx650-ppcbespe/openbsd-compat'<o:p></o:p></p>
<p class="MsoNormal">make: *** [openbsd-compat/libopenbsd-compat.a] Error 2<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In response, I downloaded OPENSSL Version 1.1.1l.  I have no idea how to configure this to make it cross-compile for the 5 targets I need the libraries for versus compiling for the server I am compiling on.  If someone can help me configure
 this for one of the targets, I can manage to do it for the other 4 four.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<font size="1"><i>This email and any attachments are only for use by the intended recipient(s) and may contain legally privileged, confidential, proprietary or otherwise private information. Any unauthorized use, reproduction, dissemination, distribution or
 other disclosure of the contents of this e-mail or its attachments is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original. Neither this information block, the typed name of the sender,
 nor anything else in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.
</i></font>
</body>
</html>