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: "Rupert Wood" <me at rupey dot net>
- To: "'Milind Kulkarni'" <milind at tspl dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 16 Jul 2003 09:15:18 +0100
- Subject: RE: Unknown option "--traditional-format" ignored
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.
Good luck,
Rup.