sandyou / stressapptest

Automatically exported from code.google.com/p/stressapptest
Apache License 2.0
0 stars 0 forks source link

ARM cross compilation #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Execute following command
1. aclocal
2. automake --gnu
3. autoconf
4. ./configure./configure --build=x86 --target=armv7a-none-linux-gnueabi 
--host=arm-none-linux-gnueabi

What is the expected output? What do you see instead?
Expected: configuration to be completed successfully.
Instead: checking for pthread_barrier... configure: error: in 
`/stressapptest-1.0.6_autoconf':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.

What version of the product are you using? On what operating system?
stressapptest-1.0.6

Please provide any additional information below.
Instead of AC_TRY_RUN perform AC_COMPILE_CHECK to check pthread_barrier.
During cross compilation, perform compilation check instead of run check for 
pthread_barrier.

Original issue reported on code.google.com by stephenp...@gmail.com on 6 Mar 2013 at 12:07

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by pud...@gmail.com on 6 Mar 2013 at 8:49