This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]