lkcd
[Top] [All Lists]

Re: Compiling on SunOS

To: Luc Chouinard <lucc@xxxxxxx>
Subject: Re: Compiling on SunOS
From: "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
Date: Mon, 16 Jul 2001 16:45:44 -0700
Cc: Hiro Sugawara <hsugawar@xxxxxxxxxxx>, lkcd@xxxxxxxxxxx
Organization: Alacritech, Inc.
References: <F13508319A1CD41187DE00508BACED6A020673A8@cs2ex.brocade.com> <3B5349C1.DE76E607@sgi.com>
Sender: owner-lkcd@xxxxxxxxxxx
To take this a step further, what lex/yacc revision are you using?
And is this an RPM-based user-land, and if so, which RPMs?

If this is as simple as changing 'yacc' to 'bison', that's easy,
but if you're using the same lex/yacc revision that is commonly
used on x86 RH systems, then we've got a whole other problem to
solve.

--Matt

Luc Chouinard wrote:
> 
> Hiro, I did a checkin last week on sourceforge to fix a problem with
> using the bison parser instead of yacc. Make sure you cvs/update with
> the latest. If you are running with the latest, then send me the error
> messages that you get I'll check it out.
> 
> Let me know,
> 
> Hiro Sugawara wrote:
> >
> > Hi!
> >
> > I am porting LKCD to our embedded PPC Linux with SunOS 5 as the
> > host. With modified gdbserver as an agent, lcrash can now show
> > ps, backtrace process stack, disassemble the code, and do other
> > things on a live kernel.
> >
> > One big problem is that the lex and yacc files do not compile
> > well on SunOS. I work around this problem by using Linux to
> > produce *.c files from the source and then copying those files
> > by hand.
> >
> > Does anybody have encountered (and hopefully solved) this
> > problem?
> >
> > hiro
> 
> --
> Luc

<Prev in Thread] Current Thread [Next in Thread>