IDE's and contributions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nick
    Vanilla maintainer
    • Apr 2007
    • 9647

    #31
    Originally posted by takkaria
    Are you cross-compiling or doing it on Windows itself?
    On windows. I hadn't thought of cross-compiling - that might work better. How do I do that?
    One for the Dark Lord on his dark throne
    In the Land of Mordor where the Shadows lie.

    Comment

    • takkaria
      Veteran
      • Apr 2007
      • 1951

      #32
      BTW, you might find http://www.netadelica.com/coding/sdl/install.html useful for getting SDL up and running on Windows.

      Originally posted by Nick
      On windows. I hadn't thought of cross-compiling - that might work better. How do I do that?
      Well, cross-compiling in V (for the native Windows port) is a case of installing the cross-compiler (on Debian-based distros this is mingw32), and running

      Code:
      make -f Makefile.win CROSS="i586-mingw32msvc-" MINGW=yes
      If you're looking at using SDL too, you want to build and install SDL into a folder somewhere, then add "-I<path to SDL headers>" to CFLAGS and the paths to the various libraries to LIBS, so something like:

      Code:
      LIBS=/path/to/SDL.lib /path/to/SDLmain.lib /path/to/SDL_ttf.lib
      I assume, anyway. YMMV, this is just based on when I have crosscompiled to Windows using PDCurses.
      takkaria whispers something about options. -more-

      Comment

      • Derakon
        Prophet
        • Dec 2009
        • 9022

        #33
        The Story of Mel is a description of the "canonical hacker". Real Programmer jokes are about writing software using increasingly bizarre limitations on your toolkits, e.g.

        "Real Programmers use emacs."
        "No, Real Programmers would never use such a bloated program. Real Programmers use ed."
        "No, Real Programmers use cat. Text editors are for the weak."
        "No, Real Programmers use a magnetized needle and a steady hand."

        Comment

        • Magnate
          Angband Devteam member
          • May 2007
          • 5110

          #34
          Originally posted by Derakon
          The Story of Mel is a description of the "canonical hacker". Real Programmer jokes are about writing software using increasingly bizarre limitations on your toolkits, e.g.

          "Real Programmers use emacs."
          "No, Real Programmers would never use such a bloated program. Real Programmers use ed."
          "No, Real Programmers use cat. Text editors are for the weak."
          "No, Real Programmers use a magnetized needle and a steady hand."
          Maybe someone here can help me unearth another gem that I once saw and cannot now find. It was a list of different approaches to "hello world", starting with the basic novice's C program and ending up with the company CEO's email to the novice saying "write me a program that says 'hello world'". In between there were a dozen different takes on it. Does this ring any bells with anyone?
          "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

          Comment

          • PowerDiver
            Prophet
            • Mar 2008
            • 2820

            #35
            Originally posted by Magnate
            Maybe someone here can help me unearth another gem that I once saw and cannot now find. It was a list of different approaches to "hello world", starting with the basic novice's C program and ending up with the company CEO's email to the novice saying "write me a program that says 'hello world'". In between there were a dozen different takes on it. Does this ring any bells with anyone?
            Google on hello world joke

            Comment

            • Pete Mack
              Prophet
              • Apr 2007
              • 6883

              #36
              Originally posted by PowerDiver
              Google on hello world joke
              The 'seasoned programmer' version is by far the funniest. I actually did write a hello world that was ~200 lines long, prior to a partial rewrite of the OSX port. (It had font & size selection via menu, and a few other "features" that I forget now.)

              Comment

              • Magnate
                Angband Devteam member
                • May 2007
                • 5110

                #37
                Originally posted by PowerDiver
                Google on hello world joke
                Thank you. Funny how sometimes you just can't see the obvious search term.
                "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                Comment

                Working...
                😀
                😂
                🥰
                😘
                🤢
                😎
                😞
                😡
                👍
                👎