Re: #includes and #defined

2018-08-10 Thread Warner Losh
On Fri, Aug 10, 2018 at 5:30 PM, Erich Dollansky < freebsd.ed.li...@sumeritec.com> wrote: > Hi, > > On Fri, 10 Aug 2018 07:53:19 -0600 > Warner Losh wrote: > > > On Thu, Aug 9, 2018 at 11:51 PM, Erich Dollansky < > > freebsd.ed.li...@sumeritec.com> wrote: > > > > > On Fri, 10 Aug 2018 12:40:48 +0

Re: #includes and #defined

2018-08-10 Thread Erich Dollansky
Hi, On Fri, 10 Aug 2018 07:53:19 -0600 Warner Losh wrote: > On Thu, Aug 9, 2018 at 11:51 PM, Erich Dollansky < > freebsd.ed.li...@sumeritec.com> wrote: > > > On Fri, 10 Aug 2018 12:40:48 +0800 > > blubee blubeeme wrote: > > > > > > > > What about the architecture name is it recommended to

Re: #includes and #defined

2018-08-10 Thread blubee blubeeme
On Fri, Aug 10, 2018 at 9:53 PM Warner Losh wrote: > > > On Thu, Aug 9, 2018 at 11:51 PM, Erich Dollansky < > freebsd.ed.li...@sumeritec.com> wrote: > >> Hi, >> >> On Fri, 10 Aug 2018 12:40:48 +0800 >> blubee blubeeme wrote: >> >> > On Fri, Aug 10, 2018 at 8:28 AM Erich Dollansky < >> > freebsd.

Re: #includes and #defined

2018-08-10 Thread Warner Losh
On Thu, Aug 9, 2018 at 11:51 PM, Erich Dollansky < freebsd.ed.li...@sumeritec.com> wrote: > Hi, > > On Fri, 10 Aug 2018 12:40:48 +0800 > blubee blubeeme wrote: > > > On Fri, Aug 10, 2018 at 8:28 AM Erich Dollansky < > > freebsd.ed.li...@sumeritec.com> wrote: > > > > > Hi, > > > > > > On Fri, 10 A

Re: #includes and #defined

2018-08-09 Thread Erich Dollansky
Hi, On Fri, 10 Aug 2018 12:40:48 +0800 blubee blubeeme wrote: > On Fri, Aug 10, 2018 at 8:28 AM Erich Dollansky < > freebsd.ed.li...@sumeritec.com> wrote: > > > Hi, > > > > On Fri, 10 Aug 2018 08:01:42 +0800 > > blubee blubeeme wrote: > > > > > What's the proper way to define and include F

Re: #includes and #defined

2018-08-09 Thread blubee blubeeme
On Fri, Aug 10, 2018 at 8:28 AM Erich Dollansky < freebsd.ed.li...@sumeritec.com> wrote: > Hi, > > On Fri, 10 Aug 2018 08:01:42 +0800 > blubee blubeeme wrote: > > > What's the proper way to define and include FreeBSD amd64 in GNU > > Makefiles > > > > Do we define FreeBSD as x86_64 or amd64 also

Re: #includes and #defined

2018-08-09 Thread Erich Dollansky
Hi, On Fri, 10 Aug 2018 08:01:42 +0800 blubee blubeeme wrote: > What's the proper way to define and include FreeBSD amd64 in GNU > Makefiles > > Do we define FreeBSD as x86_64 or amd64 also is it __FreeBSD__, > FreeBSD__, or __FreeBSD > > I've seen all of the above looking through different pr

#includes and #defined

2018-08-09 Thread blubee blubeeme
What's the proper way to define and include FreeBSD amd64 in GNU Makefiles Do we define FreeBSD as x86_64 or amd64 also is it __FreeBSD__, FreeBSD__, or __FreeBSD I've seen all of the above looking through different projects. Best, Owen ___ freebsd-cur