OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 4:39 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Multiboot linking with LLD
PostPosted: Thu Aug 06, 2020 7:16 pm 
Offline

Joined: Thu Aug 06, 2020 7:03 pm
Posts: 3
Hi,

I am new to the forum, and I am interested in compiling and linking a multiboot binary with LLVM/clang. The wiki clearly documents how to do this with a GNU compiler and linker, and I think that compiling would be about the same since clang is mostly compatible with gcc. What do you think would be the best way to link the multiboot binary with lld?

Thank you


Top
 Profile  
 
 Post subject: Re: Multiboot linking with LLD
PostPosted: Fri Aug 07, 2020 6:14 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
Pass "-fuse-ld=lld" to Clang.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Amazonbot [bot] and 51 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group