2013/1/7 grischka <[email protected]>:
> Roy Tam wrote:
>>
>> 2013/1/7 Roy Tam <[email protected]>:
>>>
>>> 2013/1/7 grischka <[email protected]>:
>>>>
>>>> -
>>>>
>>>> http://repo.or.cz/w/tinycc.git/commitdiff/943574aba54713ca4a17fe33aadde5abee233b53
>>>>   Obviously (if you look at the code) this was not a bug but intended
>>>> behavior.
>>>
>>> Did you tried reverting this commit and try linking with -luser32?
>>> Without this commit, you can't link to user32 even if you specify
>>> -luser32.
>>
>>
>> ... so tcc restricting people not linking to user32 and gdi32 when
>> writing PE_CLI programs, and ignoring users -l switches is definitely
>> a bug to users.
>
>
> If tcc would ignore -l switches that would be a serious problem indeed,
> but neither do I see such problem nor do I see how your patch is supposed
> to fix it.  As I read the patch it has no effect on -l processing ???

It is a workaround, but I can't reproduce it in the latest git, so
feel free to revert it. (but gcc, dmc, msvc doesn't restrict people
not linking to user32 when linking console applications, does it
necessary to have it in tcc?)

>
>
> --- grischka
>
>
> _______________________________________________
> Tinycc-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to