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

Re: OpenInventor on SUN, X error

To: Loring Holden <lsh@xxxxxxxxxxxx>
Subject: Re: OpenInventor on SUN, X error
From: Alexandre Naaman <naaman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 8 Feb 2001 14:19:05 -0800
Cc: Jonathan Lim <jlim@xxxxxxxxxxxxxxxxxxxx>, connolsv@xxxxxxxx, info-inventor-dev@xxxxxxxxxxx
In-reply-to: <200102082216.RAA20539@xxxxxxxxxxxxxxxxxxx>
Sender: owner-info-inventor-dev@xxxxxxxxxxx
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>