Re: [libopenstm32-devel] how to build libopenstm32 with yagarto
Status: Inactive
Brought to you by:
uh1763
From: Uwe H. <uw...@he...> - 2011-07-12 11:16:34
|
Hi, On Tue, Jun 28, 2011 at 09:56:00PM +1200, Gareth McMullin wrote: > On Mon, Jun 27, 2011 at 11:00 AM, Matjaz Janezic <ja...@gm...> wrote: > > is where tutorial how to build this library with yagarto tools? > > I don't think so. Windows isn't the friendliest build environment. > > I built a Windows toolchain with a modified summon-arm-toolchain > including libopenstm32: > http://www.blacksphere.co.nz/downloads/sat-w32-0a.exe > > This was cross-compiled from Linux. I can't help with a native Windows build. I just downloaded the current Yagarto .exe file (uses gcc 4.6), double-clicked it on Windows, then cloned the libopenstm32 repo using TortoiseGit, then entered an MSYS shell and typed: PREFIX=arm-none-eabi make Everything built fine out of the box (didn't do any other tests). A tutorial for a MinGW/MSYS setup is probably out of scope here, I recommend checking the MinGW/MSYS docs for that. Maybe we'll add a quick HOWTO at some point, but it's not a high priority. Update: I also tested this in a normal DOS command line prompt window: set PREFIX=arm-none-eabi make Seems like MinGW/MSYS is not strictly needed. Uwe. -- http://hermann-uwe.de | http://sigrok.org http://randomprojects.org | http://unmaintained-free-software.org |