| View previous topic :: View next topic |
| Author |
Message |
luckylinux n00b

Joined: 17 Mar 2012 Posts: 12
|
Posted: Wed Aug 22, 2012 7:44 pm Post subject: Port ebuild to ARM |
|
|
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 |
|
 |
eccerr0r Advocate

Joined: 01 Jul 2004 Posts: 2995 Location: USA
|
Posted: Thu Aug 23, 2012 7:40 pm Post subject: |
|
|
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 |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 29972 Location: 56N 3W
|
Posted: Thu Aug 23, 2012 10:45 pm Post subject: |
|
|
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 |
|
 |
|