Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Port ebuild to ARM
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
luckylinux
n00b
n00b


Joined: 17 Mar 2012
Posts: 12

PostPosted: Wed Aug 22, 2012 7:44 pm    Post subject: Port ebuild to ARM Reply with quote

I would like to know if there are some specif reasons / peculiarities with ebuilds with respect to the architecture?

I mean: could I take an ebuild from the x86/x86_64 architecture and copy-paste most of its content and make it an ARM's ebuild?
I think it all comes down to the compiler's arguments. Maybe replace gcc with arm-gcc and omit some of the build options that don't exist for the ARM architecture?

In the specific I'm interested in gammu (and all of its dependencies).
Thank you very much.
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 2995
Location: USA

PostPosted: Thu Aug 23, 2012 7:40 pm    Post subject: Reply with quote

Most of the time they're tied to a specific arch is that they've not been tested. Feel free to try it - go ahead and hack the ebuild or just build it manually - and then submit an ebuild enhancement request to bugs.gentoo.org to include it. If a dev has the time they could add it.

However there are other apps that are platform specific. These would be hard to use for other platforms...
_________________
Core-i7-2700K@4.1GHz/8GB RAM/180GB SSD/Intel HD3000 graphics
What the heck am I advocating?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 29972
Location: 56N 3W

PostPosted: Thu Aug 23, 2012 10:45 pm    Post subject: Reply with quote

luckylinux,

gammu is not keyworded for ARM. That probably means that nobody has tested it.

I'm playing with ARM on Raspberry Pi. Add to your ARM system /etc/lprtage/package.keywords as
Code:
app-mobilephone/gammu **
ans try to emerge it.
You will have problems if you want to build with a crossdev environment, as lots of things don't want to cross compile.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum