init("compiler","Watcom");

function detect(bShowType,bShowVersion,bShowOptions)
{
    var nData=ELF.getSectionNumber(".data");

    var nOffset=ELF.getSectionFileOffset(nData);
    var nSize=ELF.getSectionFileSize(nData);
    if(ELF.findString(nOffset,nSize,"WATCOM")!=-1)
    {
        bDetected=1;
    }

    return result(bShowType,bShowVersion,bShowOptions);
}
