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] - Rev 2

Compare with Previous | Blame | View Log

#!/bin/bash
 
export PATH=/drv_t1/mingw/w64/bin:$PATH
triple=x86_64-w64-mingw32
JAVAPREFIX=/usr/local/java
TARGET=libusbJava64.dll
 
$triple-gcc -m64 -shared -std=c99 -Wall -Wno-pointer-to-int-cast -D_JNI_IMPLEMENTATION_ -Wl,--kill-at \
    -I$JAVAPREFIX/include -I$JAVAPREFIX/include/win32 -I../libusb-win32 -L../libusb-win32/amd64 LibusbJava.c -lusb0 -o $TARGET
 
$triple-strip $TARGET
 
chmod -x $TARGET
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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