On August 10, 2015 4:31:17 PM CDT, QIAO YANG <yangqiao0...@me.com> wrote: > > > >ping Pavel.. > >how do these look? > > > > >Pavel won't be there until 23/08. >
Ok. Then I will deal with these. > >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. > >The source code is : > >AC_CACHE_CHECK( "which ANSI integer type is 64 bit", ac_64bit_type, > AC_TRY_RUN([ >int main(void) { > if (sizeof(long)==8) > return(0); > else > return(1); >}], ac_64bit_type="long", ac_64bit_type="<none>")) > >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. Modify the source to comment out what is there and include what you want as outfit in configure. Along with a comment in configure.in. You can have handwritten code in the .in file and it passes through. > >On Aug 10, 2015, at 06:18 AM, Joel Sherrill <joel.sherr...@oarcorp.com> >wrote: > > >On 8/10/2015 7:48 AM, YANG QIAO wrote: > >From: YANG Qiao <yangqiao0...@me.com> > > >--- > >tools/4.11/t1lib/t1lib-5.1.2.diff | 15 +++++++++++++++ > >1 file changed, 15 insertions(+) > >create mode 100644 tools/4.11/t1lib/t1lib-5.1.2.diff > > >diff --git a/tools/4.11/t1lib/t1lib-5.1.2.diff >b/tools/4.11/t1lib/t1lib-5.1.2.diff > >new file mode 100644 > >index 0000000..5e27472 > >--- /dev/null > >+++ b/tools/4.11/t1lib/t1lib-5.1.2.diff > >@@ -0,0 +1,15 @@ > >+--- t1lib-5.1.2.orig/configure 2015-06-28 23:12:59.394297125 +0200 > >++++ t1lib-5.1.2/configure 2015-06-28 23:15:44.066290147 +0200 > >+@@ -24758,11 +24758,7 @@ > >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > >+ else > >+ if test "$cross_compiling" = yes; then > >+- { { echo "$as_me:$LINENO: error: cannot run test program while cross >compiling > >+-See \`config.log' for more details." >&5 > >+-echo "$as_me: error: cannot run test program while cross compiling > >+-See \`config.log' for more details." >&2;} > >+- { (exit 1); exit 1; }; } > >++ ac_64bit_type="<none>" > >+ else > >+ cat >conftest.$ac_ext <<_ACEOF > >+ /* confdefs.h. */ > > > >-- >Joel Sherrill, Ph.D. Director of Research & Development >joel.sherr...@oarcorp.com On-Line Applications Research >Ask me about RTEMS: a free RTOS Huntsville AL 35805 >Support Available (256) 722-9985 --joel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel