info-inventor-dev
[Top] [All Lists]

RE: OpenInventor on SUN, X error

To: Loring Holden <lsh@xxxxxxxxxxxx>, "'Alexandre Naaman'" <naaman@xxxxxxxxxxxxxxxxxxxx>
Subject: RE: OpenInventor on SUN, X error
From: "Connolly, Steven V." <connolsv@xxxxxxxx>
Date: Thu, 8 Feb 2001 17:54:27 -0500
Cc: Jonathan Lim <jlim@xxxxxxxxxxxxxxxxxxxx>, info-inventor-dev@xxxxxxxxxxx
Sender: owner-info-inventor-dev@xxxxxxxxxxx
   I dont think the file suffixes should determine what environment is used
(g++, etc.) and temporary copies can cause problems when an error stops the
Makefile. Links are ok with me but I would have difficulty trying to update
the GNUMakefile's that come with OpenInventor to do that. It might be easier
to write some scripts that change the names. They only have to be executed
once.

> ----------
> From:         Alexandre Naaman[SMTP:naaman@xxxxxxxxxxxxxxxxxxxx]
> Sent:         Thursday, February 08, 2001 5:19 PM
> To:   Loring Holden
> Cc:   Jonathan Lim; connolsv@xxxxxxxx; info-inventor-dev@xxxxxxxxxxx
> Subject:      Re: OpenInventor on SUN,  X error
> 
> On Thu, 8 Feb 2001, Loring Holden wrote:
> 
> > > On Thu, 8 Feb 2001, Jonathan Lim wrote:
> > > 
> > > > On Thu Feb  8 13:13:26 2001, connolsv@xxxxxxxx wrote:
> > > > > 
> > > > >     - the SUN C++ compiler does not like the ".c++" suffix so I
> had to
> > > > >       rename such files to end in ".cc".
> > > > 
> > > > How about making symbolic links instead? It's too much of a pain to
> > > > rename all the files.
> > > 
> > > or ... define a new rule for the compiler and tell it how to go from a
> > > .c++ to a .o.
> > 
> > It's not a Makefile issue, but a compiler problem, so this won't work.
> The
> > compiler gives the following error:
> > CC: Invalid input file name test.c++, no output generated for this file.
> > 
> > The only way to deal w/ this is to use a different file suffix.
> 
> Well that sucks eh? :)
> 
> Why not just switch platforms then?
> 
> But seriously, you could define a rule that renamed the file to .cc just
> long enough to generate a .o?
> 
> Or ... why not just use g++?
> 
> A+,
> 
> Alex.
> 
> --
> Alexandre Naaman - naaman@xxxxxxx - La conformite est la mort de l'ame. 
> 

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