We're using eclipse on both windows and linux on pc's to program in C/C++ for the Raspberry Pi as geany's editor is too sluggish for us working on the RPi itself. We're now starting to get issues with the cross compiling when using libraries such as GTK+, mySQL etc where the compiler needs to use the library binaries but which aren't part of the cross compiler toolchains. One solution we've found is to simply hunt down the individual files the compiler wants on the RPI and copy them over to the libraries include directory on the windows or linux PC. Its worked so far so I'm wondering if there is a simple solution possible of just copying all of the library directories to the PC and avoiding having to find these individual files on the RPi and also removing future problems of library binaries changing after library updates. I'm no expert on cross compiling but can anyone see a problem with this approach and can anyone recommend which directories from the RPi to copy over?
I suppose an alternative would be to find a way of running some sort of NAS server on the RPi so it can appear as a network drive on the PC to remove the step of copying the libraries over at all - has anyone done this? Moving to tools such as Scratchbox and Buildroot seems to me to be over complicating the problem, but maybe I'm missing something which means they are needed?
Many thanks Adam