Skip to content
Snippets Groups Projects
  1. Jul 24, 2013
  2. Dec 02, 2011
    • Andreas Bießmann's avatar
      tools/os_support: add OS X Lion support · 6f261854
      Andreas Bießmann authored
      
      OS X Lion's c-library implements getline(), therefore prevent including the old
      helper implementation for __DARWIN_C_LEVEL < 200809L.
      
      Without this patch following error occours:
      
      ---8<---
      In file included from os_support.h:32,
                       from img2srec.c:55:
      getline.h:1: error: conflicting types for ‘getline’
      /usr/include/stdio.h:449: error: previous declaration of ‘getline’ was
      here
      --->8---
      
      Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
      6f261854
  3. Jan 25, 2010
  4. Jul 19, 2009
    • Mike Frysinger's avatar
      compiler.h: unify system ifdef cruft here · 37566090
      Mike Frysinger authored
      
      Shove a lot of the HOSTCC and related #ifdef checking crap into the new
      compiler.h header so that we can keep all other headers nice and clean.
      
      Also introduce custom uswap functions so we don't have to rely on the non
      standard implementations that a host may (or may not in the case of OS X)
      provide.  This allows mkimage to finally build cleanly on an OS X system.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      37566090
  5. Apr 03, 2009
    • Peter Tyser's avatar
      Add support for building native win32 tools · 2f8d396b
      Peter Tyser authored
      
      Add support for compiling the host tools in the tools directory using
      the MinGW toolchain.  This produces executables which can be used on
      standard Windows computers without requiring cygwin.
      
      One must specify the MinGW compiler and strip utilities as if they
      were the host toolchain in order to build win32 executables, eg:
      
      make HOSTCC=i586-mingw32msvc-gcc HOSTSTRIP=i586-mingw32msvc-strip tools
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      2f8d396b
Loading