Re: [libopenstm32-devel] how to build libopenstm32 with yagarto
Status: Inactive
Brought to you by:
uh1763
From: Matjaz J. <ja...@gm...> - 2011-07-12 14:03:48
|
Hi, thank you, I've also managed to make a build of a library. My default path to yagarto compiler is c:\yagarsto, so I updated DESTDIR = c:/yagarto and becouse I'm using Eclipse I've added new variable to properties/c/c++ build/enviroment, PREFIX with value arm-none-eabi Thank you very much! Matjaz On 12 July 2011 12:57, Uwe Hermann <uw...@he...> wrote: > 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 > |