From: dmcneill AT pne DOT co DOT uk (Dave McNeill) Newsgroups: comp.os.msdos.djgpp Subject: Re: PGCC Update Date: Wed, 21 May 1997 11:31:42 GMT Message-ID: <3382dc4d.10504866@news.demon.co.uk> References: <199705202219 DOT AA239306756 AT typhoon DOT rose DOT hp DOT com> NNTP-Posting-Host: firewall.futurenet.co.uk Lines: 31 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Tue, 20 May 1997 22:19:15 GMT, Andrew Crabtree wrote: >I still don't know exactly what this is. >Through experimentation I have found out that the DJGPP as will accept align >values from 1-15. PGCC outputs align values of 16 for -m486 and -mpentiumpro >which will stop your compilation (align value too large, 15 assumed). >I checked the as that I built as a >cross-assembler from unix and it behaves differently. It only allows align >values of 1,2,4,8, and 16, and will complain about anything else ( .align 3, which djs >accepts, errors with 'not a power of 2'). I rebuilt >as for DJGPP from the bin-utils2.7 sources and (my copy anyway) it now works on the > 1,2,4,8,16 scale. Doing >an as -v on both of them yields the exact same results, so I assume they were >built from the same sources. I am at a loss to explain the difference. >I'll put together a new zip file containing just the replacement as.exe, and >it should appear on the pcg pages just as soon as I tell them about it. It will not >be tested very well, so hackers only. If anyone knows a way that I can >inspect the coff output of the assemblers to see exactly what is going on >I would appreciate the knowledge. Also, if anyone knows more about >how .align works on standard djgpp as I would appreciate the info as well. > >Andrew there is some info in 'info as pseudo align'. None of seems to pertain to DJGPP, although it does hint at why there different as'es behave differently: 'This inconsistency is due to the different behaviors of the various native assemblers for these systems which GAS must emulate.'