element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Code Exchange
  • Technologies
  • More
Code Exchange
Polls What language would you like to see on a 64 bit Rasbian for Pi 3?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Code Exchange to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: clem57
  • Date Created: 11 Mar 2016 11:25 PM Date Created
  • Last Updated Last Updated: 11 Oct 2021 2:57 PM
  • Views 2245 views
  • Likes 0 likes
  • Comments 18 comments
Related
Recommended

What language would you like to see on a 64 bit Rasbian for Pi 3?

I am considering a setup for Rasbian on Pi 3 in 64 bit mode. But I need help to consider what language you want for building on it.

  • 64-bit
  • Code Exchange
  • arm quad core
  • raspberry pi 3
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • mconners
    mconners over 9 years ago in reply to mconners +2
    Also, beware if you are going to make a distro for public consumption. A poorly thought out distro will raise the ire of the community Is Linux Mint a crude hack of existing Debian-based distributions…
  • Jan Cumps
    Jan Cumps over 9 years ago +2
    ... a traditional C++ vote here.
  • mconners
    mconners over 9 years ago in reply to Jan Cumps +2
    I think c as a minimum is required on a unix system Mike
  • clem57
    clem57 over 9 years ago in reply to filker0

    Sure does. After the distro build, what languages would a user might like to see?

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • filker0
    filker0 over 9 years ago

    I have built a few "distros" for various PPC, MIPS and ARM platforms from scratch.  My usual approach is to start with Buildroot and kernel.org, then create a native C/C++ toolchain, then a package manager.  Once I have enough in place, I drop the buildroot created root file system and replace it with a native file system.

     

    The problem with rolling your own this way is that unless you adopt a scheme that matches an existing distribution that supports the same OS flavor on the particular platform you're on, you have to create your own package repository for all those additional packages those who adopt your distribution will want.  When I've done it, it was for embedded development on custom hardware, and the package repository only had to contain the tools that we documented for the SDK, and the only users worked on the same team as I did.

     

    None of the boards I've done this for had functional video (sure, some had perfectly good video controllers and GPUs in the SoC, but we didn't use them), which made for a much easier job as well.  Serial consoles and SSH/Telnet require a much smaller load set than X11 or its descendants.

     

    If I was going to do this for a Raspberry Pi 3, I would be sure that I had a good native C/C++ toolchain build first (including bintools if going with the GNU stuff) and of course you must have "make", "patch", "sed", and "m4".  Second, I'd add Tcl/Tk, then perl, python, and once those were all working, I'd just keep adding things until it all seems useful.

     

    One thing I have done is to adapt a debian based distribution to different hardware using "debootstrap".  This was for a PowerPC (P1025) based development board (P1025TWR), and I found a debian based offshoot of it that was built for a different core.  I built my own kernel with appropriate FP emulation in place, then I was able to use the packages from the repository.  They weren't as fast doing FP as they would have been if they'd been compiled for E500v2 instead of E500mc, but they did work.  Once again, that board has no graphics adapter on it, so my job was much easier, but I did install lots of X windows programs, just not a server, and used it over the LAN.

     

    Not sure if anything I've said makes any sense, but I figured my experience might be informative.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 9 years ago in reply to mconners

    Nice find mconners

    Thanks,

    Clem

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mconners
    mconners over 9 years ago in reply to mconners

    Annnnnnddddd, a little more searching turned up

     

    https://github.com/stianeikeland/go-rpio

     

    So, it is possible.

     

    Maybe I'll give it a go sometime image

     

     

    Mike

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mconners
    mconners over 9 years ago in reply to mconners

    It does have pointers, so presumably it's possible.

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mconners
    mconners over 9 years ago in reply to clem57

    Considering this is mostly a hardware forum, I'm not surprised. Go is really cutting edge systems programming stuff. I'm not even sure you could toggle an I/O pin with it. But, I haven't looked into it.

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 9 years ago

    Is no one interested in GO?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • bwelsby
    bwelsby over 9 years ago in reply to mconners

    Michael Conners wrote:

     

    I think c as a minimum is required on a unix system

     

    Mike

    Totally agree.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mconners
    mconners over 9 years ago in reply to Jan Cumps

    I think c as a minimum is required on a unix system

     

    Mike

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 9 years ago

    ... a traditional C++ vote here.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube