The OSS ASN.1 compiler provides a set of default settings for global directives. If you need a different set of global directives, you can create an OSS ASN.1 compiler configuration file. This is particularly useful when you need to cross-compile for a different target platform.
The OSS ASN.1 Tools includes configuration files for many popular platforms. For example, you can instruct the OSS ASN.1 compiler for Windows to cross-compile for Solaris SPARC by passing the appropriate configuration file as the first argument on the command line:
asn1 asn1dflt.solaris-sparc abc.asn
Each target platform contains a unique asn1dflt.target_platform file.
After cross-compiling, the generated output files are copied to the machine on which the application is developed for the target platform.
The OSS ASN.1 Tools also includes configuration files that can be used on the native platform, but with different data-alignment. For example, the configuration files for Windows MS Visual C++ with 1, 2, 4 or 8 byte alignments are:
This documentation applies to the OSS® ASN.1 Tools for C release 11.1 and later.
Copyright © 2021 OSS Nokalva, Inc. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means electronic, mechanical, photocopying, recording or otherwise, without the prior permission of OSS Nokalva, Inc.
Every distributed copy of the OSS® ASN.1 Tools for C is associated with a specific license and related unique license number. That license determines, among other things, what functions of the OSS ASN.1 Tools for C are available to you.