# how to convert default.gpj file to Makefile

**URL:** <https://forums.digi.com/t/how-to-convert-default-gpj-file-to-makefile/22192>\
**Category:** Windows CE\
**Tags:** green, hills\
**Created:** [February 8, 2021, 10:46am UTC](https://forums.digi.com/t/how-to-convert-default-gpj-file-to-makefile/22192 "2021-02-08T10:46:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Usha](https://avatars.discourse-cdn.com/v4/letter/u/e47c2d/32.png) [@Usha](https://forums.digi.com/u/Usha)\
**Post date:** [February 8, 2021, 10:46am UTC](https://forums.digi.com/t/how-to-convert-default-gpj-file-to-makefile/22192/1 "2021-02-08T10:46:22Z")

</div>

Hi all,

I am using the Green hills software with Multi IDE,created a simple project called helloworld,after compiling this project getting default.gpj file,

I want to convert this default.gpj file to Makefile, I am using the gpjmodify utility with below command “gpjmodify default.gpj -generate\_makefile”, but after giving this command in DOS getting a error message  
“gpjmodify is not an internal and external command” ,

please help, how to solve this issues and how to convert default.gpj file to makefile using gpjmodify utility,

How to enable the gpjmodify utility in green hills software?

Regards,  
Usha

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [February 8, 2021, 8:13pm UTC](https://forums.digi.com/t/how-to-convert-default-gpj-file-to-makefile/22192/2 "2021-02-08T20:13:22Z")

</div>

“gpjmodify is not an internal and external command”  
this means you do not have gpjmodify in your PATH variable. Either add folder containing it to the path or call it explicitly with full path like “c:\GHS\bin\gpjmodify default.gpj -generate\_makefile”

---

<div class="post-metadata">

**Author:** ![whartondanielle5](https://avatars.discourse-cdn.com/v4/letter/w/cdc98d/32.png) [@whartondanielle5](https://forums.digi.com/u/whartondanielle5)\
**Post date:** [February 10, 2021, 9:53am UTC](https://forums.digi.com/t/how-to-convert-default-gpj-file-to-makefile/22192/3 "2021-02-10T09:53:15Z")

</div>

Thanx for answers.

---

<div class="post-metadata">

**Author:** ![Usha](https://avatars.discourse-cdn.com/v4/letter/u/e47c2d/32.png) [@Usha](https://forums.digi.com/u/Usha)\
**Post date:** [February 10, 2021, 9:52am UTC](https://forums.digi.com/t/how-to-convert-default-gpj-file-to-makefile/22192/4 "2021-02-10T09:52:09Z")

</div>

Thank you so much for the reply,

after giving “C:\GHS\bin\gpjmodify default.gpj -generate\_makefile” getting the same error,

when I launch the IDE “Multi\_716”,

utility-\>launch utility programs,

I am able to see gstack,gfile,gwhat,gversion,gnm,gsize utility programs but not finding gpjmodify utility,

is this one is the problem? how to enable the gpjmodify utility?

---

<div class="post-metadata">

**Author:** ![Usha](https://avatars.discourse-cdn.com/v4/letter/u/e47c2d/32.png) [@Usha](https://forums.digi.com/u/Usha)\
**Post date:** [February 10, 2021, 9:51am UTC](https://forums.digi.com/t/how-to-convert-default-gpj-file-to-makefile/22192/5 "2021-02-10T09:51:18Z")

</div>

Hi guys,

waiting for your replies.

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [February 10, 2021, 10:17am UTC](https://forums.digi.com/t/how-to-convert-default-gpj-file-to-makefile/22192/6 "2021-02-10T10:17:40Z")

</div>

This question should be directed to Greenhills. Digi stopped supporting Greenhills compiler many years ago.

---

<div class="post-metadata">

**Author:** ![Usha](https://avatars.discourse-cdn.com/v4/letter/u/e47c2d/32.png) [@Usha](https://forums.digi.com/u/Usha)\
**Post date:** [February 12, 2021, 8:49am UTC](https://forums.digi.com/t/how-to-convert-default-gpj-file-to-makefile/22192/7 "2021-02-12T08:49:57Z")

</div>

I am not able to find green hills forums,If any one know green hills forums then please share me.

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [February 12, 2021, 9:11am UTC](https://forums.digi.com/t/how-to-convert-default-gpj-file-to-makefile/22192/8 "2021-02-12T09:11:47Z")

</div>

honestly, I am not sure GHS is still alive. I’d recommend switching to GNU compiler. You’d be able to use a much newer version of Netos this way. We stopped supporting GHS in Netos 7.4, which at this point is full of bugs and security vulnerabilities.

---

<div class="post-metadata">

**Author:** ![lvs](https://avatars.discourse-cdn.com/v4/letter/l/6f9a4e/32.png) [@lvs](https://forums.digi.com/u/lvs)\
**Post date:** [April 13, 2022, 9:49am UTC](https://forums.digi.com/t/how-to-convert-default-gpj-file-to-makefile/22192/9 "2022-04-13T09:49:30Z")

</div>

The gpjmodify utility is under the compiler directory.  
Use as below:  
C:\GHS\comp\_\gpjmodify default.gpj -generate\_makefile
