maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   gcc compiler on N9? (https://talk.maemo.org/showthread.php?t=82148)

noog 2012-03-28 23:16

Re: gcc compiler on N9?
 
Quote:

Originally Posted by rcolistete (Post 1185342)
It is here, in Harmattan SDK mpfr.

How to find it : enable Harmattan SDK, then "apt-cache show libmpfr1ldbl", the result has the line :
Filename: pool/harmattan/free/m/mpfr/libmpfr1ldbl_2.4.1-0maemo4+0m6_armel.deb
So, go to the Harmattan SDK repository site.

ok i found it (i modified my first response) but i can't execute make : not found



apt-get install binutils
dpkg -i --force-all libc6-dev_2.10-0maemo18.1\+0m6_armel.deb
dpkg -i libc-dev-bin_2.10-0maemo18.1\+0m6_armel.deb
dpkg -i linux-kernel-headers_2.6.32-20112910\+0m6_armel.deb
dpkg -i libmpfr1ldbl_2.4.1-0maemo4+0m6_armel.deb
dpkg -i fixincludes_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i cpp-4.4_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i gcc-4.4-base_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i gcc-4.4-locales_4.4.1-0maemo14\+0m6_all.deb
dpkg -i libgomp1_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i gcc-4.4_4.4.1-0maemo14+0m6_armel.deb
dpkg -i libstdc\+\+6_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i g++-4.4_4.4.1-0maemo14\+0m6_armel.deb
dpkg -i --force-all libstdc++6-4.4-dev_4.4.1-0maemo14\+0m6_armel.deb

rcolistete 2012-03-28 23:39

Re: gcc compiler on N9?
 
Quote:

Originally Posted by noog (Post 1185334)
i did that but i can't execute make ?
sh: make: not found

Ok, I have added libgmp3c2 & libmpfr1ldbl & make & binutils to post #18 instructions. make now works on my N9.

noog 2012-03-29 10:40

Re: gcc compiler on N9?
 
Quote:

Originally Posted by hawaii (Post 1162208)
It *might* be worth it to use a chroot to ensure dependencies don't get bungled up.

i try a compilation but i have this response
and the solution was : ln -s /usr/bin/gcc-4.4 /usr/bin/gcc

Code:

~/compile/lame-3.99 $ ./configure
checking build system type... armv7l-unknown-linux-gnu
checking host system type... armv7l-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/user/compile/lame-3.99':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details


noog 2012-03-29 12:44

Re: gcc compiler on N9?
 
Do you know, how can i make deb after the compilation ?

rcolistete 2012-03-30 18:30

Re: gcc compiler on N9?
 
Quote:

Originally Posted by noog (Post 1185567)
Do you know, how can i make deb after the compilation ?

I will try to make a Harmattan SDK image to mount & chroot @ N9 (using open mode kernel or Inception). So, in theory, everything (compile, create .deb, etc) would be possible.

rcolistete 2012-03-30 18:35

Re: gcc compiler on N9?
 
Quote:

Originally Posted by noog (Post 1185531)
i try a compilation but i have this response
and the solution was : ln -s /usr/bin/gcc-4.4 /usr/bin/gcc

I've added cpp, gcc and g++ (deb's with links to the real compilers) to post #18.

m4r0v3r 2012-04-14 16:38

Re: gcc compiler on N9?
 
am having an issue in that the i've incepted properly, make works fine, but ./configure doesn't and provides an permission denied have i missed something?

rcolistete 2012-04-14 16:47

Re: gcc compiler on N9?
 
Quote:

Originally Posted by m4r0v3r (Post 1192089)
am having an issue in that the i've incepted properly, make works fine, but ./configure doesn't and provides an permission denied have i missed something?

Please show the output error, what are you trying to compile, etc.

m4r0v3r 2012-04-15 12:34

Re: gcc compiler on N9?
 
seems i didn't own the file so it was causing an error

awbcmu 2012-04-22 20:15

Re: gcc compiler on N9?
 
I got gcc to work -- at least for small programs.

The /tmp on the device is too small though for anything of size. The normal way to address this to set the environment variable TMPDIR to point to a larger directory. But this doesn't work. Has anybody else seen this problem?

thanks

Alan


All times are GMT. The time now is 12:49.

vBulletin® Version 3.8.8