bug-libtool
[Top][All Lists]
Advanced

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

Re: support for 'tcc'


From: Gary V. Vaughan
Subject: Re: support for 'tcc'
Date: Wed, 19 Nov 2003 18:30:52 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simon Josefsson wrote:
| I tried tcc <http://fabrice.bellard.free.fr/tcc/> on my project, but I
| had to specify --disable-shared for things to work.  The -shared
| parameter is supported by tcc, but -soname and -rpath are not.
|
| If I remove -soname and -rpath from $archive_cmds,
| $archive_expsym_cmds, and $hardcode_libdir_flag_spec in the generated
| libtool, everything works fine.  Is it possible to support shared
| libraries with tcc as well?

I think you would need to enhance libtool.m4 to check whether the compiler
supports -soname and -rpath, and then in all the places where it currently
adds them blindly to a config var, you should add them conditionally based on
the outcome of the tests.

Cheers,
        Gary.
- --
~  ())_.  Gary V. Vaughan    gary@(lilith.warpmail.net|gnu.org)
~  ( '/   Research Scientist http://www.oranda.demon.co.uk       ,_())____
~  / )=   GNU Hacker         http://www.gnu.org/software/libtool  \'      `&
`(_~)_   Tech' Author       http://sources.redhat.com/autobook   =`---d__/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/u7bcFRMICSmD1gYRAo/wAJ4zz3idbxhfGfFEGh5Y4vQ97/k+6QCgg3Xm
2U5inSEz82hmLamzUXUk3sk=
=rF7H
-----END PGP SIGNATURE-----





reply via email to

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