OpenCores
URL https://opencores.org/ocsvn/usb_fpga_2_13/usb_fpga_2_13/trunk

Subversion Repositories usb_fpga_2_13

[/] [usb_fpga_2_13/] [trunk/] [libusbJava-src/] [build-w64.sh] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ZTEX
#!/bin/bash
2
 
3
export PATH=/drv_t1/mingw/w64/bin:$PATH
4
triple=x86_64-w64-mingw32
5
JAVAPREFIX=/usr/local/java
6
TARGET=libusbJava64.dll
7
 
8
$triple-gcc -m64 -shared -std=c99 -Wall -Wno-pointer-to-int-cast -D_JNI_IMPLEMENTATION_ -Wl,--kill-at \
9
    -I$JAVAPREFIX/include -I$JAVAPREFIX/include/win32 -I../libusb-win32 -L../libusb-win32/amd64 LibusbJava.c -lusb0 -o $TARGET
10
 
11
$triple-strip $TARGET
12
 
13
chmod -x $TARGET
14
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.