al(1)
β¨ NAME β¨
Okay bestie, meet al and al2, the Mono Assembly Linker π al handles 1.0 assemblies and al2 handles 2.0 assemblies. Iconic duo π
π§ SYNOPSIS π§
al [option] [source-files]
π¦ DESCRIPTION π¦
Okay so al is the Mono assembly linker, and it's literally the one that puts assemblies together π«Ά It takes a bunch of modules (.netmodule files), assembly manifest files, and resources and stitches them into one assembly.
Don't mix this up with the monolinker! π That one is a different tool that shrinks assemblies by getting rid of code that isn't used.
Use al for 1.0 assemblies and al2 for 2.0 assemblies. Not me mixing them up π
π OPTIONS π
@<filename>β Pass in a response file to load in more options π-algid:<id>β Picks the algorithm used to hash files. The<id>has to be hexadecimal π’-base:<addr>|-baseaddress:<addr>β Sets the base address for the library. > THIS FEATURE ISN'T IMPLEMENTED. π-bugreport:<filename>β Supposed to make a'Bug Report'file. > THIS FEATURE ISN'T IMPLEMENTED. π-comp:<text>|-company:<text>β Slips the company name into the assembly metadata. It's the same as adding[AssemblyCompany ("<text>")]in C# source π’-config:<text>|-configuration:<text>β Adds a configuration string to the metadata. Same energy as[AssemblyConfiguration ("<text>")]in C# βοΈ-copy:<text>|-copyright:<text>β Puts a copyright message in the metadata. Equivalent to[AssemblyCopyright ("<text>")]in C# Β©οΈ-c:<text>|-culture:<text>β Adds the supported culture to the metadata. It's[AssemblyCulture ("<text>")]in C# π-delay|-delay+|-delaysign|-delaysign+β The output gets delay signed. This is the same as[AssemblyDelaySignAttribute (true)]in C# π¦-delay-|-delaysign-β The output gets fully signed, not delay signed. This is the default when you're signing with-keyfileor-keynameβ¨-descr:<text>|-description:<text>β Adds a description of the assembly to the metadata, like[AssemblyDescription ("<text>")]in C# π-e:<filename>|-evidence:<filename>β Embeds the file you name into the assembly as security evidence π-fileversion:<version>β An optional Win32 version that overrides the normal assembly version π-flags:<flags>β Sets the assembly flags. The<flags>have to be hexadecimal π©-fullpathsβ Shows files with their fully-qualified filenames πΊοΈ-keyf:<filename>|-keyfile:<filename>β Strong-name signs the output with the key pair from the strong name key file (snk). You need a full key pair unless you also use delay signing (-delay+). Same as[AssemblyKeyFile ("<text>")]in C# π-keyn:<text>|-keyname:<text>β Strong-name signs the output using a key pair from a container. Delay signing doesn't work with key containers, so don't even try π ββοΈ It's the same as[AssemblyKeyName ("<text>")]in C# ποΈ-main:<method>β Names the method that's the entry point of the assembly πͺ-nologoβ Hides the startup banner and copyright message π€«-out:<filename>β The output file name for the assembly manifest π¦-prod:<text>|product:<text>β Adds the product name to the metadata, same as[AssemblyProduct ("<text>")]in C# ποΈ-productv[ersion]:<text>β Adds the product version to the metadata. It's[AssemblyInformationalVersion ("<text>")]in C# π·οΈ-t[arget]:<target>|-target=<target>β Pick your vibe with a valid<target>:liborlibrarymakes a library (.dll) πexemakes a console executable (.exe) π₯οΈwinorwinexemakes a Windows executable (.exe) πͺ
-template:<filename>β Names an assembly to borrow default options from π§©-title:<text>β Adds an assembly title to the metadata, like[AssemblyTitle ("<text>")]in C# π¬-trade:<text>|-trademark:<text>β Adds a trademark message to the metadata. It's[AssemblyTrademark ("<text>")]in Cβ’οΈ-v:<version>|-version:<version>β Adds the assembly version to the metadata. You can throw in*to auto-generate the remaining numbers. Same as[AssemblyVersion ("<text>")]in C# π’-win32icon:<filename>β Uses this icon for the output πΌοΈ-win32res:<filename>β Points at the Win32 resource file π-?|-helpβ Shows info aboutalπ
πΈ SEE ALSO πΈ
π COPYRIGHT π
Copyright (C) 2005 Novell, Inc (http://www.novell.com) π
π¬ MAILING LISTS π¬
Visit http://lists.ximian.com/mailman/listinfo/mono-devel-list for details π
π WEB SITE π
Visit http://www.mono-project.com for details π
Okay that's the tea, bestie π«Ά Now go link your assemblies like the main character you are π β¨ Byeee, al(1) π§π
π¦ where this page comes from
- alpine 3.24: mono-doc 6.14.1-r1 Β· MIT
- arch rolling: mono 6.12.0.206-1 Β· GPL AND LGPL2.1 AND MPL
- debian bookworm: mono-devel 6.8.0.105+dfsg-3.3+deb12u1 Β· MIT
- debian trixie: mono-devel 6.12.0.199+dfsg-6 Β· MIT
- epel 10: mono-devel 6.14.1-1.el10_2 Β· MIT
- epel 9: mono-devel 6.12.0-5.el9 Β· MIT
- fedora 43: mono-devel 6.12.0-21.fc43 Β· MIT
- fedora 43: mono-devel 6.12.0-21.fc43 Β· MIT
- fedora 44: mono-devel 6.14.1-3.fc44 Β· MIT
- fedora 44: mono-devel 6.14.1-3.fc44 Β· MIT
- fedora 44: mono-devel 6.14.1-4.fc44 Β· MIT
- fedora 44: mono-devel 6.14.1-4.fc44 Β· MIT
- nixos 26.05: mono 6.14.1
- nixpkgs unstable: mono 6.14.1
- opensuse-leap 16.0: mono-devel 6.12.0-bp160.1.1 Β· LGPL-2.1-only
- opensuse-leap 16.0: mono-devel 6.12.0-bp160.1.1 Β· LGPL-2.1-only
- opensuse-leap 16.0: mono-devel 6.12.0-bp160.1.1 Β· LGPL-2.1-only
- opensuse-leap 16.0: mono-devel 6.12.0-bp160.1.1 Β· LGPL-2.1-only
- ubuntu jammy: mono-devel 6.8.0.105+dfsg-3.2 Β· MIT
- ubuntu noble: mono-devel 6.8.0.105+dfsg-3.6ubuntu2 Β· MIT
- ubuntu questing: mono-devel 6.12.0.199+dfsg-6
- ubuntu resolute: mono-devel 6.14.1+ds2-2 Β· MIT
- ubuntu stonking: mono-devel 6.14.1+ds2-3 Β· MIT
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms