Le jeudi 15 mars 2012 22:53:14, grischka a écrit : > Thomas Preud'homme wrote: > > In other words, tcc -o foo -Wl,-rpathstuff,--oformat,coff will correctly > > says "unsupported linker option '-rpathstuff'" instead of "unsupported > > linker option '-rpathstuff,--oformat,coff'. > > Well, but did you test whether it still works for correct input, > such as > -Wl,-rpath=stuff > ??? Yes but maybe I missed something.
23:01 robotux@trevize ~/rpath% cat libtest.c
int a = 42;
23:02 robotux@trevize ~/rpath% cat test.c
extern int a;
int main(void)
{
return a;
}
23:02 robotux@trevize ~/rpath% gcc -Wall -Wextra -shared -fPIC -o libtest.so
libtest.c
23:02 robotux@trevize ~/rpath% tcc -Wall -Wextra -L/home/robotux/rpath -Wl,-
rpath -Wl,/home/robotux/rpath -o test test.c -ltest
23:02 robotux@trevize ~/rpath% ./test
zsh: exit 42 ./test
23:02 robotux@trevize ~/rpath% tcc -Wall -Wextra -L/home/robotux/rpath -Wl,-
rpath=/home/robotux/rpath -o test test.c -ltest
23:02 robotux@trevize ~/rpath% ./test
zsh: exit 42 ./test
Can you give me an example which fails for you?
Best regards and thanks for watching my back.
>
> --- grischka
Thomas Preud'homme
>
> _______________________________________________
> Tinycc-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
