HP3000-L Archives

April 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Klein <[log in to unmask]>
Reply To:
Mark Klein <[log in to unmask]>
Date:
Tue, 21 Apr 1998 14:57:04 PDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
Lars asks:

>shell/iX> gcc helloworld.c
>WARNING: /tmp/cca665071.o HAS FILECODE 0

>Does anybody have an idea how to teach gcc to create files with NMOBJ
>filecode or otherwise suppress above warning during the linking
>stage?

I'd actually like to figure out some way to make the Linkeditor quit
complaining because it obviously works correctly, even though the
NMOBJ file code doesn't exist. That would be my ideal solution.

There is an alternative which the Netscape porting team is using, that
that's to modify the /etc/ld.ccg script to create an NMOBJ file using
the :BUILD command and to copy the .o produced by gcc into it.

As far as changing gcc to automatically do that, I could, but then I'd
have to start customizing portions of the code that aren't part of the
normal customization stuff for a port. This type of change would have to
have platform specific #ifdefs around it, and this is not part of the
"accepted way".

ATOM RSS1 RSS2