Joerg Wunsch wrote:
Keep in mind that we'll need a Unix implementation as well...
Sure. I'm not yet familiar with the build system in place for
distinguishing between platforms. I see that there is a separate
directory for Windows and a WIN32NATIVE symbol defined, so I'll figure
out how to use these for the Cygwin version.
I haven't used the Linux drivers for FTDI yet, I don't know how similar
they are to the Windows ones. If they correspond one for one then it
should be easy.
Also, I'm not particularly knowledgeable about autoconf/automake. For
the Win32 version, one must link in FTD2XX.lib. I did this with a line:
avrdude_LDADD = FTD2XX.lib
in the Makefile.am file. But this needs to put the .lib file in the
current directory. I'd like instead to grab the copy in the installed
FTDI driver directory.
Under Linux I'm sure there will be a similar .so or .a to link to.
Again, I don't know how to conditionalize things in Makefile.am to do
the right thing when the build is on Linux vs. Windows.
Since my AVR project will ultimately be Windows based I've set up using
Cygwin for now. In a few days I may take a crack at Linux.
I leave on a business trip tonight until Thursday, so I probably won't
get to post the patch until then.
-Johnathan
_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev