<html><body><div><br></div><div><br><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch"><span class="body-text-content"><span class="body-text-content">ping Pavel..<br><br>how do these look?<br></span></span></div></div></blockquote><span> </span><br><div><br>Pavel won't be there until 23/08.<br><br><br><br>Yes there is a
source file configue.in, but the problem is that, when we use
cross-compile, we can't run a sample program to Check which ANSI integer
type is 64 bit.<br><br>The source code is :<br><br>AC_CACHE_CHECK( "which ANSI integer type is 64 bit", ac_64bit_type,<br> AC_TRY_RUN([<br>int main(void) {<br> if (sizeof(long)==8)<br> return(0);<br> else<br> return(1);<br>}], ac_64bit_type="long", ac_64bit_type="<none>"))<br><br>It
surprises me that the output of same check for 32 bit do not throw an
error when CC. I've also searched on Internet but the only solution I
found is to modify the configure script directly. Apparently there
isn't any code to avoid the error in source code. That's why I modified the output
file.<br></div><div><br></div>On Aug 10, 2015, at 06:18 AM, Joel Sherrill <joel.sherrill@oarcorp.com> wrote:<br><blockquote type="cite"><div class="msg-quote"><div class="_stretch"><span class="body-text-content"><span class="body-text-content"><br>On 8/10/2015 7:48 AM, YANG QIAO wrote:<br></span></span><blockquote class="quoted-plain-text" type="cite">From: YANG Qiao <<a href="mailto:yangqiao0505@me.com" data-mce-href="mailto:yangqiao0505@me.com">yangqiao0505@me.com</a>></blockquote><blockquote class="quoted-plain-text" type="cite"><br></blockquote><blockquote class="quoted-plain-text" type="cite">---</blockquote><blockquote class="quoted-plain-text" type="cite">tools/4.11/t1lib/t1lib-5.1.2.diff | 15 +++++++++++++++</blockquote><blockquote class="quoted-plain-text" type="cite">1 file changed, 15 insertions(+)</blockquote><blockquote class="quoted-plain-text" type="cite">create mode 100644 tools/4.11/t1lib/t1lib-5.1.2.diff</blockquote><blockquote class="quoted-plain-text" type="cite"><br></blockquote><blockquote class="quoted-plain-text" type="cite">diff --git a/tools/4.11/t1lib/t1lib-5.1.2.diff b/tools/4.11/t1lib/t1lib-5.1.2.diff</blockquote><blockquote class="quoted-plain-text" type="cite">new file mode 100644</blockquote><blockquote class="quoted-plain-text" type="cite">index 0000000..5e27472</blockquote><blockquote class="quoted-plain-text" type="cite">--- /dev/null</blockquote><blockquote class="quoted-plain-text" type="cite">+++ b/tools/4.11/t1lib/t1lib-5.1.2.diff</blockquote><blockquote class="quoted-plain-text" type="cite">@@ -0,0 +1,15 @@</blockquote><blockquote class="quoted-plain-text" type="cite">+--- t1lib-5.1.2.orig/configure 2015-06-28 23:12:59.394297125 +0200</blockquote><blockquote class="quoted-plain-text" type="cite">++++ t1lib-5.1.2/configure 2015-06-28 23:15:44.066290147 +0200</blockquote><blockquote class="quoted-plain-text" type="cite">+@@ -24758,11 +24758,7 @@</blockquote><blockquote class="quoted-plain-text" type="cite">+ echo $ECHO_N "(cached) $ECHO_C" >&6</blockquote><blockquote class="quoted-plain-text" type="cite">+ else</blockquote><blockquote class="quoted-plain-text" type="cite">+ if test "$cross_compiling" = yes; then</blockquote><blockquote class="quoted-plain-text" type="cite">+- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling</blockquote><blockquote class="quoted-plain-text" type="cite">+-See \`config.log' for more details." >&5</blockquote><blockquote class="quoted-plain-text" type="cite">+-echo "$as_me: error: cannot run test program while cross compiling</blockquote><blockquote class="quoted-plain-text" type="cite">+-See \`config.log' for more details." >&2;}</blockquote><blockquote class="quoted-plain-text" type="cite">+- { (exit 1); exit 1; }; }</blockquote><blockquote class="quoted-plain-text" type="cite">++ ac_64bit_type="<none>"</blockquote><blockquote class="quoted-plain-text" type="cite">+ else</blockquote><blockquote class="quoted-plain-text" type="cite">+ cat >conftest.$ac_ext <<_ACEOF</blockquote><blockquote class="quoted-plain-text" type="cite">+ /* confdefs.h. */</blockquote><blockquote class="quoted-plain-text" type="cite"><br></blockquote><span class="body-text-content"><br>-- <br>Joel Sherrill, Ph.D. Director of Research & Development<br><a href="mailto:joel.sherrill@OARcorp.com" data-mce-href="mailto:joel.sherrill@OARcorp.com">joel.sherrill@OARcorp.com</a> On-Line Applications Research<br>Ask me about RTEMS: a free RTOS Huntsville AL 35805<br>Support Available (256) 722-9985<br></span></div></div></blockquote></div></div></body></html>