Re: [Emc-users] linuxcnc Add source code

2018-01-12 Thread Nicklas Karlsson
> On 7 January 2018 at 18:51, Nicklas Karlsson > wrote: > > >> Just choose another driver that does get compiled (such as hal_motenc) > >> and replicate all the same lines in the Makefile for your driver. > > > > Tried this but it does not compile while others do. I searched differences > > and

Re: [Emc-users] linuxcnc Add source code

2018-01-08 Thread Nicklas Karlsson
> On 7 January 2018 at 18:51, Nicklas Karlsson > wrote: > > >> Just choose another driver that does get compiled (such as hal_motenc) > >> and replicate all the same lines in the Makefile for your driver. > > > > Tried this but it does not compile while others do. I searched differences > > and

Re: [Emc-users] linuxcnc Add source code

2018-01-08 Thread Nicklas Karlsson
On Sun, 7 Jan 2018 19:14:03 + andy pugh wrote: > On 7 January 2018 at 18:51, Nicklas Karlsson > wrote: > > >> Just choose another driver that does get compiled (such as hal_motenc) > >> and replicate all the same lines in the Makefile for your driver. > > > > Tried this but it does not comp

Re: [Emc-users] linuxcnc Add source code

2018-01-07 Thread Nicklas Karlsson
On Sun, 7 Jan 2018 16:24:56 -0800 Chris Albertson wrote: > I hate to provide information so basic as to be insulting. But > perhaps a few people don't know what "make's" purpose in life is. > > It is simple. You give make a "target". ... Or the first target is the default. Basically make kee

Re: [Emc-users] linuxcnc Add source code

2018-01-07 Thread Chris Albertson
I hate to provide information so basic as to be insulting. But perhaps a few people don't know what "make's" purpose in life is. It is simple. You give make a "target". Many times we use the word "all" as the name of the target. Then inside the make file we say "all" followed by the list of o

Re: [Emc-users] linuxcnc Add source code

2018-01-07 Thread Gene Heskett
On Sunday 07 January 2018 13:51:26 Nicklas Karlsson wrote: > > On 7 January 2018 at 13:01, Nicklas Karlsson > > > > wrote: > > > Then adding source code to a subfolder into the src/hal/drivers > > > folder they are never found by the build system. I discovered a > > > *.so library file is built f

Re: [Emc-users] linuxcnc Add source code

2018-01-07 Thread Nicklas Karlsson
> On 7 January 2018 at 18:51, Nicklas Karlsson > wrote: > > >> Just choose another driver that does get compiled (such as hal_motenc) > >> and replicate all the same lines in the Makefile for your driver. > > > > Tried this but it does not compile while others do. I searched differences > > and

Re: [Emc-users] linuxcnc Add source code

2018-01-07 Thread Nicklas Karlsson
> On 7 January 2018 at 18:51, Nicklas Karlsson > wrote: > > >> Just choose another driver that does get compiled (such as hal_motenc) > >> and replicate all the same lines in the Makefile for your driver. > > > > Tried this but it does not compile while others do. I searched differences > > and

Re: [Emc-users] linuxcnc Add source code

2018-01-07 Thread Nicklas Karlsson
On Sun, 7 Jan 2018 19:14:03 + andy pugh wrote: > On 7 January 2018 at 18:51, Nicklas Karlsson > wrote: > > >> Just choose another driver that does get compiled (such as hal_motenc) > >> and replicate all the same lines in the Makefile for your driver. > > > > Tried this but it does not comp

Re: [Emc-users] linuxcnc Add source code

2018-01-07 Thread andy pugh
On 7 January 2018 at 18:51, Nicklas Karlsson wrote: >> Just choose another driver that does get compiled (such as hal_motenc) >> and replicate all the same lines in the Makefile for your driver. > > Tried this but it does not compile while others do. I searched differences > and there is some ma

Re: [Emc-users] linuxcnc Add source code

2018-01-07 Thread Nicklas Karlsson
> On 7 January 2018 at 13:01, Nicklas Karlsson > wrote: > > Then adding source code to a subfolder into the src/hal/drivers folder they > > are never found by the build system. I discovered a *.so library file is > > built for each of the drivers. Do anybody have and idea how to add a new > > d

Re: [Emc-users] linuxcnc Add source code

2018-01-07 Thread Nicklas Karlsson
> On 7 January 2018 at 13:01, Nicklas Karlsson > wrote: > > Then adding source code to a subfolder into the src/hal/drivers folder they > > are never found by the build system. I discovered a *.so library file is > > built for each of the drivers. Do anybody have and idea how to add a new > > d

Re: [Emc-users] linuxcnc Add source code

2018-01-07 Thread andy pugh
On 7 January 2018 at 13:01, Nicklas Karlsson wrote: > Then adding source code to a subfolder into the src/hal/drivers folder they > are never found by the build system. I discovered a *.so library file is > built for each of the drivers. Do anybody have and idea how to add a new > driver to the

[Emc-users] linuxcnc Add source code

2018-01-07 Thread Nicklas Karlsson
Then adding source code to a subfolder into the src/hal/drivers folder they are never found by the build system. I discovered a *.so library file is built for each of the drivers. Do anybody have and idea how to add a new driver to the build system so that it get compiled together with the sourc