make vs gmake issue

Have a question about our Software Developer Kit? Ask them here.

make vs gmake issue

Postby xenic » Fri Jul 20, 2018 7:53 pm

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
xenic
 
Posts: 1146
Joined: Sun Jun 19, 2011 1:06 am

Re: make vs gmake issue

Postby broadblues » Fri Jul 20, 2018 11:03 pm

Cygnix mangling your environment variables is not (g)makes problem.
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 538
Joined: Sat Jun 18, 2011 3:40 am
Location: Portsmouth, UK

Re: make vs gmake issue

Postby xenic » Sat Jul 21, 2018 3:40 pm

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
xenic
 
Posts: 1146
Joined: Sun Jun 19, 2011 1:06 am


Return to SDK Support

Who is online

Users browsing this forum: No registered users and 6 guests

cron