Thanks very much Jeff,
That worked great.
Garrett.
Message: 8
Date: Sat, 10 Mar 2007 21:11:21 -0600
From: Jeff Epler <[EMAIL PROTECTED]>
Subject: Re: [Emc-users] writing a new device driver
To: "Enhanced Machine Controller (EMC)"
<emc-users@lists.sourceforge.net>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii
On Sun, Mar 11, 2007 at 11:02:19AM +0900, garrett beaubien wrote:
> The second question is how to compile a new driver. For example if I
copy
> the hal_parport.c under src/hal/drivers directory into a new file called
> myDevice.c, how do I compile it and make it visible to the system.
The easiest way is with 'comp':
comp --install mydevice.c
if you want to make it a part of the emc source tree, you add lines for
it in src/Makefile -- just look for the existing lines about
hal_parport.
Jeff
------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
End of Emc-users Digest, Vol 11, Issue 20
*****************************************
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users