[cfe-dev] Windows .exe from clang + COFF w/o gcc - success with issues
Daniel Dunbar
daniel at zuster.org
Tue Aug 17 15:39:51 PDT 2010
On Tue, Aug 17, 2010 at 2:54 PM, Sebastian Redl
<sebastian.redl at getdesigned.at> wrote:
>
> On Aug 17, 2010, at 2:29 PM, Michael Spencer wrote:
>
>> On Tue, Aug 17, 2010 at 3:06 PM, Francois Pichet <pichet2000 at gmail.com> wrote:
>>> Anybody think it would be useful to put that new cl2lang driver into
>>> the mainline repository?
>>> It is just an idea for now.. I haven't started working on it.
>>
>
> I definitely think that having a cl.exe-compatible driver, similar to clang being a gcc-compatible driver, would be useful.
Yes, for sure, I would love to have a cl.exe compatible driver. And
this is definitely something we would want in the tree.
I haven't thought much about it, but it would be nice if it could be
integrated into the Driver library in such a way that we could accept
both syntaxes, and perhaps would just change what the default expected
syntax was based on the host / default target.
- Daniel
>> Why not just add the cl.exe switches to clang? Try parsing anything
>> beginning with / as an option, and if that fails treat it like a path
>> to a file.
>
> Because that could create option conflicts - cl.exe accepts unix-style options as well, i.e. you can pass options as -option to cl.exe. Then what do you do if you have a gcc and a cl option that have the same spelling, but mean something subtly different?
>
> Sebastian
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
More information about the cfe-dev
mailing list