Eclipse is a good solution. It supports remote file management and remote debugging. Search Google and Youtube for examples. I prefer to use TFTP and NFS so my BBB filesystem is hosted on my Ubuntu Desktop. I then use Eclipse for modifying the kernel as I can index the entire ARM kernel, so that I can jump directly to kernel functions with a simple CTRL Click. Search Google on how to setup Eclipse for Linux Kernel Indexing. Using GDBServer, you can use Eclipse to debug userspace apps. Once again, Google has several references on how to set this up. Derek Molly also has good material to help you with this:
http://derekmolloy.ie/beaglebone/ Regards, John > On Jul 3, 2016, at 1:41 AM, ivbsd1 <[email protected]> wrote: > > Hi William, > > I'd like to take your advice and use native compilation on BBB but try to use > some IDE anyway. > As I know, Visual Studio can be such IDE. VS can automatically copy and > remote build your sources and launch your application with the debugger on > target. > Are you familiar with non-commercial tool which is able to do this ? > > Thanks > > > > > On Friday, July 1, 2016 at 10:03:07 PM UTC+3, William Hermans wrote: > > William, > > > > Thanks for input about using BBB itself. > > But I am worried about scalability of this solution. Software tends to grow > > very quickly. > > What software tends to grow quickly ? You really need to think about what > you're doing. But if you're writing all the code yourself, and maybe using > some form of a Linux libc, and / or standard Linux API calls. You program is > not going to be so large the Beaglebone can't compile it. > > Give me an example of what you plan on doing though . . . > > > Is BBB powerful enough to compile relatively significant source code amount > > ? > > > It depends, see above. > > > And which IDE do you recommend to work natively on BBB? The same as you > > mentioned above ? > > I recommend no IDE. I use gcc from the cmd line, and I use several different > text editors to write my code. My setup is a little different than many. I > have an NFS server that shares a directory to the Beaglebone. On the > beaglebone this is where I compile my code, if not in a ramdisk. The NFS > server also run Samba, and exports this same directory out so I can connect > to it from Windows. Then, I use Visual Studio Code, Sublime text 3, or > whatever text editor I like in Windows to write code ( live ) on / for the > Beaglebone. Then it's just a matter of . . . > > $ gcc somefile.c -o somefile -Wall /* and whatever other options I want > and need */ > $ chmod +x ./somefile /* File needs to be given executable > permissions */ > $ ./somefile /* Then the application does its thing . > . .*/ > > On Fri, Jul 1, 2016 at 11:46 AM, ivbsd1 <ivb...@ <>gmail.com > <http://gmail.com/>> wrote: > William, > > Thanks for input about using BBB itself. > But I am worried about scalability of this solution. Software tends to grow > very quickly. > Is BBB powerful enough to compile relatively significant source code amount ? > > And which IDE do you recommend to work natively on BBB? The same as you > mentioned above ? > > > > On Friday, July 1, 2016 at 9:39:55 PM UTC+3, William Hermans wrote: > Additionally, if you're worried about writing too much to flash media ( emmc > or sdcard ), just create a 128M ramdisk, and compile your projects in that. > You can also setup an NFS share, LInked with a Samba share so you can edit > these files easily from within Windows . . . there are a ton of options out > there . . . > > On Fri, Jul 1, 2016 at 11:36 AM, William Hermans <yyr...@ <>gmail.com > <http://gmail.com/>> wrote: > ivbsd1, > > I would like to point out that I use Windows on a daily basis, and have since > the 90's. However I will also mention that I consider Windows a really bad > choice of a development platform for this hardware. > > For really simple applications, or probably even reasonably complex > applications, cross compiling form Windows will work fine. > > However, you will very soon start noticing problems. How do you get Linux API > headers into Windows? How do you compile anything complex on Windows, like > Qt, Nodejs, wireshark, or better still a Linux kernel, or kernel module ? The > list goes on, and on and . . . > > So, I think it would behoove you, or anyone to figure out how to get a Linux > system for a development system. Here, I would like to point out that if you > have a beaglebone, you already have one. So no need to cross compile, just > compile natively on the Beaglebone. This will work fine for 99% of projects > out there. > > On Fri, Jul 1, 2016 at 11:05 AM, ivbsd1 <ivb...@ <>gmail.com > <http://gmail.com/>> wrote: > William, Graham - thanks a lot for valuable inputs. > > I'm sure that under Linux it will run better. But environment should comply > with some existed IT infrastructure . > > So, William, I'll try your suggestion. > > > On Friday, July 1, 2016 at 8:55:02 PM UTC+3, William Hermans wrote: > Additionally. If you *can* live with using Linux. The default toolchains > supplied with Ubuntu 14.04 work very well too. D.R. Derek Molloy has youtube > videos on setup under Ubuntu, for a suitable toolchain and using Eclipse - I > think. > > On Fri, Jul 1, 2016 at 10:52 AM, William Hermans <yyr...@ <>gmail.com > <http://gmail.com/>> wrote: > Just remember, you only want a tool chain that is abihf ( ARMv7 ) compatible. > > On Fri, Jul 1, 2016 at 10:49 AM, William Hermans <yyr...@ <>gmail.com > <http://gmail.com/>> wrote: > Since no one addressed the question, but instead talked arounf it . . . > > The only known( at least to me ) toolchain for the armhf software ABI, and > WIndows binaries is offered by Linaro. > > https://releases.linaro.org/14.11/components/toolchain/binaries/ > <https://releases.linaro.org/14.11/components/toolchain/binaries/> > > Here is you read the release notes text it says which are Windows binaries. > But since mingw is not required for Linux, you can pretty much rest assured > that any toolchain with "mingw" in the file name is in reference to Windows > binaries. > > As for IDE's . . . The two most flexible for setting up with a Custom > toolchain would be Code::Blocks, and Eclipse. Personally, I prefer > Code::Blocks because it's run as a native executable versus Eclipes' JRE > requirement . . . > > On Fri, Jul 1, 2016 at 10:24 AM, Graham Haddock <gra...@ <>flexradio.com > <http://flexradio.com/>> wrote: > My personal favorite C/C++ IDE is Eclipse, with the C/C++ Development and > Remote System Explorer (RSE) environment packages. I use the GCC cross > compiler. > > A reference on how to set this up, although needing some updating, due to > newer current versions of Debian and Eclipse, is Derek Molloy's book, > website, and youtube videos. > > Since the target system is Linux/Debian, things will run a lot smoother if > you run Eclipse and the appropriate GCC cross compiler under Linux, rather > than Windows. I use either a separate computer running Ubuntu, or Ubuntu > running on a VM under Windows. > > > Setting up Eclipse on the Beaglebone for C++ Development ... > http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone-for-c-development/ > > <http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone-for-c-development/> > by Derek Molloy > > Google: Eclipse, beaglebone, RSE, GCC ARM Crosscompiler > > --- Graham > > = > For C++/C > > On Friday, July 1, 2016 at 3:42:55 PM UTC+3, Graham wrote: > For which programming language(s) ? > > Which OS will you be running on the BBB? > > --- Graham > > > > -- > For more options, visit http://beagleboard.org/discuss > <http://beagleboard.org/discuss> > --- > You received this message because you are subscribed to a topic in the Google > Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/QN5ojiYDcDU/unsubscribe > <https://groups.google.com/d/topic/beagleboard/QN5ojiYDcDU/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > beagleboard...@ <>googlegroups. <http://googlegroups.com/>com > <http://googlegroups.com/>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/dcbcb103-21d0-4b30-ac60-83b2d0b4e190%40googlegroups.com > > <https://groups.google.com/d/msgid/beagleboard/dcbcb103-21d0-4b30-ac60-83b2d0b4e190%40googlegroups.com?utm_medium=email&utm_source=footer>. > > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > -- > For more options, visit http://beagleboard.org/discuss > <http://beagleboard.org/discuss> > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard...@ <>googlegroups. <http://googlegroups.com/>com > <http://googlegroups.com/>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/CANN_KV6USTQz6nw%2BD%2BBreAN3sqg_xjE7nodB79Z-MereK8s_PQ%40mail.gmail.com > > <https://groups.google.com/d/msgid/beagleboard/CANN_KV6USTQz6nw%2BD%2BBreAN3sqg_xjE7nodB79Z-MereK8s_PQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. > > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > > > -- > For more options, visit http://beagleboard.org/discuss > <http://beagleboard.org/discuss> > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard...@ <>googlegroups. <http://googlegroups.com/>com > <http://googlegroups.com/>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/ae796f7d-3cd2-4673-82f3-4cddbbcf4faa%40googlegroups.com > > <https://groups.google.com/d/msgid/beagleboard/ae796f7d-3cd2-4673-82f3-4cddbbcf4faa%40googlegroups.com?utm_medium=email&utm_source=footer>. > > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > > -- > For more options, visit http://beagleboard.org/discuss > <http://beagleboard.org/discuss> > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard...@ <>googlegroups.com <http://googlegroups.com/>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/9889c802-d847-47dc-ac82-f0ee7bbe82d6%40googlegroups.com > > <https://groups.google.com/d/msgid/beagleboard/9889c802-d847-47dc-ac82-f0ee7bbe82d6%40googlegroups.com?utm_medium=email&utm_source=footer>. > > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > -- > For more options, visit http://beagleboard.org/discuss > <http://beagleboard.org/discuss> > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/982fc132-825c-48dd-9e38-520441256f4c%40googlegroups.com > > <https://groups.google.com/d/msgid/beagleboard/982fc132-825c-48dd-9e38-520441256f4c%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/46724978-896D-4015-B5CA-B4CE6E3D1AF7%40gmail.com. For more options, visit https://groups.google.com/d/optout.
