* shared libobjc & multilibs ?
@ 1999-05-31 3:07 Helge Hess
1999-05-31 12:07 ` Jeffrey A Law
1999-05-31 21:36 ` Helge Hess
0 siblings, 2 replies; 12+ messages in thread
From: Helge Hess @ 1999-05-31 3:07 UTC (permalink / raw)
To: egcs
Hi there,
what would be the best approach to make egcs support building a shared
libobjc ? I can see that libstdc++ can be build shared and static, so
this should be possible.
Does libstdc++ use this 'multilib' feature or does it use a custom
Makefile ? If so, where can I read more about 'multilibs', the configure
documentation on this topic isn't very extensive ? Is there any less
complicated example of multilibs than libstdc++ ?
Thanks
Helge Hess
--
MDlink online service center
http://www.mdlink.de/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: shared libobjc & multilibs ?
1999-05-31 3:07 shared libobjc & multilibs ? Helge Hess
@ 1999-05-31 12:07 ` Jeffrey A Law
1999-05-31 12:21 ` Marcus G. Daniels
` (2 more replies)
1999-05-31 21:36 ` Helge Hess
1 sibling, 3 replies; 12+ messages in thread
From: Jeffrey A Law @ 1999-05-31 12:07 UTC (permalink / raw)
To: Helge Hess; +Cc: egcs
In message < 37526033.6B800C06@mdlink.de >you write:
> Hi there,
>
> what would be the best approach to make egcs support building a shared
> libobjc ? I can see that libstdc++ can be build shared and static, so
> this should be possible.
>
> Does libstdc++ use this 'multilib' feature or does it use a custom
> Makefile ? If so, where can I read more about 'multilibs', the configure
> documentation on this topic isn't very extensive ? Is there any less
> complicated example of multilibs than libstdc++ ?
See the libiberty makefiles and configure fragments.
jeff
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: shared libobjc & multilibs ?
1999-05-31 12:07 ` Jeffrey A Law
@ 1999-05-31 12:21 ` Marcus G. Daniels
1999-05-31 13:40 ` Jeffrey A Law
1999-05-31 21:36 ` Marcus G. Daniels
1999-05-31 21:36 ` Jeffrey A Law
1999-06-01 6:33 ` Helge Hess
2 siblings, 2 replies; 12+ messages in thread
From: Marcus G. Daniels @ 1999-05-31 12:21 UTC (permalink / raw)
To: Helge Hess; +Cc: egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 534 bytes --]
HH> what would be the best approach to make egcs support building a shared
HH> libobjc ?
JL> See the libiberty makefiles and configure fragments.
I've got a automake/libtool-ified version of libobjc with added
header files for *most* of the required compiler info.¹ It also includes
a heavily-modified version of mframe (from GNUstep), and support for
building Windows DLLs. Let me know if you want it.
¹ I don't think it will work on AIX yet because some of the GCC macros
are difficult to duplicate in a standalone way.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: shared libobjc & multilibs ?
1999-05-31 12:21 ` Marcus G. Daniels
@ 1999-05-31 13:40 ` Jeffrey A Law
1999-05-31 21:36 ` Jeffrey A Law
1999-05-31 21:36 ` Marcus G. Daniels
1 sibling, 1 reply; 12+ messages in thread
From: Jeffrey A Law @ 1999-05-31 13:40 UTC (permalink / raw)
To: Marcus G. Daniels; +Cc: Helge Hess, egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 901 bytes --]
In message < 199905311921.NAA12085@pojoaque.santafe.edu >you write:
>
> HH> what would be the best approach to make egcs support building a shared
> HH> libobjc ?
>
> JL> See the libiberty makefiles and configure fragments.
>
> I've got a automake/libtool-ified version of libobjc with added
> header files for *most* of the required compiler info.¹ It also includes
> a heavily-modified version of mframe (from GNUstep), and support for
> building Windows DLLs. Let me know if you want it.
>
> ¹ I don't think it will work on AIX yet because some of the GCC macros
> are difficult to duplicate in a standalone way.
The person to get in touch with for this stuff would be Ovidiu Predescu
(ovidiu@cup.hp.com) who takes care of most of our ObjC issues.
Note that you'll probably need to get a copyright assignment on file before
we can accept the changes.
jeff
^ permalink raw reply [flat|nested] 12+ messages in thread
* shared libobjc & multilibs ?
1999-05-31 3:07 shared libobjc & multilibs ? Helge Hess
1999-05-31 12:07 ` Jeffrey A Law
@ 1999-05-31 21:36 ` Helge Hess
1 sibling, 0 replies; 12+ messages in thread
From: Helge Hess @ 1999-05-31 21:36 UTC (permalink / raw)
To: egcs
Hi there,
what would be the best approach to make egcs support building a shared
libobjc ? I can see that libstdc++ can be build shared and static, so
this should be possible.
Does libstdc++ use this 'multilib' feature or does it use a custom
Makefile ? If so, where can I read more about 'multilibs', the configure
documentation on this topic isn't very extensive ? Is there any less
complicated example of multilibs than libstdc++ ?
Thanks
Helge Hess
--
MDlink online service center
http://www.mdlink.de/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: shared libobjc & multilibs ?
1999-05-31 12:21 ` Marcus G. Daniels
1999-05-31 13:40 ` Jeffrey A Law
@ 1999-05-31 21:36 ` Marcus G. Daniels
1 sibling, 0 replies; 12+ messages in thread
From: Marcus G. Daniels @ 1999-05-31 21:36 UTC (permalink / raw)
To: Helge Hess; +Cc: egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 534 bytes --]
HH> what would be the best approach to make egcs support building a shared
HH> libobjc ?
JL> See the libiberty makefiles and configure fragments.
I've got a automake/libtool-ified version of libobjc with added
header files for *most* of the required compiler info.¹ It also includes
a heavily-modified version of mframe (from GNUstep), and support for
building Windows DLLs. Let me know if you want it.
¹ I don't think it will work on AIX yet because some of the GCC macros
are difficult to duplicate in a standalone way.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: shared libobjc & multilibs ?
1999-05-31 13:40 ` Jeffrey A Law
@ 1999-05-31 21:36 ` Jeffrey A Law
0 siblings, 0 replies; 12+ messages in thread
From: Jeffrey A Law @ 1999-05-31 21:36 UTC (permalink / raw)
To: Marcus G. Daniels; +Cc: Helge Hess, egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 901 bytes --]
In message < 199905311921.NAA12085@pojoaque.santafe.edu >you write:
>
> HH> what would be the best approach to make egcs support building a shared
> HH> libobjc ?
>
> JL> See the libiberty makefiles and configure fragments.
>
> I've got a automake/libtool-ified version of libobjc with added
> header files for *most* of the required compiler info.¹ It also includes
> a heavily-modified version of mframe (from GNUstep), and support for
> building Windows DLLs. Let me know if you want it.
>
> ¹ I don't think it will work on AIX yet because some of the GCC macros
> are difficult to duplicate in a standalone way.
The person to get in touch with for this stuff would be Ovidiu Predescu
(ovidiu@cup.hp.com) who takes care of most of our ObjC issues.
Note that you'll probably need to get a copyright assignment on file before
we can accept the changes.
jeff
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: shared libobjc & multilibs ?
1999-05-31 12:07 ` Jeffrey A Law
1999-05-31 12:21 ` Marcus G. Daniels
@ 1999-05-31 21:36 ` Jeffrey A Law
1999-06-01 6:33 ` Helge Hess
2 siblings, 0 replies; 12+ messages in thread
From: Jeffrey A Law @ 1999-05-31 21:36 UTC (permalink / raw)
To: Helge Hess; +Cc: egcs
In message < 37526033.6B800C06@mdlink.de >you write:
> Hi there,
>
> what would be the best approach to make egcs support building a shared
> libobjc ? I can see that libstdc++ can be build shared and static, so
> this should be possible.
>
> Does libstdc++ use this 'multilib' feature or does it use a custom
> Makefile ? If so, where can I read more about 'multilibs', the configure
> documentation on this topic isn't very extensive ? Is there any less
> complicated example of multilibs than libstdc++ ?
See the libiberty makefiles and configure fragments.
jeff
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: shared libobjc & multilibs ?
1999-05-31 12:07 ` Jeffrey A Law
1999-05-31 12:21 ` Marcus G. Daniels
1999-05-31 21:36 ` Jeffrey A Law
@ 1999-06-01 6:33 ` Helge Hess
1999-06-01 8:46 ` Jeffrey A Law
1999-06-30 15:43 ` Helge Hess
2 siblings, 2 replies; 12+ messages in thread
From: Helge Hess @ 1999-06-01 6:33 UTC (permalink / raw)
To: law; +Cc: egcs
Jeffrey A Law wrote:
> In message <37526033.6B800C06@mdlink.de>you write:
> > Hi there,
> >
> > what would be the best approach to make egcs support building a shared
> > libobjc ? I can see that libstdc++ can be build shared and static, so
> > this should be possible.
> >
> > Does libstdc++ use this 'multilib' feature or does it use a custom
> > Makefile ? If so, where can I read more about 'multilibs', the configure
> > documentation on this topic isn't very extensive ? Is there any less
> > complicated example of multilibs than libstdc++ ?
> See the libiberty makefiles and configure fragments.
libiberty isn't built as a shared library (at least not, when specifying
--enable-shared). I had a look at some makefiles in gcc and it seems to
me that multilibs aren't the right thing to build static and shared
library-versions. I have the impression (I don't fully understand the
gcc makefiles) that shared compilation needs to be supported 'by-hand'
in the appropriate Makefile.in's.
libstdc++ is the only library which is also build shared on my system,
so it seems I'll need to have a look at this.
Helge
--
MDlink online service center
http://www.mdlink.de/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: shared libobjc & multilibs ?
1999-06-01 6:33 ` Helge Hess
@ 1999-06-01 8:46 ` Jeffrey A Law
1999-06-30 15:43 ` Jeffrey A Law
1999-06-30 15:43 ` Helge Hess
1 sibling, 1 reply; 12+ messages in thread
From: Jeffrey A Law @ 1999-06-01 8:46 UTC (permalink / raw)
To: Helge Hess; +Cc: egcs
In message < 3753E1F2.6C5CBF0B@mdlink.de >you write:
> libiberty isn't built as a shared library (at least not, when specifying
> --enable-shared).
But most of the hooks one needs to build a shared library can be found in
libiberty. In particular the code to set up and build both static and sharable
versions of each .o file for each multilib.
> I had a look at some makefiles in gcc and it seems to
> me that multilibs aren't the right thing to build static and shared
> library-versions.
You are correct. multilibs are for dealing with processor variants. If you
want to build shared libraries, you would basically need to build one for each
already existing multilib.
> I have the impression (I don't fully understand the
> gcc makefiles) that shared compilation needs to be supported 'by-hand'
> in the appropriate Makefile.in's.
It's going to need a little work -- it's not going to "just work".
> libstdc++ is the only library which is also build shared on my system,
> so it seems I'll need to have a look at this.
You'll have to look at it for some of the changes, but I strongly recommend
also
reviewing libiberty.
jeff
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: shared libobjc & multilibs ?
1999-06-01 6:33 ` Helge Hess
1999-06-01 8:46 ` Jeffrey A Law
@ 1999-06-30 15:43 ` Helge Hess
1 sibling, 0 replies; 12+ messages in thread
From: Helge Hess @ 1999-06-30 15:43 UTC (permalink / raw)
To: law; +Cc: egcs
Jeffrey A Law wrote:
> In message <37526033.6B800C06@mdlink.de>you write:
> > Hi there,
> >
> > what would be the best approach to make egcs support building a shared
> > libobjc ? I can see that libstdc++ can be build shared and static, so
> > this should be possible.
> >
> > Does libstdc++ use this 'multilib' feature or does it use a custom
> > Makefile ? If so, where can I read more about 'multilibs', the configure
> > documentation on this topic isn't very extensive ? Is there any less
> > complicated example of multilibs than libstdc++ ?
> See the libiberty makefiles and configure fragments.
libiberty isn't built as a shared library (at least not, when specifying
--enable-shared). I had a look at some makefiles in gcc and it seems to
me that multilibs aren't the right thing to build static and shared
library-versions. I have the impression (I don't fully understand the
gcc makefiles) that shared compilation needs to be supported 'by-hand'
in the appropriate Makefile.in's.
libstdc++ is the only library which is also build shared on my system,
so it seems I'll need to have a look at this.
Helge
--
MDlink online service center
http://www.mdlink.de/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: shared libobjc & multilibs ?
1999-06-01 8:46 ` Jeffrey A Law
@ 1999-06-30 15:43 ` Jeffrey A Law
0 siblings, 0 replies; 12+ messages in thread
From: Jeffrey A Law @ 1999-06-30 15:43 UTC (permalink / raw)
To: Helge Hess; +Cc: egcs
In message < 3753E1F2.6C5CBF0B@mdlink.de >you write:
> libiberty isn't built as a shared library (at least not, when specifying
> --enable-shared).
But most of the hooks one needs to build a shared library can be found in
libiberty. In particular the code to set up and build both static and sharable
versions of each .o file for each multilib.
> I had a look at some makefiles in gcc and it seems to
> me that multilibs aren't the right thing to build static and shared
> library-versions.
You are correct. multilibs are for dealing with processor variants. If you
want to build shared libraries, you would basically need to build one for each
already existing multilib.
> I have the impression (I don't fully understand the
> gcc makefiles) that shared compilation needs to be supported 'by-hand'
> in the appropriate Makefile.in's.
It's going to need a little work -- it's not going to "just work".
> libstdc++ is the only library which is also build shared on my system,
> so it seems I'll need to have a look at this.
You'll have to look at it for some of the changes, but I strongly recommend
also
reviewing libiberty.
jeff
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~1999-06-30 15:43 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-05-31 3:07 shared libobjc & multilibs ? Helge Hess
1999-05-31 12:07 ` Jeffrey A Law
1999-05-31 12:21 ` Marcus G. Daniels
1999-05-31 13:40 ` Jeffrey A Law
1999-05-31 21:36 ` Jeffrey A Law
1999-05-31 21:36 ` Marcus G. Daniels
1999-05-31 21:36 ` Jeffrey A Law
1999-06-01 6:33 ` Helge Hess
1999-06-01 8:46 ` Jeffrey A Law
1999-06-30 15:43 ` Jeffrey A Law
1999-06-30 15:43 ` Helge Hess
1999-05-31 21:36 ` Helge Hess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).