[Xorp-hackers] Tested, work Re: [PATCH] windows: mingw cross compiler : build xorp_win32.zip : win32_pkg.bash

Victor Miasnikov vvm at tut.by
Wed Mar 14 04:33:11 PDT 2012


Hi!

>> windows: mingw cross compiler : build xorp_win32.zip : win32_pkg.bash
 i.e.
==
 . . .
if [ -f /usr/i686-pc-mingw32/sys-root/mingw/bin/libstdc++-6.dll ]
    then
    cp /usr/i686-pc-mingw32/sys-root/mingw/bin/libstdc++-6.dll /usr/local/xorp/sbin/ || exit 8
fi
 . . .
==
> The change has been committed.  Please test that it works for you in a clean build.

 Tested, work i.e. xorp_win32.zip contain libstdc++-6.dll  ,  *.exe start on Win 2003 with config.boot

==
/*XORP Configuration File, v1.0*/
fea {
    unicast-forwarding4 {
        disable: false
        forwarding-entries {
            retain-on-startup: true
            retain-on-shutdown: true
        }
    }
}
interfaces {
    restore-original-config-on-shutdown: true
/*
VVM: dc0 is renamed "Local Area Connection"

dc0/dc0: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500 speed unknown
        inet 10.99.95.119 subnet 10.99.95.0/24 broadcast 10.99.95.255
        physical index 65539
        ether 0:3:ff:19:98:96
*/
    interface dc0 {
        description: "dc0 LanCard"
        disable: false
        discard: false
        default-system-config
/*
        unreachable: false
        management: false
        vif dc0 {
            disable: false
  address 10.99.95.119 {
   prefix-length: 24
   disable: false
  }
        }
*/
    }
/*
MS TCP Loopback interface/MS TCP Loopback interface: Flags:<ENABLED,LOOPBACK> mtu 1520 speed unknown
        inet 127.0.0.1 subnet 127.0.0.1/32
        physical index 1
*/
    interface "MS TCP Loopback interface" {
        disable: false
        discard: false
        description: "MS TCP Loopback interface -- Win 2003"
        default-system-config
    }
}

protocols {
    fib2mrib {
        disable: true
    }
    static {
        disable: false
        route 10.91.93.0/24 {
            next-hop: 10.99.95.1
            metric: 20
        }
        route 10.91.92.0/24 {
            next-hop: 10.99.95.1
            metric: 20
        }
        route 10.91.98.0/24 {
            next-hop: 10.99.95.1
            metric: 20
        }
        route 0.0.0.0/0 {
            next-hop: 10.99.95.1
            metric: 20
        }
    }
}
==


static route ok ( show by "route show" in cmd.exe)


Best regards, Victor Miasnikov
Blog:  http://vvm.blog.tut.by/



More information about the Xorp-hackers mailing list