Exemplo n.º 1
0
static void FindLibPaths( void )
/******************************/
{
    AddFmtLibPaths();
    if( LinkState & FMT_SEEN_32_BIT ) {
        AddEnvPaths( "LIB386" );
    } else {
        AddEnvPaths( "LIB286" );
        /*
            If we haven't seen a 386 object file by this time, we're
            not going to.
        */
        HintFormat( MK_286 );
    }
    AddEnvPaths( "LIB" );
}
Exemplo n.º 2
0
static void FindLibPaths( void )
/******************************/
{
    AddFmtLibPaths();
    if( LinkState & FMT_SEEN_64_BIT ) {
        AddLibPathsToEnd( GetEnvString( "LIBX64" ) );
    } else if( LinkState & FMT_SEEN_32_BIT ) {
        AddLibPathsToEnd( GetEnvString( "LIB386" ) );
    } else {
        AddLibPathsToEnd( GetEnvString( "LIB286" ) );
        /*
            If we haven't seen a 386 object file by this time, we're
            not going to.
        */
        HintFormat( MK_16BIT );
    }
    AddLibPathsToEndList( LibPath );
}