Class GNUCOBOLLinker
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.mojo.natives.linker.AbstractLinker
org.codehaus.mojo.natives.gnucobol.GNUCOBOLLinker
- All Implemented Interfaces:
Linker, org.codehaus.plexus.logging.LogEnabled
GNU COBOL linker with "-o " as its output option.
No build-mode flag is passed, so cobc applies its own default of "-m", which produces a dynamically loadable module. To produce an executable instead, pass "-x" through the linker start options.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.codehaus.plexus.util.cli.CommandlinecreateLinkerCommandLine(List<File> objectFiles, LinkerConfiguration config) protected Stringprotected voidsetCommandLineForExternalLibraries(org.codehaus.plexus.util.cli.Commandline cl, LinkerConfiguration config) Methods inherited from class AbstractLinker
link, transformOptionsForGccMethods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
GNUCOBOLLinker
public GNUCOBOLLinker()
-
-
Method Details
-
createLinkerCommandLine
protected org.codehaus.plexus.util.cli.Commandline createLinkerCommandLine(List<File> objectFiles, LinkerConfiguration config) throws NativeBuildException - Specified by:
createLinkerCommandLinein classAbstractLinker- Throws:
NativeBuildException
-
getLinkerOutputOption
-
setCommandLineForExternalLibraries
protected void setCommandLineForExternalLibraries(org.codehaus.plexus.util.cli.Commandline cl, LinkerConfiguration config) throws NativeBuildException - Throws:
NativeBuildException
-