Hi all, Thanks for both answers it makes things a lot more clear.
I managed to get something running (before I read these emails) so I will improve with the help provided. You can check the project here https://github.com/kakila/libdwengo-sdcc Is a library for an open-hardware development board http://www.dwengo.org/board/functionality I hope to get rid of pk2cmd as well. Cheers On Sat, Jul 5, 2014 at 6:39 PM, Raphael Neider <rnei...@web.de> wrote: > Hi, > > sdcc does not create libraries for PICs -- you need to use gplib (from > gputils) for that. > http://linux.die.net/man/1/gplib > > I would not use libtool at all here -- static libraries are easy enough > built manually. libtool only gets into your way. > > The sdcc project itself uses autotools to create the libraries as in > > http://sourceforge.net/p/sdcc/code/HEAD/tree/trunk/sdcc/device/lib/pic16/configure.ac > http://sourceforge.net/p/sdcc/code/HEAD/tree/trunk/sdcc/device/lib/pic16/libsdcc/Makefile.am > > Note that configure.ac has > > AC_PATH_PROG(AR, gplib, :) > > to force the use of gplib instead or plain ar, from there, it seems to be > straight forward. > > Hope that helps, > Raphael > > > On Sat, Jul 5, 2014 at 6:02 PM, JuanPi <jua...@dwengo.org> wrote: >> >> Hi all, >> >> I managed to get the code compiled by sdcc now I ma trying to create a >> library. >> >> I am using autotools and the problem I have is that when libtool calls >> sddc I get >> >> sdcc libio18f4550.lib libc18f.lib libsdcc.lib dwengoADC.lo libdwengo.la >> at 1: warning 119: don't know what to do with file 'dwengoADC.lo'. >> file extension unsupported >> at 1: warning 119: don't know what to do with file 'libdwengo.la'. >> file extension unsupported >> >> Any suggestion on how to build a library with sdcc? The manual uses >> .lib files but I can't libtool to generate that extension >> >> Any suggestion? >> >> Thanks >> >> -- >> Juan Pablo Carbajal >> Engagement manager >> www.dwengo.org >> >> Follow us on: >> Facebook: http://facebook.com/dwengo >> Twitter: @dwengo of http://twitter.com/dwengo >> Youtube: http://www.youtube.com/user/Dwengovzw >> Google RISE project: http://goo.gl/BD540 >> Chat: #dwengo in irc.freenode.net >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community >> Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> Sdcc-user mailing list >> Sdcc-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/sdcc-user > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user > -- Juan Pablo Carbajal Engagement manager www.dwengo.org Follow us on: Facebook: http://facebook.com/dwengo Twitter: @dwengo of http://twitter.com/dwengo Youtube: http://www.youtube.com/user/Dwengovzw Google RISE project: http://goo.gl/BD540 Chat: #dwengo in irc.freenode.net ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user