make vs gmake issue

Have a question about our Software Developer Kit? Ask them here.
Post Reply
xenic
Posts: 1165
Joined: Sun Jun 19, 2011 12:06 am

make vs gmake issue

Post by xenic »

SDK:Documentation/Tools/Make/README.AmigaOS file states:

"The make executable defaults to using AmigaShell to execute commands.
This is the version to use for Amiga-specific projects."

That's no longer completely true. No make version since make v3.81r2-4 from SDK v51.22 handles Amiga paths correctly throughout the makefile. The problem with make v3.81r2-4 is that it can find environmental variables like SHELL in an ENVARC:Cygnix directory and open DOS requesters for "Cygnix:". Could someone update the current make command to work as stated in the docs or fix the old make v3.81r2-4 and include that in the SDK?
AmigaOne X1000 with 2GB memory - OS4.1 FE
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 591
Joined: Sat Jun 18, 2011 2:40 am
Location: Portsmouth, UK
Contact:

Re: make vs gmake issue

Post by broadblues »

Cygnix mangling your environment variables is not (g)makes problem.
xenic
Posts: 1165
Joined: Sun Jun 19, 2011 12:06 am

Re: make vs gmake issue

Post by xenic »

broadblues wrote:Cygnix mangling your environment variables is not (g)makes problem.
Cygnix has all it's environmental variable in the Cygnix sub-directory of ENV: (& ENVARC:). I don't think make v3.81r2-4 should be getting environmental variables from another application's directory in ENV. The make sources were included in that old SDK, so I'll check what's going on when I get a chance.
AmigaOne X1000 with 2GB memory - OS4.1 FE
Post Reply