Adam Treat
2005-Feb-21 00:42 UTC
[LLVMdev] Patch to make gccld link native .so's, -rpath, -soname, and various assorted fixes
Hello, I have a patch that: 1. Allows gccld to link shared libraries natively.. 2. Passes along -rpath and -soname to the native linker... 3. Fixes a bug where the bytecode files were kept around after native linking... 4. Removes a now unnecessary warning for native linking... The result is that we are >' '< close to having Qt4 both compile *and* link with the LLVM toolchain. The small remaining hurdle has to do with undefined references that worked around inline assembly in Qt4 as well as a problem with generics in QTextCodecPlugin. I've attached the Linker patch as well as the output of the linker (the undefined references) when linking uic to QtCore and QtXml. Adam Treat -------------- next part -------------- A non-text attachment was scrubbed... Name: linker.diff.gz Type: application/x-gzip Size: 3048 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050220/3eb7cfe6/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: outfile.gz Type: application/x-gzip Size: 16363 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050220/3eb7cfe6/attachment-0001.bin>
Mike Hearn
2005-Feb-21 17:46 UTC
[LLVMdev] Re: Patch to make gccld link native .so's, -rpath, -soname, and various assorted fixes
On Sun, 20 Feb 2005 19:42:34 -0500, Adam Treat wrote:> The result is that we are >' '< close to having Qt4 both compile *and* link > with the LLVM toolchain.Wow, cool! Mind if I ask what is motivating this work? thanks -mike
On Monday 21 February 2005 12:46 pm, Mike Hearn wrote:> On Sun, 20 Feb 2005 19:42:34 -0500, Adam Treat wrote: > > The result is that we are >' '< close to having Qt4 both compile *and* > > link with the LLVM toolchain. > > Wow, cool! Mind if I ask what is motivating this work?Essentially, I am very interested in LLVM and want it to work with Qt4 as well as KDE. I'm excited by the idea of using LLVM as the basis for a more rigorous language bindings solution.
Maybe Matching Threads
- [LLVMdev] Re: Patch to make gccld link native .so's, -rpath, -soname, and various assorted fixes
- [LLVMdev] Revised patch to make gccld link native .so's
- [LLVMdev] Re: Patch to make gccld link native ...
- shared libraries: missing soname
- Ports and WITH_LIBCPLUSPLUS