how to convert default.gpj file to Makefile

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

“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”

Thanx for answers.

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?

Hi guys,

waiting for your replies.

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

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

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.

The gpjmodify utility is under the compiler directory.
Use as below:
C:\GHS\comp_\gpjmodify default.gpj -generate_makefile