Generic Autotools Advice:

 1)  modern autotools (last 10 years or more) support setting variables
like (CXX) on the command line, after any arguments.  This is superior to
using the environment because the settings get stored in the logs, which
makes for easier debugging.  Something like:  ../goodie-source/configure
—prefix=/opt/goodies CC=“g++ -m64” CFLAGS=“-Wall”

 2) Build outside the source tree.  Unless the build is broken this will
work and keep you from mixing build products with sources.


If you want to do that, and pastebin config.log & config.status I’d be
happy to look.

Another thing you can try is to define the compilers as:

CXX=“g++ -march=pentium4 -mtune=i686”  (but of course with your ARMish
values instead)

This will keep things consistent if the CXXFLAGS aren’t added in all the
places where they’re needed.

On 8/2/16, 9:42 AM, "Jeffrey Walton" <noloa...@gmail.com> wrote:

>On Tue, Aug 2, 2016 at 10:28 AM, Rob Boehne <r...@datalogics.com> wrote:
>> If so, read config.guess - it will tell you how to contribute your
>> architecture to that project.
>> Also, you should be able to work around it by specifying the
>>architecture
>> instead of letting it guess.
>> Look up the ‹build and ‹target flags to configure.
>
>Thanks. Here's what I see:
>
>$ ./configure --help
>`configure' configures Valgrind 3.12.0.SVN to adapt to many kinds of
>systems.
>...
>
>Some influential environment variables:
>  CC          C compiler command
>  CXX         C++ compiler command
>  CFLAGS      C compiler flags
>  CXXFLAGS    C++ compiler flags
>...
>
>Use these variables to override the choices made by `configure' or to help
>it to find libraries and programs with nonstandard names/locations.
>...
>
>I also tried --target=armv8-a with no joy (even though its a native
>compile).
>
>The flags seem to be ignored by Autotools.
>
>Jeff

------------------------------------------------------------------------------
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to