On Jun 18, 2014, at 11:45 AM, Reid Kleckner <[email protected]> wrote:
> On Wed, Jun 18, 2014 at 11:12 AM, Hans Wennborg <[email protected]> wrote:
> Are there really linkers that we care about that don't understand
> response files, but accept these "file list files"?
> 
> Unfortunately, yes, ld64.  Search the source for -filelist: 
> http://www.opensource.apple.com/source/ld64/ld64-123.2.1/src/ld/Options.cpp

For background: The darwin linker (ld64) has never supported @file arguments, 
because the linker is almost always invoked through the clang (or gcc before 
that) driver which expanded @file and passed its content as arguments to the 
linker.   Therefore @file never made it to the linker.  The darwin linker 
option for a file containing a list of files is -filelist <file>.

Is the motivation for this is that some OSs have a limit to the number/size of 
command line arguments?  Or that clang internally has limits?  

-Nick

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to