When you create your project, ensure you are selecting "Cross GCC" and not "MinGW GCC". The MinGW is for windows dev.
Ex: [image: image.png] Jon On Thu, Aug 20, 2020 at 7:07 AM Jan Cumps <[email protected]> wrote: > You may need to unpack the archive as administrator on windows. > Run your extract program as admin, then select the archive and extract it > ... > > > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > Virusvrij. > www.avg.com > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > <#m_-2204324553301015565_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > On Thu, Aug 20, 2020 at 3:51 PM NAGABHOOSHANAM VEMULA < > [email protected]> wrote: > >> Thanks John, >> >> As suggested, this time, I have tried with "gcc-linaro-7.5.0-2019.12-" >> and eclipse 2019, I am able to build and run the project, again on host. >> But still unable to find the options to change *cross -compiler s*ettings >> in eclipse 2019. Please see the pic attached, >> Can you please share pic where to change settings in eclipse. >> >> *Where to enter the following.* >> Prefix: arm-linux-gnueabihf- >> Path: "Path to the toolchain" >> >> >> thanks in advance. >> >> >> >> On Thursday, August 20, 2020 at 12:59:14 AM UTC+5:30 [email protected] >> wrote: >> >>> Try downloading >>> the gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf toolchain and >>> set the Cross Settings to reference this: >>> >>> https://releases.linaro.org/components/toolchain/binaries/latest-7/arm-linux-gnueabihf/ >>> >>> Just unpack the file and reference it in Exlipse. >>> Ex: >>> Prefix: arm-linux-gnueabihf- >>> Path: "Path to the toolchain" >>> Ex: >>> >>> PATH: >>> H:\Development\BeagleBoard\Toolchain\gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf\bin >>> >>> Set Tool Chain Editor to: >>> Current toolchains: Cross GCC >>> Current builder: CDT Internal Builder >>> >>> This works for me with Eclipse 2019 >>> >>> Cheers, >>> >>> Jon >>> >>> >>> >>> >>> On Wed, Aug 19, 2020 at 11:52 AM NAGABHOOSHANAM VEMULA < >>> [email protected]> wrote: >>> >>>> Hi, >>>> In continuation of this discussion. I am progressing, but yet to make >>>> the environment to work. >>>> With this eclipse, I am successful to build and run c program (Hello >>>> world) in the native/host platform, windows machine. >>>> But I am unable to add cross -compile option to "*arm-linux-gnueabihf*-" >>>> as per the video below. >>>> Ofcourse video was made for linux host. >>>> http://exploringbeaglebone.com/chapter7/ ( i am working on wondows >>>> host) >>>> >>>> I am thinking settings at:: Project-properties->Settings->Tool >>>> Settings, But it looks be not correct . >>>> >>>> I guess my eclipse 2020-06 version has changed a bit on setting options >>>> (unable to find a location, where to change). >>>> Anyone using this new version on windows host?, where to make changes >>>> for *arm-linux-gnueabihf*- >>>> >>>> My environment, >>>> 1) Installed Eclipse 2020-06 version (latest) for C/C++ Development, as >>>> IDE. >>>> 2) installed JDK 14.02 as required for eclipse. >>>> 3) installed tdm64-gcc-5.1.0-2 (MinGW gcc ) for cross compiler support >>>> 4) Using WIndows 10 machine as host >>>> >>>> Thanks in advance. >>>> >>>> Thanks and regards, >>>> Nagabhooshanam Vemula >>>> Project-properties->Settings->Tool Settings >>>> >>>> >>>> On Wednesday, August 19, 2020 at 12:45:44 AM UTC+5:30 [email protected] >>>> wrote: >>>> >>>>> In Eclipse, just create a Run Configuration and set it to 'SSH' for >>>>> your target which is basically like SCP. This should deploy the code and >>>>> run it on the remote target. >>>>> >>>>> Jon >>>>> >>>>> On Tue, Aug 18, 2020 at 11:47 AM NAGABHOOSHANAM VEMULA < >>>>> [email protected]> wrote: >>>>> >>>>>> Thanks John, >>>>>> As per your clarification, It helped me, let me proceed with eclipse >>>>>> on Windows and use scp to file transfers to target system. >>>>>> >>>>>> Thanks Dave, Yes, I am using WSL, the link is >>>>>> https://www.microsoft.com/store/productId/9N6SVWS3RX71 >>>>>> >>>>>> >>>>>> Thanks and regards, >>>>>> Nagabhooshanam Vemula >>>>>> email : [email protected] >>>>>> +91 83741 82839 <+91%2083741%2082839>- HYD >>>>>> >>>>>> >>>>>> On Tue, Aug 18, 2020 at 11:47 PM jonnymo <[email protected]> wrote: >>>>>> >>>>>>> Yes, you can cross compile from Windows 10 to the Beaglebone but >>>>>>> your best option would be Eclipse since you can compile on Windows and >>>>>>> then >>>>>>> scp the code over from Eclipse. You can use Visual Studio but you would >>>>>>> end up having to build on the remote target and not on Windows. >>>>>>> However, >>>>>>> with Visual Studio you could use something like VisualGDB but will cost >>>>>>> an >>>>>>> extra $99 US. You can download and use it for a month for free though. >>>>>>> >>>>>>> Here are a couple of links that might help. >>>>>>> http://exploringbeaglebone.com/chapter7/ >>>>>>> http://jkuhlm.bplaced.net/hellobone/ >>>>>>> >>>>>>> https://www.youtube.com/watch?v=af-1hDfoRcg >>>>>>> >>>>>>> https://elinux.org/images/d/df/Using_VS_and_VS_Code_for_Embedded_Development.pdf >>>>>>> >>>>>>> >>>>>>> Using VisualGDB although I am not sure if this is needed any more. >>>>>>> https://visualgdb.com/tutorials/beaglebone/qt5/cross-compile/ >>>>>>> >>>>>>> >>>>>>> Cheers, >>>>>>> >>>>>>> Jon >>>>>>> >>>>>>> On Tue, Aug 18, 2020 at 10:54 AM <[email protected]> wrote: >>>>>>> >>>>>>>> Are you running Ubuntu under the Windows Subsystem for Linux? ( >>>>>>>> WSL ) >>>>>>>> >>>>>>>> If so WSL1 or WSL2? Also, if so I wasn’t aware you could run a >>>>>>>> GUI this way. Can GNOME 3 be run under WSL? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> *From:* [email protected] <[email protected]> *On >>>>>>>> Behalf Of *NAGABHOOSHANAM VEMULA >>>>>>>> *Sent:* Tuesday, August 18, 2020 12:42 PM >>>>>>>> *To:* BeagleBoard <[email protected]> >>>>>>>> *Subject:* [spam] [beagleboard] IDE (eclipse) for Beaglebone on >>>>>>>> Windows >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> As a newbie to Linux, looking for IDE and debuggers. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> my setup, >>>>>>>> >>>>>>>> a) I have windows10 PC with ubuntu as application, (ubuntu on >>>>>>>> Windwos) >>>>>>>> >>>>>>>> b) Connected to Beaglebone with SSH, >>>>>>>> >>>>>>>> c) beaglebone has an internet-over-USB connection. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> I am inclined towards an IDE and debugger (like eclipse) instead of >>>>>>>> Vi editor >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> My question: >>>>>>>> >>>>>>>> 1) What are the various IDE options on Windows (eclipse and any >>>>>>>> other?) >>>>>>>> >>>>>>>> 2) Can we install any IDE on my Ubuntu--on-Windows? (may be stupid >>>>>>>> question) >>>>>>>> >>>>>>>> 3) If I install eclipse IDE on windows. Does it help to connect to >>>>>>>> targetboard? >>>>>>>> >>>>>>>> to run the program and debug. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Please guide me, Thanks in advance >>>>>>>> >>>>>>>> . >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> 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/5444751e-64a6-48a4-8a9d-eaf04c1e81c9n%40googlegroups.com >>>>>>>> <https://groups.google.com/d/msgid/beagleboard/5444751e-64a6-48a4-8a9d-eaf04c1e81c9n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>>> -- >>>>>>>> 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/486e01d67588%2499d910b0%24cd8b3210%24%40ddennis.net >>>>>>>> <https://groups.google.com/d/msgid/beagleboard/486e01d67588%2499d910b0%24cd8b3210%24%40ddennis.net?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>> -- >>>>>>> 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/CAG99bkoRNikNuKJ%3Dd5TyL7jBMkmTgWsm0ixpc%2BsLfApJsqtq4w%40mail.gmail.com >>>>>>> <https://groups.google.com/d/msgid/beagleboard/CAG99bkoRNikNuKJ%3Dd5TyL7jBMkmTgWsm0ixpc%2BsLfApJsqtq4w%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> >>>>>> -- >>>>>> 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/CAJaY%3DEyV7Xp1AuAQW8Qio4w6JX6LvgTjh1sbEAH3tNZuxmO%3DWw%40mail.gmail.com >>>>>> <https://groups.google.com/d/msgid/beagleboard/CAJaY%3DEyV7Xp1AuAQW8Qio4w6JX6LvgTjh1sbEAH3tNZuxmO%3DWw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >>>> 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/54d250b5-7738-4307-9589-461041bed06bn%40googlegroups.com >>>> <https://groups.google.com/d/msgid/beagleboard/54d250b5-7738-4307-9589-461041bed06bn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> 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/67a1636f-fdd0-4511-95a1-a5735d34cc4cn%40googlegroups.com >> <https://groups.google.com/d/msgid/beagleboard/67a1636f-fdd0-4511-95a1-a5735d34cc4cn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > Virusvrij. > www.avg.com > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > <#m_-2204324553301015565_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > -- > 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/CABjVgnBey%2BPkfPb5PKnYFvQsK9JbZaWs%3D7SN2vot%2BCVqGEwaKg%40mail.gmail.com > <https://groups.google.com/d/msgid/beagleboard/CABjVgnBey%2BPkfPb5PKnYFvQsK9JbZaWs%3D7SN2vot%2BCVqGEwaKg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAG99bkrHYtWKBfFhRFO9fi1mCJdYonhrzGEOQ5j%2BTccrcO%3DZJw%40mail.gmail.com.
