This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Error: unknown pseudo-op: `.section'
- From: Nick Clifton <nickc at redhat dot com>
- To: Robert Millan <zeratul2 at wanadoo dot es>
- Cc: bug-binutils at gnu dot org, gcc-help at gcc dot gnu dot org
- Date: Wed, 11 Jun 2003 08:47:52 -0400
- Subject: Re: Error: unknown pseudo-op: `.section'
- References: <20030610002428.GA443@aragorn>
Hi Robert,
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
> I'm getting this error when compiling GCC 3.2.1 under NetBSD. Note that
> this only happens when crosscompiling, otherwise the build works fine.
Crosscompiling to which target ?
> /var/tmp//ccd9VWeZ.s: Assembler messages:
> /var/tmp//ccd9VWeZ.s:2: Error: unknown pseudo-op: `.section'
Can you post a copy of this assembler source for us to look at please ?
(If it is large, please try to find a smaller test case, or just post a
fragment containing the erroneous .section directive.
Also please could you run gcc with the -v switch and post the command
line that it is using to invoke the assembler.
Cheers
Nick
Date: Wed, 11 Jun 2003 13:44:43 +0100
In-Reply-To: <20030610002428.GA443@aragorn> (Robert Millan's message of
"Tue, 10 Jun 2003 02:24:28 +0200")
Message-ID: <m33cig7phg.fsf@redhat.com>
User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (gnu/linux)