Menu

Linux Cross-compiler under dev-cpp

2002-12-28
2012-09-26
  • Nobody/Anonymous

    Hello

    Just 'found' dev-cpp. great tool(hate visual-studio)

    Does there exist a prebuild version of gcc 2.95.3, that will work with dev-cpp and produce Linux-native code ?????

    regards

    ole@danelec.dk

     
    • Nobody/Anonymous

      So what your asking for is a gcc compiler that runs on windows and produces output for linux . And too, why would you want to use the older 2.95.x.

      N@N!

       
      • Nobody/Anonymous

        Sounds a bit like something I was trying to do but failed. Once I thought about it I realised it was not possible - at least with the GCC I was using.

        I was trying to compile the latest version of Redhat's Insight GUI for the GDB ( GNU Debugger).

        It wouldn't compile under CYGWIN so I tried to do it in my LINUX  box and it worked fine. As soon as I moved the compiled code to my Windows box it failed to run.

        All software seems to refer to the underlying operating system at some point - even if it is just to know where to start the program from once it is called.

        Anyway, I have tried to cross compile the Insight GUI in my Linux system and it is not supported. This leads me to believe that it is not so easy to cross compile code for different systems. I am 100% sure that Dev-C++ as-is does not provide this support.

        BlakJak :]

         
    • Patrick Ogay

      Patrick Ogay - 2002-12-29

      there is a dokument in the web
      www.bloodshed.net/dev/SetDevCPPArm.pdf

      Title: setting up Dev-c++ with the arm gcc cross-compiler

      may be that's your'e looking for.
      Greets
      Patrick

       
    • upcase

      upcase - 2002-12-29

      Well, I read once that it could actually be possible, but that, for some reason, nobody ever really tried it :)
      I think I once found a compiler package that was said to produce Linux code on a windows platform, but I lost the adress and I never tried it myself...

      Bye!

       
    • Matt Fiedler

      Matt Fiedler - 2002-12-29

      Since Dev-CPP uses MinGW as its underlying compiler, take a look at the FAQ on setting up MinGW for cross-compilation.

      http://www.mingw.org/mingwfaq.shtml#faq-cross

      Don't know if this will help, but good luck.

      Matt

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.