Menu

#15 better multiarch support

v1.0_(example)
closed
None
7
2012-09-24
2012-07-24
Reini Urban
No

attached patch improves configure for multiarch, at least on debian.
on debian /usr/lib32 is used for 64bit arch.
try also /usr/lib/${host_cpu}-${host_os}
harmonize amd64 to x86_64
try uname -m if uname -p fails

Discussion

  • Reini Urban

    Reini Urban - 2012-07-24
     
  • David Nichols

    David Nichols - 2012-08-18

    ok I found out how to get email notifications on changes to all trackers here so delays in responding to new items should not happen anymore.

    thanks
    david

     
  • David Nichols

    David Nichols - 2012-09-10

    I applied most of the patch to svn trunk, just not the part where you manually symlink the macros files, because that should already be taken care of in the macros.h file with conditional includes.

    please let me know if it works for you and I will close this issue.

    my first comment with this information seems to be strangely missing...

    thanks
    David

     
  • Anonymous

    Anonymous - 2012-09-24

    I got this error with svn r5043 on debian amd64:
    ./configure --enable-optimization

    checking for zlib libraries and header files... includes /usr/include libs /usr/lib/x86_64-linux-gnu (shared)
    checking for mpfr libraries and header files... configure: error: no mpfr library found

    debian only has /usr/lib/x86_64-linux-gnu/libmpfr.so.4, no libmpfr.so symlinked somewhere.

     
  • Reini Urban

    Reini Urban - 2012-09-24

    After installing the needed libmpfr-dev it worked fine (gcc/g++).
    Compilation with clang++ and clang also worked fine on debian x86_64.

     
  • David Nichols

    David Nichols - 2012-09-24

    ok great - BTW if you use --enable-optimization then you should use --disable-debug probably

    actually in that case --disable-debug is enough because then optimizations are enabled by default

    thanks for the confirmation
    David

    • status: pending --> closed
    • milestone: --> v1.0_(example)
     

    Last edit: David Nichols 2012-09-24

Anonymous
Anonymous

Add attachments
Cancel