🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41369

Problem with gcc and -A command line switch

#41369
From: James Card
Date: Mon, 01 Apr 1996 00:00
28 lines
1262 bytes
I have installed gcc 2.7.2 on an HPUX system (OS version 10.01) and
when I compile anything with the -A switch I get the following:

*Initialization*:1: missing token-sequence in `#assert'

This isn't a command line switch that I normally use, but some
packages try to use it (X-Windows 6.1 for example).  I have built gcc
using:

configure --with-gnu-as
make LANGUAGES=c
make stage1
make LANGUAGES=c CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O2"
make stage2
make CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O2"

when I cd to stage2 and do "xgcc -Aa test.c" I get the above error
message.

I did install the bintools package before hand.  If I stay away from
the -A switch all seems fine, but as I mentioned there are several
packages that try to use it.

The system I have (as reported by config) is:
hppa1.1-hp-hpux10.01

Thanks in advance...
jC
Technical Details
Message-ID: <4jomdm$mv8@axl02it.ntc.nokia.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,7e9b135082e6d565,start
X-Google-Attributes: gid11318c,public
From: james.card@ntc.nokia.com (James Card)
Subject: Problem with gcc and -A command line switch
Date: 1996/04/01
Message-ID: <4jomdm$mv8@axl02it.ntc.nokia.com>
X-Deja-AN: 145415857
organization: Nokia Telecommunications Corporation
newsgroups: gnu.gcc.help