You are not logged in.

#1 2015-06-11 15:35:33

kogone
Member
Registered: 2015-06-10
Posts: 5

[SOLVED] building GCC and missing libgmp dependencies

hello!

i'm having trouble building GCC needed to compile sabermod-toolchains for building android.  link: SaberMod.  it's an awesome project and it would be great to make it build on arch.

the persistent error message is about the absensce of libgmp.la.  it is not present in the core  gmp 6.0.0-2 package, nor in any aur packages relating to gmp or libgmp.

i did locate the libgmp.la files in the libgmp-dev package from the ubuntu repo but have had no success installing it.

any help would be appreciated.

i'm new to arch and am glad to have joined the community!

Last edited by kogone (2015-06-18 18:15:54)

Offline

#2 2015-06-11 15:50:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] building GCC and missing libgmp dependencies

rebuild the gmp package with the 'libtool' option in the PKGBUILD.

Last edited by Scimmia (2015-06-11 15:51:35)

Offline

#3 2015-06-12 03:11:01

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [SOLVED] building GCC and missing libgmp dependencies

why are you building gcc?   Installing ours is enough.

Offline

#4 2015-06-12 18:46:44

kogone
Member
Registered: 2015-06-10
Posts: 5

Re: [SOLVED] building GCC and missing libgmp dependencies

Allan wrote:

why are you building gcc?   Installing ours is enough.

the build script downloads the latest corresponding gcc version to build the arm toolchain.  here's an example build script:  arm-linux-androideabi-4.9

Scimmia wrote:

rebuild the gmp package with the 'libtool' option in the PKGBUILD.

so i downloaded the official gmp package and the source files .

i added to PKGBUILD:

..
license=('LGPL3' 'GPL')
options=('libtool') 
install=gmp.install
..

worked!

Last edited by kogone (2015-06-17 03:45:31)

Offline

Board footer

Powered by FluxBB