tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Wine and cwrappers

Am Tue, 25 May 2021 06:39:38 +0200
schrieb Adam <>: 

> cc arg1 -llib1 arg2 -llib2 arg3 -llib3 -> cc arg1 arg2 arg3 -llib1 -llib2 -llib3

While I understand the desire just to fix things, I think it is
dangerous to introduce such smartness in the wrapper when a typical
compiler lacks it. The caller should provide the arguments in the
correct order. If it's only about un-breaking things that the wrapper
itself would break, sure, it should handle that. But here … could wine
be fixed to call it correctly instead?

Also, does this touch on any -L arguments, too? The odering of -Lfoo
-lbar -Lbaz -loo is sensitive to actual semantic change when the -L are
taken in front.

Alrighty then,


Dr. Thomas Orgis
HPC @ Universität Hamburg

Home | Main Index | Thread Index | Old Index