← Back to team overview

kicad-developers team mailing list archive

Re: FreeBSD

 

Isn't this the same as what I linked to?

On Mon, Mar 13, 2017 at 10:11:54PM +0100, Michael wrote:
> Hi,
> currently I'm using the following patch for the FreeBSD Port.
> (I'm not entirely shure if clang sets __x86_64__ too or only __amd64__)
> 
> --- include/system/libcontext.h.orig 2017-03-13 11:47:23.495919000 +0100
> +++ include/system/libcontext.h 2017-03-13 11:51:12.678651000 +0100
> @@ -23,13 +23,15 @@
> 
> -#if defined(__GNUC__) || defined(__APPLE__)
> +#if defined(__GNUC__) || defined(__APPLE__) || defined(__FreeBSD__)
> 
>      #define LIBCONTEXT_COMPILER_gcc
> 
> - #if defined(__linux__)
> + #if defined(__linux__) || defined(__FreeBSD__)
>         #ifdef __x86_64__
>             #define LIBCONTEXT_PLATFORM_linux_x86_64
>             #define LIBCONTEXT_CALL_CONVENTION
> -
> + #elif __amd64__
> + #define LIBCONTEXT_PLATFORM_linux_x86_64
> + #define LIBCONTEXT_CALL_CONVENTION
>         #elif __i386__
>             #define LIBCONTEXT_PLATFORM_linux_i386
> 
> 
> Am 13. März 2017 21:53:17 MEZ schrieb Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx>:
> >On 13.03.2017 18:56, Wayne Stambaugh wrote:
> >> Is this Tom's context library code?  If so, Tom would you please
> >comment
> >> on the patch.  I'm OK with assuming it doesn't break anything.
> >> 
> >Hi Wayne,
> >
> >It's OK. I'll merge it soon.
> >
> >Cheers,
> >Tom
> >> On 3/13/2017 1:50 PM, Chris Pavlina wrote:
> >>> Hi,
> >>>
> >>> Would there be serious objection to merging a very minor patch to
> >make
> >>> KiCad build properly on FreeBSD? This isn't anything big, it's
> >basically
> >>> just adding __FreeBSD__ to the list of defines to test for alongside
> >>> __linux__ in a couple places:
> >>>
> >>>
> >https://forum.kicad.info/t/boost-lib-problem-on-64-bit-machines-linux/5619/10
> >>>
> >>> I'm not suggesting any official support for FreeBSD, just making a
> >minor
> >>> change to avoid losing the ability to build on something we
> >apparently
> >>> could build on before.
> >>>
> >> 
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~kicad-developers
> >> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~kicad-developers
> >> More help   : https://help.launchpad.net/ListHelp
> >> 
> >
> >
> >_______________________________________________
> >Mailing list: https://launchpad.net/~kicad-developers
> >Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >Unsubscribe : https://launchpad.net/~kicad-developers
> >More help   : https://help.launchpad.net/ListHelp
> 
> greetings
> -- 
> Mike



Follow ups

References