Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 5th April 2017, 04:13 PM
stratacast1 Online
Registered User
 
Join Date: Apr 2014
Location: Washington
Posts: 267
linuxfirefox
cross compiling with gcc help

I need to cross compile some code for the arm architecture for an assignment and I'm having troubles getting it done. I know I'm missing some cross-compile dependencies so I need some help knowing which one to get. The code is for a Raspberry Pi. Once I get the right dependencies, will this be the right command?

gcc -march=arm -o mycode mycode.c
Reply With Quote
 

Tags
compiling, cross, gcc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
bad ELF interpreter when cross-compiling bob p Using Fedora 2 5th March 2015 05:21 PM
Cross compiling userspace applications for ARM john_erlandsson Programming & Packaging 2 7th January 2014 03:33 PM
cross compiling an appliction badabagni Installation, Upgrades and Live Media 1 12th September 2013 01:17 PM
Cross Compiling with Mock ImNtReal Using Fedora 0 18th September 2008 03:38 AM
Cross-compiling possible? Mat Using Fedora 1 6th July 2005 05:03 PM


Current GMT-time: 22:46 (Friday, 21-07-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat