This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Unknown option "--traditional-format" ignored
- From: LLeweLLyn Reese <llewelly at lifesupport dot shutdown dot com>
- To: "Rupert Wood" <me at rupey dot net>
- Cc: "'Milind Kulkarni'" <milind at tspl dot com>, <gcc-help at gcc dot gnu dot org>
- Date: 18 Jul 2003 13:16:19 -0700
- Subject: Re: Unknown option "--traditional-format" ignored
- References: <E19chRG-000JPl-0Y@anchor-post-34.mail.demon.net>
"Rupert Wood" <me@rupey.net> writes:
> Milind Kulkarni wrote:
>
> (I'm a bit behind on gcc on HP/UX but ...)
>
> > as: warning 2: Unknown option "--traditional-format" ignored.
>
> It looks like GCC thinks it's talking to the GNU assembler when in fact it's
> using the HP bundled assembler. IIRC the bundled assembler can't emit
> debugging information so you're well advised to get the GNU assembler from
> the binutils package. Once you have that GCC should just work.
>
> Alternatively, you can rebuild GCC yourself from source to expect the
> bundled assembler but it takes a bit of manual intervention - the bundled
> assembler embeds timestamps, for example, so the usual GCC bootstrap trips
> comparing stages 2 and 3 when the object code might actually match. And
> chances are the odd ISO-ism has crept into the source so it might not build
> using HP bundled C straight out of the box.
[snip]
I'm not famaliar with HPUX at all. But
http://gcc.gnu.org/install/specific.html#hppa*-hp-hpux11
seems helpful. In particular, it has a link to hpux binaries, so
one needn't rely on the bundled HP C, which has a bad reputation
in gcc forums.