Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 704365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:56:01+00:00 2026-05-14T03:56:01+00:00

I use GNUStep to compile Objective-C on Windows 7 using GCC and MinGW. I’d

  • 0

I use GNUStep to compile Objective-C on Windows 7 using GCC and MinGW. I’d like to be able to automate the “make” instruction (with make files) from Notepad++ and have any complier errors reported to Notepad++s console window.

Edit:
What I am trying to do is script GNUStep/Bash to login to the right directory, build the directory, then exit. Currently I have to type in the following:

sh -login -i
$ cd d:\directory
$ make

Does anyone have any experience with this?

Rich

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T03:56:02+00:00Added an answer on May 14, 2026 at 3:56 am

    I have done it, with considerable help from my friends.

    1. Create a Bash script called ‘nppmake’. I saved it in c:\GNUStep. The file should contain the following:

      #! /bin/bash

      cd $1
      make

    2. Create a DOS batch file called ‘nppmake.bat’, which again I saved in c:\GNUStep. This file contains the following:

      sh –login -i C:\GNUstep\nppmake %1

    3. In N++, go to ‘Plugins > NppExec > Execute’ and type in the following:

      C:\GNUstep\nppmake.bat $(CURRENT_DIRECTORY)

    4. Hit ‘Save’ and call the script ‘make’.

    5. In ‘Plugins > NppExec > Advanced Options…’, create a menu item, which I called ‘Build’ and associate it to the script called ‘make’ (I’m a Visual Studio developer, so ‘build’ feels more natural to me). Make sure ‘Place to the Macros submenu’ is checked.
    6. You may need to restart N++ at this point, but then all that is left to do is add the keyboard shortcut. Go to ‘Settings > Shortcut Mapper > Plugin Commands’ and find ‘Build’. I assigned ‘Ctrl-Shift-B’, is it is the same as VS.

    You’re done. Now open up a file in a Objective-C project, that has a GNUmakefile, and hit ‘Ctrl-Shift-B’. The NppExec window reports any errors, or hopefully a successful build!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use Objective-C 2.0 feature Property in GNUstep(using Windows). But i can't
I know how to compile the objective c program using gnustep version of mingw.
I'm learning Objective-C using GNUstep(because I use Linux). I was thinking in create a
I have been experimenting with Objective-C using GCC + GNUstep on an Ubuntu system.
I'm new to Objective-C and working in GNUstep and MinGW environment. I am compiling
Actually I have read about that I can write Objective-C app on Linux (using
use pthread_create to create limited number of threads running concurrently Successfully compile and run
I'm working on a Cocoa app with the intention of using it on Windows
Use Eclipse Classic with ADT plugin. Tried to make project from existing example of
I finally got GNUstep working (on windows), and it compiles and runs fine. However,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.