Hello Boris Boris,
(1) There are currently BSPs for both Linux and Android for the i.MX6. You can find more information about each on the following links:
Embedded Linux for i.MX Applications Processors
http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/em...
Android OS for i.MX Applications Processors
http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/an...
(2) As for VLC I haven’t tested it but there is a vlc recipe on the OpenEmbedded layer for the Yocto Linux BSP. I would recommend downloading the documentation for the Linux BSP (preferably the latest release) and following it. Once you have the Yocto environment setup you can customize the images an add additional packages like vlc.
(3) Please note that the VLC recipe is part of the Yocto Project and it’s not maintained by NXP. You may find the recipe on the Open Embedded layer. There is some more information on the link below:
https://layers.openembedded.org/layerindex/branch/master/layer/meta-multimedia/
(4) If you wish to build binaries outside the Yocto or Android BSP you may use the GCC toolchain. The version of the toolchain would depend on the BSP being used. You may actually extract the toolchain from the Linux BSP using the following command within the Yocto environment:
$ bitbake meta-toolchain
This will create a script that will install the toolchain for the selected MACHINE.
I hope this helps!
Regards,