maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   gcc-5.1.0 for Sailfish (https://talk.maemo.org/showthread.php?t=95729)

AapoRantalainen 2015-07-15 06:17

gcc-5.1.0 for Sailfish
 
1 Attachment(s)
GCC-5.1.0 for on-device-coding.

Download http://www.cs.helsinki.fi/u/rantalai...cc_510.tar.bz2 (188MB)
Unpack to /opt/ (531MB)

Use:
Code:

PATH=/opt/gcc510/bin:$PATH
 gcc --version

-----
Compiled (on-device) using gcc-4.9.3. Needs extra swap (I used 1024 Megas). Compilation time about 120 minutes.
Used configuration (mimics gcc-4.6.4-1 -v)
Code:

../gcc-5.1.0/configure --prefix=/opt/gcc510/ --mandir=/opt/gcc510/man --infodir=/opt/gcc510/info --disable-bootstrap --with-bugurl=http://bugs.merproject.org/ --disable-libstdcxx-pch --with-float=hard --with-fpu=vfpv3-d16 --with-arch=armv7-a --disable-sjlj-exceptions --disable-multilib --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-lto --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++ --enable-threads=posix --enable-shared --disable-libgcj --build=armv7hl-meego-linux-gnueabi

nieldk 2015-07-15 07:01

Re: gcc-5.1.0 for Sailfish
 
Works fine compiling a small helloworld :)
Possible to create rpm package and upload to openrepos ?

AapoRantalainen 2015-07-29 06:32

Re: gcc-5.1.0 for Sailfish
 
Quote:

Originally Posted by nieldk (Post 1476657)
Possible to create rpm package and upload to openrepos ?

GCC-5.2.0 rpm on openrepos:
http://talk.maemo.org/showthread.php?p=1478188

pichlo 2015-07-29 09:18

Re: gcc-5.1.0 for Sailfish
 
Perhaps change the thread title to something like gcc-5.x while it's still possible? ;)

EDIT: Never mind, just noticed the other thread :(


All times are GMT. The time now is 11:18.

vBulletin® Version 3.8.8