Thread
:
gcc-4.6 and Fremantle, WIP
View Single Post
AapoRantalainen
2012-09-24 , 20:17
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#
129
Back to Topic.
I'm not sure is there any package on extras-devel using gcc-4.6 or g++4.6.
But here comes instructions how to use
g++-4.6
with autobuilder.
1) debian/control
-Architecture: any
+Architecture: armel
(because compiler on builder is only arm-to-arm)
2) debian/control
+Build-Depends: g++-4.6, binutils2.22
(because g-4.6 needs binutils2.22)
3) debian/control
+Depends: libstdc++6 (>4.6.1)
(I hope this will not break existing applications. I have tested only with one device and didn't seen any failures)
4) Makefile (or configure, configure.ac ...)
-CXX = g++
+CXX = g++-4.6
+LDFLAGS += -B /usr/binutils2.22/bin
(This works better than tuning PATH during debian/rules with PATH=/usr/binutils2.22/bin:$PATH)
----
And I'm slipping topic again, but seems same approach could work even builder has gcc-4.7 (maybe even +thumb).
Quote & Reply
|
The Following 4 Users Say Thank You to AapoRantalainen For This Useful Post:
Estel
,
marmistrz
,
misiak
,
reinob
AapoRantalainen
View Public Profile
Send a private message to AapoRantalainen
Find all posts by AapoRantalainen