Linux.

def lin(context, filenames, x64):
    """Linux."""
    logging.info(_('This is Linux Transformation mode.'))
    src = 'src'
    bits = '64' if x64 else '32'
    binary = '_' + bits
    shellcode = bits + '.bin'
    database = context.obj['database']
    sources = read_files(filenames, with_name=True)
    transformer = LinuxTransformer(database)
    updated = transformer.transform_sources(sources)

    os.makedirs(src, exist_ok=True)
    write_files(updated, where=src)
    builder = LinuxBuilder()
    logging.info(_('Compiling transformed sources'))
    builder.build(filenames, x64, 'src', binary)
    logging.info(_('Converting the compiled binary: %s'), binary)
    logging.debug(_('Transferring control to conv'))
    context.invoke(conv, arg=binary, source='sec', target='bin',
                   filename=shellcode, section='.pic')