libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtool LynxOS support


From: Ralf Wildenhues
Subject: Re: Libtool LynxOS support
Date: Wed, 7 Feb 2007 20:39:31 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* Ralf Wildenhues wrote on Wed, Feb 07, 2007 at 08:35:22PM CET:
> * Olli Savia wrote on Wed, Feb 07, 2007 at 09:23:51AM CET:
[...]
> > *** libltdl/m4/libtool.m4   5 Feb 2007 19:40:18 -0000       1.90
> > --- libltdl/m4/libtool.m4   6 Feb 2007 09:58:34 -0000
> [...]
> > ***************
> > *** 3427,3432 ****
> > --- 3441,3450 ----
> >         # Interix 3.x gcc -fpic/-fPIC options generate broken code.
> >         # Instead, we relocate shared libraries at runtime.
> >         ;;
> > +     lynxos*)
> > +       # LynxOS uses GNU C++, but need to define -mshared option too
> > +       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -mshared'
> > +       ;;
> 
> Is that on purpose that you write "GNU C++" here?  I.e., do you use the
> C++ compiler driver g++ for compiling all code, even C code?  If yes,
> why?  (Several instances.)

Hmm.  That comment was meant to apply to the C specific part of the
_LT_COMPILER_PIC macro, not the C++ specific part.  D'oh.  Sorry.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]