Files
pkgsrc-ng/pkgtools/cwrappers/files/doc/transform.txt
2016-01-21 23:40:00 +01:00

14 lines
462 B
Plaintext

$NetBSD: transform.txt,v 1.1 2014/09/17 12:40:56 joerg Exp $
The fifth phase of the wrapper processing is the platform
transformation support. The aim here is to translate GCC
options (and some other compiler frontends) into the options
of the target compiler.
Translations for GCC are:
- Drop "-w"
- Translate "-mt" to "-threads", "-64" to "-m64" and
"-Kpic", "-kpic", "-KPIC" and "-kPIC" to "-fPIC".
It can warn about options during translation as well.