Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
53 user(s) are online (11 user(s) are browsing News)

Members: 0
Guests: 53

more...

Support us!

Headlines


Recent Replied Topics
Topic Replies Last Post  
AmigaOS4 Mesa bug thread 8 (489) kas1e Today 3:49
AmigaOS4 Mesa glmark2 scores [1][2] 29 (1073) 328gts Today 1:32
AmigaOS4 Xash3d (HalfLife) [1][2] 35 (2547) Cageman Today 1:31
AmigaOS4 SDL2 [1][2] ... [73][74][75][76] 1515 (752271) kas1e Yesterday 19:40
Amiga Classic PiStorm and 3D Hardware [1][2] 28 (3179) TheMagicSN Yesterday 19:09
Amiga Classic UrbX Warriors for Amiga and Megadrive Kickstarter campaign. 1 (106) ddni 8/22 22:02
AmigaOS4 Shaderjoy 1.26 [1][2] ... [21][22][23][24] 475 (201247) Capehill 8/22 18:34
Amiga General Forum Vintage Computer Federation-GB meeting 0 (51) AmigaOldie 8/22 17:55
Amiga General Forum North East Amiga Group August 15th 2026 Meeting 1 (205) AmigaOldie 8/22 17:52
AmigaOS4 Emulation Kyvos was updated [1][2] ... [11][12][13][14] 279 (42849) walkero 8/22 12:25
AmigaOS4 The Pragtical code editor got released 10 (1094) walkero 8/22 10:56
AmigaOS4 Can my X5040 search for available networks? 3 (313) mdcatdad 8/21 21:57
AmigaOS4 ignitionOS4 [1][2] 24 (1335) virgola 8/21 14:37
AmigaOS4 beta AmiYT - another YouTube video player/manager 15 (950) pjs 8/21 13:26
AmigaOS4 USBAudio 2.5 2 (303) afxgroup 8/20 17:33
[ Free for all]  [ Too Hot To Handle]  [ Classifieds]       [View all Topics]  [View all Forums]  [Forum Settings]
Software News : GNU make for OS4 Updated
Posted by ssolie on 2007/1/2 17:50:00 (2461 reads) News by the same author
Software News

Changes include:
- now uses case-sensitive comparisons no matter what the underlying file system is capable of for maximum compatibility during porting (thanks Henning Nielsen Lund)
- removed workaround for shell 51.x
- removed support for AmigaOS device names; it is just impossible to parse out targets from device names (thanks Thore B?ckelmann)
- now uses getopt() from clib2
- cleaned up Makefile.AmigaOS

Grab the latest version from OS4Depot and let me know if you find any problems with it.

Printer friendly page Send this story to a friend
The comments are owned by the author. We aren't responsible for their content.
Author Thread
broadblues
Published: 2007/1/2 20:02  Updated: 2007/1/2 20:03
Home away from home
Joined: 12/04/2006
From:
Comments: 2407
 Re: GNU make for OS4 Updated
Thanks for the update.

I get two problem with this version.

1. The AWeb make build process stalls after the dependency generation, seeming to hang for several minutes before returning with an error 127.

2. There seem to be a problem with search paths. I also get this with the version I currently use, (dated 02 apr 06).

It seems to happen at random but sometime the search path for external commands appears corrupted.
For example when building a test of snoopdos from CVS I get a requester to insert volume /ggc/bin: earlier in the day I got a request for "ImageFX4: (leading quote intended). ImagesFX4: is never in my path (let alone the corrupt version with a leading ") so I suspect the path being passef to the subprocess is corrupted.
spotUP
Published: 2007/1/2 21:07  Updated: 2007/1/2 21:07
Just can't stay away
Joined: 11/26/2006
From:
Comments: 1494
 Re: GNU make for OS4 Updated
getopt() is very welcome! thanx!
ssolie
Published: 2007/1/2 22:28  Updated: 2007/1/2 22:28
Amigans Defender
Joined: 11/26/2006
From: Canada
Comments: 986
 Re: GNU make for OS4 Updated
@broadblues
Quote:
The AWeb make build process stalls after the dependency generation, seeming to hang for several minutes before returning with an error 127.

This version no longer allows AmigaOS-style device names in targets or dependencies. If gcc is outputting "SDK:blah" or similar it will now fail. The next GCC will have a fix for this. Check your dependency files do not have any AmigaOS-style paths in them. Perhaps you can use version 3.81-4 to work around the problem until the updated SDK appears?

Quote:
It seems to happen at random but sometime the search path for external commands appears corrupted.

The "ImageFX4:" thing turned out to be incorrect environ setup problem which is fixed since version 3.81-4 and should not occur now. It had nothing to do with PATH setup.
broadblues
Published: 2007/1/2 23:39  Updated: 2007/1/2 23:39
Home away from home
Joined: 12/04/2006
From:
Comments: 2407
 Re: GNU make for OS4 Updated
Quote:

Quote:

The AWeb make build process stalls after the dependency generation, seeming to hang for several minutes before returning with an error 127.

This version no longer allows AmigaOS-style device names in targets or dependencies. If gcc is outputting "SDK:blah" or similar it will now fail. The next GCC will have a fix for this. Check your dependency files do not have any AmigaOS-style paths in them. Perhaps you can use version 3.81-4 to work around the problem until the updated SDK appears?



They don't, I work arround gcc emiting amigaos paths by using -MM in dependancy generation.

Quote:

Quote:

It seems to happen at random but sometime the search path for external commands appears corrupted.

The "ImageFX4:" thing turned out to be incorrect environ setup problem which is fixed since version 3.81-4 and should not occur now. It had nothing to do with PATH setup.


I definetely got a request for a bogus path element since using the latest make. Will try some more tests to see.
broadblues
Published: 2007/1/3 0:02  Updated: 2007/1/3 0:03
Home away from home
Joined: 12/04/2006
From:
Comments: 2407
 Re: GNU make for OS4 Updated
Quote:

Perhaps you can use version 3.81-4 to work around the problem until the updated SDK appears?


I have been usinf 3.81-3, -4 also did not work for AWeb.

However with some more testing I discovered that it only the output to stdout that is suspended the actuall build process still continues!

Quote:

I definetely got a request for a bogus path element since using the latest make. Will try some more tests to see.


With some direct comparisons with my old make and the most recent version that the "ImageFX4: and /gcc/bin: problems are different things.

The ImageFX one has indeed gone from the new make but, looking at the output from snoopy, gcc itdelf appears to be trying to lock

"/gcc/bin:/SDK/C:/C/gcc" which looks like an entire $PATH variable has been appended to the gcc filename rather than just the first section.

So this looks to be a gcc rather than make prblem.
hnl_dk
Published: 2007/1/3 6:55  Updated: 2007/1/3 6:55
Just popping in
Joined: 11/16/2006
From: Denmark
Comments: 74
 Re: GNU make for OS4 Updated
Quote:
So this looks to be a gcc rather than make prblem.

it is a gcc problem, and has been fixed in the adtools SVN Repository. There should be a fixed version in the next SDK release.
hnl_dk
Published: 2007/1/3 6:55  Updated: 2007/1/3 6:55
Just popping in
Joined: 11/16/2006
From: Denmark
Comments: 74
 Re: GNU make for OS4 Updated
working great here.
Thanks for your great work Steven
hnl_dk
Published: 2007/1/3 6:59  Updated: 2007/1/3 6:59
Just popping in
Joined: 11/16/2006
From: Denmark
Comments: 74
 Re: GNU make for OS4 Updated
@spotUP
Quote:
getopt() is very welcome! thanx!

It is "just" that make/gmake does now use the clib2 version of getopt() instead of the gnulib version (at least I guess so).
saimo
Published: 2007/1/3 20:21  Updated: 2007/1/3 20:21
Quite a regular
Joined: 12/06/2006
From: Italy
Comments: 870
 Re: GNU make for OS4 Updated
@ssolie

I just adapted my makefiles to avoid AmigaOS-style device names and tested the new make with lots of stuff: works perfectly
I noticed that the commandline handling does not support options after targets anymore, but after all that's the way it is supposed to be according to make's official documentation, so that's OK

Thanks a lot!

saimo
General
Site sponsors
 
Contact us on discord to advertise here.

Site statistics
Registered members
  1801
Logged in last:
  24 hours, 79
  7 days, 143
  30 days, 195

Random Photo
Atez with SilverBlue v0.8

New Articles List

New Members
slacko1
slacko1 07/24/2026
Slacky64
Slacky64 07/23/2026
RetroMike
RetroMike 07/21/2026
AmigaAmbassador
AmigaAmbassador 07/12/2026
Opus
Opus 07/12/2026
kaffeine
kaffeine 06/12/2026
fidelware
fidelware 06/01/2026
Kirirur
Kirirur 05/31/2026
MTAmiga
MTAmiga 04/28/2026
akleinert
akleinert 04/26/2026


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project