nickg/nvc — pull request #21 by hiyuh (2013-12-12 13:18:25+00:00)
Title: fix cygwin port cont'd

after investigation on pull request #20, using import library does make progress a bit for `--enable-native` on cygwin. following commits also include:

* removing useless `$host_os` conditional `SO_EXT`,
* cleaning up `test` style in `configure.ac`,
* **3 FIXMEs**. :stuck_out_tongue_closed_eyes:

the next step is to resolve link errors WRT `ieee.numeric_std`, IMHO.

any thoughts?

```
$ ./autogen.sh && ./configure --enable-native && make -k V=1
[SNIP]
g++ -g -O2 -rdynamic -L/usr/lib -lpthread -lffi -lm -Wl,--export-all-symbols -Wl,--out-implib=libnvcimp.a -o nvc.exe nvc.o libnvc.a libcgen.a rt/libnvc-rt.a rt/libjit.a ../lxt/liblxt.a ../fst/libfst.a -Wl,-rpath /usr/lib -lLLVM-3.1 -lbz2 -lz -ltcl -lreadline
[SNIP]
Making all in lib
make[2]: Entering directory '/home/hiyuh/git-repos/nvc/lib'
Making all in std
make[3]: Entering directory '/home/hiyuh/git-repos/nvc/lib/std'
../../src/nvc --work=std -a --bootstrap ./standard.vhd
../../src/nvc --work=std -a ./textio.vhd
../../src/nvc --work=std --codegen textio
/usr/bin/opt -O2 -o /home/hiyuh/git-repos/nvc/lib/std/std/_STD.TEXTIO.bc /home/hiyuh/git-repos/nvc/lib/std/std/_STD.TEXTIO.bc
/usr/bin/llc -relocation-model=pic /home/hiyuh/git-repos/nvc/lib/std/std/_STD.TEXTIO.bc
/usr/bin/gcc -shared -o /home/hiyuh/git-repos/nvc/lib/std/std/_STD.TEXTIO.so /home/hiyuh/git-repos/nvc/lib/std/std/_STD.TEXTIO.s -L/home/hiyuh/git-repos/nvc/src -lnvcimp
/usr/bin/opt -O2 -o /home/hiyuh/git-repos/nvc/lib/std/std/_STD.TEXTIO-body.bc /home/hiyuh/git-repos/nvc/lib/std/std/_STD.TEXTIO-body.bc
/usr/bin/llc -relocation-model=pic /home/hiyuh/git-repos/nvc/lib/std/std/_STD.TEXTIO-body.bc
/usr/bin/gcc -shared -o /home/hiyuh/git-repos/nvc/lib/std/std/_STD.TEXTIO-body.so /home/hiyuh/git-repos/nvc/lib/std/std/_STD.TEXTIO-body.s -L/home/hiyuh/git-repos/nvc/src -lnvcimp
make[3]: Leaving directory '/home/hiyuh/git-repos/nvc/lib/std'
Making all in ieee
make[3]: Entering directory '/home/hiyuh/git-repos/nvc/lib/ieee'
../../src/nvc -L ../std --work=ieee -a std_logic_1164.vhdl
../../src/nvc -L ../std --work=ieee -a numeric_bit.vhdl
../../src/nvc -L ../std --work=ieee -a numeric_std.vhdl
../../src/nvc -L ../std --work=ieee -a std_logic_1164-body.vhdl
../../src/nvc --work=ieee --codegen std_logic_1164
/usr/bin/opt -O2 -o /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.STD_LOGIC_1164-body.bc /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.STD_LOGIC_1164-body.bc
/usr/bin/llc -relocation-model=pic /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.STD_LOGIC_1164-body.bc
/usr/bin/gcc -shared -o /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.STD_LOGIC_1164-body.so /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.STD_LOGIC_1164-body.s -L/home/hiyuh/git-repos/nvc/src -lnvcimp
../../src/nvc -L ../std --work=ieee -a numeric_std-body.vhdl
../../src/nvc --work=ieee --codegen numeric_std
/usr/bin/opt -O2 -o /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.NUMERIC_STD.bc /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.NUMERIC_STD.bc
/usr/bin/llc -relocation-model=pic /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.NUMERIC_STD.bc
/usr/bin/gcc -shared -o /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.NUMERIC_STD.so /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.NUMERIC_STD.s -L/home/hiyuh/git-repos/nvc/src -lnvcimp
/usr/bin/opt -O2 -o /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.NUMERIC_STD-body.bc /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.NUMERIC_STD-body.bc
/usr/bin/llc -relocation-model=pic /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.NUMERIC_STD-body.bc
/usr/bin/gcc -shared -o /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.NUMERIC_STD-body.so /home/hiyuh/git-repos/nvc/lib/ieee/ieee/_IEEE.NUMERIC_STD-body.s -L/home/hiyuh/git-repos/nvc/src -lnvcimp
/tmp/ccTfNd34.o:fake:(.text+0x274): undefined reference to `IEEE.STD_LOGIC_1164.xor$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x290): undefined reference to `IEEE.STD_LOGIC_1164.xor$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x2b2): undefined reference to `IEEE.STD_LOGIC_1164.and$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x2d1): undefined reference to `IEEE.STD_LOGIC_1164.and$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x2ea): undefined reference to `IEEE.STD_LOGIC_1164.or$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x313): undefined reference to `IEEE.STD_LOGIC_1164.and$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x32e): undefined reference to `IEEE.STD_LOGIC_1164.or$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x504): undefined reference to `IEEE.STD_LOGIC_1164.xor$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x520): undefined reference to `IEEE.STD_LOGIC_1164.xor$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x542): undefined reference to `IEEE.STD_LOGIC_1164.and$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x561): undefined reference to `IEEE.STD_LOGIC_1164.and$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x57a): undefined reference to `IEEE.STD_LOGIC_1164.or$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x5a3): undefined reference to `IEEE.STD_LOGIC_1164.and$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x5be): undefined reference to `IEEE.STD_LOGIC_1164.or$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x2ae9): undefined reference to `IEEE.STD_LOGIC_1164.not$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x2aff): undefined reference to `IEEE.STD_LOGIC_1164.not$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x2d69): undefined reference to `IEEE.STD_LOGIC_1164.not$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x2d7f): undefined reference to `IEEE.STD_LOGIC_1164.not$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x3545): undefined reference to `IEEE.STD_LOGIC_1164.not$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x355d): undefined reference to `IEEE.STD_LOGIC_1164.xor$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x3575): undefined reference to `IEEE.STD_LOGIC_1164.not$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x358b): undefined reference to `IEEE.STD_LOGIC_1164.and$IEEE.STD_LOGIC_1164.STD_ULOGIC$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x4b1f): undefined reference to `IEEE.STD_LOGIC_1164.not$IEEE.STD_LOGIC_1164.STD_ULOGIC_return_IEEE.STD_LOGIC_1164.UX01'
/tmp/ccTfNd34.o:fake:(.text+0x4e79): undefined reference to `IEEE.STD_LOGIC_1164.not$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/tmp/ccTfNd34.o:fake:(.text+0x5459): undefined reference to `IEEE.STD_LOGIC_1164.not$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/tmp/ccTfNd34.o:fake:(.text+0x14225): undefined reference to `IEEE.STD_LOGIC_1164.and$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/tmp/ccTfNd34.o:fake:(.text+0x143b5): undefined reference to `IEEE.STD_LOGIC_1164.or$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/tmp/ccTfNd34.o:fake:(.text+0x14545): undefined reference to `IEEE.STD_LOGIC_1164.nand$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/tmp/ccTfNd34.o:fake:(.text+0x146d5): undefined reference to `IEEE.STD_LOGIC_1164.nor$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/tmp/ccTfNd34.o:fake:(.text+0x14865): undefined reference to `IEEE.STD_LOGIC_1164.xor$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/tmp/ccTfNd34.o:fake:(.text+0x149f5): undefined reference to `IEEE.STD_LOGIC_1164.xnor$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/tmp/ccTfNd34.o:fake:(.text+0x14b85): undefined reference to `IEEE.STD_LOGIC_1164.and$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/tmp/ccTfNd34.o:fake:(.text+0x14d15): undefined reference to `IEEE.STD_LOGIC_1164.or$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/tmp/ccTfNd34.o:fake:(.text+0x14ea5): undefined reference to `IEEE.STD_LOGIC_1164.nand$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/tmp/ccTfNd34.o:fake:(.text+0x15035): undefined reference to `IEEE.STD_LOGIC_1164.nor$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/tmp/ccTfNd34.o:fake:(.text+0x151c5): undefined reference to `IEEE.STD_LOGIC_1164.xor$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/tmp/ccTfNd34.o:fake:(.text+0x15355): undefined reference to `IEEE.STD_LOGIC_1164.xnor$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR$IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR_return_IEEE.STD_LOGIC_1164.STD_LOGIC_VECTOR'
/usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../../i686-pc-cygwin/bin/ld: /tmp/ccTfNd34.o: bad reloc address 0x20 in section `.eh_frame'
collect2: error: ld returned 1 exit status
** Fatal: /usr/bin/gcc failed with status 256
Makefile:526: recipe for target 'ieee/IEEE.NUMERIC_STD-body' failed
make[3]: *** [ieee/IEEE.NUMERIC_STD-body] Error 1
[SNIP]

$ ldd $(find ./lib -name '*.so')
./lib/ieee/ieee/_IEEE.MATH_REAL-body.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.MATH_REAL.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.NUMERIC_BIT-body.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.NUMERIC_BIT.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.NUMERIC_STD.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.STD_LOGIC_1164-body.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.VITAL_PRIMITIVES.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.VITAL_TIMING.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/std/std/_STD.TEXTIO-body.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
??? => ??? (0x624c0000)
./lib/std/std/_STD.TEXTIO.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
??? => ??? (0x6e640000)

$ LD_LIBRARY_PATH=$(realpath ./src) ldd $(find . -name '*.so')
./lib/ieee/ieee/_IEEE.MATH_REAL-body.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.MATH_REAL.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.NUMERIC_BIT-body.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.NUMERIC_BIT.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.NUMERIC_STD.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.STD_LOGIC_1164-body.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.VITAL_PRIMITIVES.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/ieee/ieee/_IEEE.VITAL_TIMING.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
./lib/std/std/_STD.TEXTIO-body.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
??? => ??? (0x624c0000)
./lib/std/std/_STD.TEXTIO.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
??? => ??? (0x6e640000)

$ ldd $(find ../lib -name '*.so')
../lib/ieee/ieee/_IEEE.MATH_REAL-body.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
../lib/ieee/ieee/_IEEE.MATH_REAL.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
../lib/ieee/ieee/_IEEE.NUMERIC_BIT-body.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
../lib/ieee/ieee/_IEEE.NUMERIC_BIT.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
../lib/ieee/ieee/_IEEE.NUMERIC_STD.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
../lib/ieee/ieee/_IEEE.STD_LOGIC_1164-body.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
../lib/ieee/ieee/_IEEE.VITAL_PRIMITIVES.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
../lib/ieee/ieee/_IEEE.VITAL_TIMING.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
../lib/std/std/_STD.TEXTIO-body.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
nvc.exe => /home/hiyuh/git-repos/nvc/src/nvc.exe (0x5c0000)
cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0x6c850000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
cygbz2-1.dll => /usr/bin/cygbz2-1.dll (0x6e1f0000)
cygLLVM-3.1.dll => /usr/bin/cygLLVM-3.1.dll (0x6e850000)
cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x64f20000)
cygreadline7.dll => /usr/bin/cygreadline7.dll (0x65560000)
cygncursesw-10.dll => /usr/bin/cygncursesw-10.dll (0x68280000)
USER32.dll => /cygdrive/c/Windows/syswow64/USER32.dll (0x76e80000)
GDI32.dll => /cygdrive/c/Windows/syswow64/GDI32.dll (0x77320000)
LPK.dll => /cygdrive/c/Windows/syswow64/LPK.dll (0x773b0000)
USP10.dll => /cygdrive/c/Windows/syswow64/USP10.dll (0x76910000)
msvcrt.dll => /cygdrive/c/Windows/syswow64/msvcrt.dll (0x769b0000)
ADVAPI32.dll => /cygdrive/c/Windows/syswow64/ADVAPI32.dll (0x77120000)
sechost.dll => /cygdrive/c/Windows/SysWOW64/sechost.dll (0x76c40000)
RPCRT4.dll => /cygdrive/c/Windows/syswow64/RPCRT4.dll (0x759c0000)
SspiCli.dll => /cygdrive/c/Windows/syswow64/SspiCli.dll (0x755c0000)
CRYPTBASE.dll => /cygdrive/c/Windows/syswow64/CRYPTBASE.dll (0x755b0000)
libtcl8.5.dll => /usr/bin/libtcl8.5.dll (0x642a0000)
cygz.dll => /usr/bin/cygz.dll (0x646e0000)
IMM32.DLL => /cygdrive/c/Windows/system32/IMM32.DLL (0x76fe0000)
MSCTF.dll => /cygdrive/c/Windows/syswow64/MSCTF.dll (0x76840000)
../lib/std/std/_STD.TEXTIO.so:
ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77b70000)
kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x77460000)
KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x77070000)
nvc.exe => /home/hiyuh/git-repos/nvc/src/nvc.exe (0x750000)
cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0x6c850000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
cygbz2-1.dll => /usr/bin/cygbz2-1.dll (0x6e1f0000)
cygLLVM-3.1.dll => /usr/bin/cygLLVM-3.1.dll (0x6e850000)
cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x64f20000)
cygreadline7.dll => /usr/bin/cygreadline7.dll (0x65560000)
cygncursesw-10.dll => /usr/bin/cygncursesw-10.dll (0x68280000)
USER32.dll => /cygdrive/c/Windows/syswow64/USER32.dll (0x76e80000)
GDI32.dll => /cygdrive/c/Windows/syswow64/GDI32.dll (0x77320000)
LPK.dll => /cygdrive/c/Windows/syswow64/LPK.dll (0x773b0000)
USP10.dll => /cygdrive/c/Windows/syswow64/USP10.dll (0x76910000)
msvcrt.dll => /cygdrive/c/Windows/syswow64/msvcrt.dll (0x769b0000)
ADVAPI32.dll => /cygdrive/c/Windows/syswow64/ADVAPI32.dll (0x77120000)
sechost.dll => /cygdrive/c/Windows/SysWOW64/sechost.dll (0x76c40000)
RPCRT4.dll => /cygdrive/c/Windows/syswow64/RPCRT4.dll (0x759c0000)
SspiCli.dll => /cygdrive/c/Windows/syswow64/SspiCli.dll (0x755c0000)
CRYPTBASE.dll => /cygdrive/c/Windows/syswow64/CRYPTBASE.dll (0x755b0000)
libtcl8.5.dll => /usr/bin/libtcl8.5.dll (0x642a0000)
cygz.dll => /usr/bin/cygz.dll (0x646e0000)
IMM32.DLL => /cygdrive/c/Windows/system32/IMM32.DLL (0x76fe0000)
MSCTF.dll => /cygdrive/c/Windows/syswow64/MSCTF.dll (0x76840000)
```