Go to advanced search

by Gavinmc42
Wed Sep 11, 2019 12:11 am
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 278
Views: 88330

Re: Circle - C++ bare metal environment (with USB)

... learning so many language since 2012 one more was no struggle? Aarch64 cross compilers I expect will start popping up all over now. Just need to ... toolset on a 3B+ it took 13hrs. Now ejolson has the 32bit RISC-V GCC compiling in 1hr on a 4B4 :D Kate looks interesting, but go the Oberon method ...
by rst
Tue Sep 10, 2019 1:58 pm
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 278
Views: 88330

Re: Circle - C++ bare metal environment (with USB)

... this so far. I assume this message is because I need an arm 32bit cross compiler on my aarch64 Pi4? ./makeall clean g++: error: unrecognized ... code? I'm using "kate" from KDE for editing and a terminal window for compiling and "git" commands. But I could post a Geany project file for Circle, ...
by ValterFukuoka
Fri Aug 30, 2019 10:29 pm
Forum: General discussion
Topic: RPI Zero WH - Raspbian Buster - Firefox not starting...
Replies: 7
Views: 1472

Re: RPI Zero WH - Raspbian Buster - Firefox not starting...

... If so, I like to ask him something about it ... (webrtc compiling errors), or anybody that can help... Because, on a RPI3, I am running ... it, from sources, to armv6... In the process, I had to build myself the Cross Compiler using Crosstool-NG... because it requires a new version of ...
by ddgg
Wed Aug 28, 2019 12:20 pm
Forum: Advanced users
Topic: real-time kernel on rpi 3b+ for audio application
Replies: 6
Views: 1961

real-time kernel on rpi 3b+ for audio application

... instead of compiling the 4.14.y-rt I downloaded the 4.19.y-rt (from here https://github.com/raspberrypi/linux/tree/rpi-4.19.y-rt/kernel ... make bcm2709_defconfig to use a default configuration (...right?) and cross compiled it on a laptop running Debian (64bit) using the gcc-linaro-arm-linux-gnueabihf-raspbian-x64 ...
by jdonald
Wed Aug 28, 2019 12:01 am
Forum: Gaming
Topic: How to setup Dolphin on a Pi 4 with Raspbian Buster
Replies: 32
Views: 25194

How to setup Dolphin on a Pi 4 with Raspbian Buster

... command with CC=clang CXX=clang++ , and at some point you may consider cross-compiling. The -j3 option is there to avoid running out of memory or thrashing to swap on a ...
by ejolson
Tue Aug 27, 2019 3:34 pm
Forum: General programming discussion
Topic: "build a cross compiler toolchain
Replies: 5
Views: 2714

Re: "build a cross compiler toolchain

... building the kernel, then the problem may lie somewhere besides how the cross-compiler toolchain was configured. Does cross-compiling a kernel require both native and cross compilation to work? You might have better ...
by jdonald
Mon Aug 26, 2019 4:39 am
Forum: General discussion
Topic: Setting up Qemu on pi 4?
Replies: 4
Views: 5907

Re: Setting up Qemu on pi 4?

... I provided some instructions for cross-compiling a qemu binary in a matter of minutes. I only tried Windows 95, good to hear you managed ...
by davide65
Sat Aug 24, 2019 7:28 pm
Forum: Troubleshooting
Topic: Raspbian 9 & PHP 7.3: Unable to install mssql drivers
Replies: 1
Views: 633

Raspbian 9 & PHP 7.3: Unable to install mssql drivers

... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the ...
by RA1981
Mon Aug 19, 2019 4:59 pm
Forum: Beginners
Topic: Recommendations for development environment
Replies: 7
Views: 752

Re: Recommendations for development environment

... Soon we will have a choice of 64bit OS's on Pi4, then it will be like cross compiling back to armhf 32bit. Sounds interesting. I find somethings the C dependencies can ...
by Gavinmc42
Thu Aug 15, 2019 2:11 am
Forum: Beginners
Topic: Recommendations for development environment
Replies: 7
Views: 752

Re: Recommendations for development environment

... Soon we will have a choice of 64bit OS's on Pi4, then it will be like cross compiling back to armhf 32bit. I find somethings the C dependencies can get in the way of compiling ...
by jdonald
Wed Aug 14, 2019 4:27 am
Forum: Troubleshooting
Topic: Raspberry Pi 4 and QEMU (x86/x64)
Replies: 9
Views: 16572

Re: Raspberry Pi 4 and QEMU (x86/x64)

I ended up cross-compiling to save those four hours. In a Buster x86_64 container: git clone git://git.qemu-project.org/qemu.git ...
by deepo
Tue Aug 13, 2019 12:38 pm
Forum: C/C++
Topic: Ways to compile C/C++ code for pi
Replies: 10
Views: 9586

Re: Ways to compile C/C++ code for pi

... the console only Lite version, but it is easier to have a window for compiling along with your editor. The most basic syntax of g++ is: g++ -o ... But cc is installed by default, as jahboater writes above. There are cross compiler options that allow you to do everything on e.g. Windows and ...
by JMC31337
Fri Aug 09, 2019 6:41 am
Forum: Troubleshooting
Topic: USB wifi dongle 0bda:c811 issue: no interface is created, although module is loaded
Replies: 5
Views: 7705

Re: USB wifi dongle 0bda:c811 issue: no interface is created, although module is loaded

having cross-compiled and compiled kernels for the pi (3b+) Hopefully this will benefit someone ... modes Master Monitor Managed and all were permitted 2) This site worked for cross-compiling https://sysprogs.com/VisualKernel/tutorials/raspberry/buildkernel/ Although my ...
by hippy
Thu Aug 08, 2019 10:48 am
Forum: C/C++
Topic: How to map arduino pins to raspberry pi gpio pins
Replies: 2
Views: 2755

Re: How to map arduino pins to raspberry pi gpio pins

... using the Arduino IDE. That runs natively on the Pi and also allows cross-platform generation of Pi executables when the Arduino IDE is run under ... as creating different 'board variants' but might involve more. Pi3B compiling Pi executable code using the Arduino IDE - arduino.jpg
by jdonald
Wed Aug 07, 2019 4:56 pm
Forum: General discussion
Topic: 64-bit weekly kernel autobuilds for RPi4 released (bcm2711_defconfig)
Replies: 94
Views: 21982

Re: 64-bit weekly kernel autobuilds for RPi4 released (bcm2711_defconfig)

... April), which is bound to fail with a black screen. Instructions for cross-compiling Mesa: Raspberry Pi cross compile wiki. Usually works well for me, but if anyone has ...
by koluna
Wed Aug 07, 2019 2:27 pm
Forum: General discussion
Topic: Cross-compiling and ncurses
Replies: 4
Views: 349

Re: Cross-compiling and ncurses

It was needed to add -ltinfo to the linker and libtinfo.a...
by topguy
Wed Aug 07, 2019 2:17 pm
Forum: General discussion
Topic: Cross-compiling and ncurses
Replies: 4
Views: 349

Re: Cross-compiling and ncurses

Using a "sysroot" during cross-compilation means that you have a local copy of all the include files and libraries ... on the raspbian image before extracting them. There are many guides for cross compiling have this step included but I they all do it slightly different, I dont have ...
by koluna
Wed Aug 07, 2019 1:46 pm
Forum: General discussion
Topic: Cross-compiling and ncurses
Replies: 4
Views: 349

Re: Cross-compiling and ncurses

Are you cross compiling from Windows or Linux ? Linux Mint. Do you intend to cross-compile for Raspbian ? Yes, I do. I compile ...
by topguy
Wed Aug 07, 2019 11:45 am
Forum: General discussion
Topic: Cross-compiling and ncurses
Replies: 4
Views: 349

Re: Cross-compiling and ncurses

Are you cross compiling from Windows or Linux ?

Do you intend to cross-compile for Raspbian ?

How are your crosscompiler configured ? Did you use a raspbian image to extract libraries/include files etc. ?
by koluna
Wed Aug 07, 2019 9:50 am
Forum: General discussion
Topic: Cross-compiling and ncurses
Replies: 4
Views: 349

Cross-compiling and ncurses

Hello!
I use a cross-compiler.
I need a ncurses lib.
How can I use it at cross-compiling?
Should I build the library for my target?
Can I use a package from Raspbian OS?
by Katherine16
Wed Aug 07, 2019 6:39 am
Forum: General discussion
Topic: How to install the Raspberry Pi cross compiler on my Linux host machine?
Replies: 0
Views: 188

How to install the Raspberry Pi cross compiler on my Linux host machine?

I am attempting to get cross-compiling for Raspberry Pi working on my Ubuntu machine. During my initial attempts I was using the arm-linux-gnueabi ...
by visa
Fri Aug 02, 2019 3:51 pm
Forum: C/C++
Topic: Compiling gcc Options
Replies: 36
Views: 12141

Re: Compiling gcc Options

>> " I have been trying to make a cross-compiler, so I can compile for RPi in Windows 10"... though this is a few months old thread now... but FWIW... I got my first RPI 4 hw yesterday and while looking to redo/regen my 3 year old cygwin based ...
by 6by9
Thu Aug 01, 2019 1:15 pm
Forum: Graphics programming
Topic: Playing video in an OpenGL(ES) application on Pi4
Replies: 5
Views: 2170

Re: Playing video in an OpenGL(ES) application on Pi4

... Tue Feb 6 09:36:11 2018 +0000 Add a meson build script. This lets me do cross-compiling easily. Reminder for usage: meson build/ ninja -C build/ sudo ninja -C build/ install ...
by Schnoogle
Thu Aug 01, 2019 8:26 am
Forum: Bare metal, Assembly language
Topic: Announce: RusPiRo - a kernel the Rust way ;)
Replies: 61
Views: 11222

Announce: RusPiRo - a kernel the Rust way ;)

... time :). As my current build pipeline is running on a Windows 10 PC and cross compiling from there to ARMv8 some of the steps described in the README of the ruspiro-kernel ...
by Heater
Sat Jul 27, 2019 5:32 am
Forum: C/C++
Topic: StdLib Dirty Replacement Functions:
Replies: 20
Views: 2762

Re: StdLib Dirty Replacement Functions:

... overview and details 1993 The Norcroft compiler suite is a portable (across host and target systems) set of compilers for a variety of languages ... point representation of the host on which they are run, so cross compiling from one machine to another is possible, either as a step in porting ...

Go to advanced search