deep-c-rsc/JCGO/sunawt/awtSampl
2021-07-16 17:12:20 -05:00

83 lines
21 KiB
Plaintext

Java AWT/JSound/SQL class library sources:
Sun J2SE v1.4.2_19 SDK (j2sdk1.4.2_19) src.zip
Sun J2SDK v1.4.2 SCSL (j2sdk-1_4_2-src-scsl)
Operating Systems (supported):
Microsoft Windows (x86)
Linux (x86)
Solaris SunOS (x86)
Commands for rebuilding JCGO-specific "java" dynamic library:
win32 (mingw): gcc -O2 -Wall -IC:\JCGO\contrib\j2sdk-1_4_2-src-scsl\j2se\src\windows\javavm\export -IC:\JCGO\contrib\j2sdk-1_4_2-src-scsl\j2se\src\share\javavm\export -DWITH_UNDERSCORE -shared -o java.dll -s -Wl,--subsystem,windows jio.c jni_util.c util.c win32\java_props_md.c
win32 x86/ia64 alt (msvc): cl -Ox -W3 -GF -LD -MD -IC:\JCGO\contrib\j2sdk-1_4_2-src-scsl\j2se\src\windows\javavm\export -IC:\JCGO\contrib\j2sdk-1_4_2-src-scsl\j2se\src\share\javavm\export jio.c jni_util.c util.c win32\java_props_md.c /link /out:java.dll
linux: gcc -O2 -Wall -D_REENTRANT -I /usr/share/JCGO/classpath-0.93/include -shared -fPIC -o libjava.so -s jio.c jni_util.c util.c -Wl,--version-script=linux/mapfile-vers
solaris: cc -O2 -mt -fPIC -erroff=E_WHITE_SPACE_IN_DIRECTIVE -I /usr/share/JCGO/classpath-0.93/include -shared -o libjava.so -s jio.c jni_util.c util.c
Commands for rebuilding JCGO-specific "jvm" dynamic library:
win32 (mingw): gcc -O2 -Wall -IC:\JCGO\contrib\j2sdk-1_4_2-src-scsl\j2se\src\windows\javavm\export -IC:\JCGO\contrib\j2sdk-1_4_2-src-scsl\j2se\src\share\javavm\export -DWITH_UNDERSCORE -shared -o jvm.dll -s -Wl,--subsystem,windows jvm_os.c jvm_win.c
win32 x86/ia64 alt (msvc): cl -Ox -W4 -GF -LD -MD -IC:\JCGO\contrib\j2sdk-1_4_2-src-scsl\j2se\src\windows\javavm\export -IC:\JCGO\contrib\j2sdk-1_4_2-src-scsl\j2se\src\share\javavm\export jvm_os.c jvm_win.c /link /out:jvm.dll
linux: gcc -O2 -Wall -D_REENTRANT -I /usr/share/JCGO/classpath-0.93/include -shared -fPIC -o libjvm.so -s jvm_os.c jvm_unix.c -Wl,--version-script=linux/mapfile-vers-product
solaris: cc -O2 -mt -fPIC -erroff=E_WHITE_SPACE_IN_DIRECTIVE -I /usr/share/JCGO/classpath-0.93/include -shared -o libjvm.so -s jvm_os.c jvm_unix.c
Commands for rebuilding "jcgon" dynamic library:
win32 (mingw): gcc -O2 -fwrapv -fno-strict-aliasing -Wall -DJCGO_FFDATA -DJCGO_LARGEFILE -DJCGO_EXEC -DJCGO_WIN32 -DJCGO_INET -DJNICALL=__stdcall -DJNIEXPORT=__declspec(dllexport) -DJCGO_JNIUSCORE -DJCGO_ERRTOLOG -DJCGO_SYSWCHAR -DJCGO_SYSDUALW -DJCGO_WMAIN -DJCGO_WINEXINFO -IC:\JCGO\include -shared -o jcgon.dll -s -Wl,--subsystem,windows -fno-optimize-sibling-calls -include wchar.h C:\JCGO\native\*.c -lws2_32
win32 x86/ia64 alt (msvc): cl -O2 -W3 -GF -LD -MD -DJCGO_INTNN -DJCGO_FFDATA -DJCGO_LARGEFILE -DJCGO_EXEC -DJCGO_WIN32 -DJCGO_INET -DJNICALL=__stdcall -DJNIEXPORT=__declspec(dllexport) -DJCGO_ERRTOLOG -DJCGO_SYSWCHAR -DJCGO_SYSDUALW -DJCGO_WMAIN -DJCGO_WINEXINFO -IC:\JCGO\include -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE C:\JCGO\native\*.c /link /out:jcgon.dll ws2_32.lib advapi32.lib
linux: gcc -O2 -fwrapv -fno-strict-aliasing -Wall -D_REENTRANT -DJCGO_INTFIT -DJCGO_UNIX -DJCGO_UNIFSYS -DJCGO_EXEC -DJCGO_UNIPROC -DJCGO_INET -DJCGO_GNUNETDB -D_LARGEFILE64_SOURCE -DJCGO_LARGEFILE -DJCGO_ERRTOLOG -I /usr/share/JCGO/include -shared -fPIC -o libjcgon.so -s /usr/share/JCGO/native/*.c
solaris: cc -O2 -mt -fPIC -erroff=E_WHITE_SPACE_IN_DIRECTIVE -erroff=E_INTEGER_OVERFLOW_DETECTED -DJCGO_INTFIT -DJCGO_UNIX -DJCGO_UNIFSYS -DJCGO_EXEC -DJCGO_UNIPROC -DJCGO_INET -DJCGO_SYSVNETDB -DJCGO_LARGEFILE -DJCGO_ERRTOLOG -I /usr/share/JCGO/include -shared -o libjcgon.so -s /usr/share/JCGO/native/*.c -lsocket -lnsl
Commands for rebuilding "jcgoawtl" dynamic proxy library (libjcgoawtl.so):
linux: gcc -O2 -Wall -D_REENTRANT -DJCGO_UNIX -I /usr/share/JCGO/classpath-0.93/include -DJNIDLOAD_EXPNAME=JNI_OnLoad_awt -DJNIDLOAD_QLIBNAME=\"libawt.so\" -fPIC -c -o jnidload_awt.o jnidload.c && gcc -O2 -Wall -D_REENTRANT -DJCGO_UNIX -I /usr/share/JCGO/classpath-0.93/include -DJNIDLOAD_EXPNAME=JNI_OnLoad_fontmanager -DJNIDLOAD_QLIBNAME=\"libfontmanager.so\" -fPIC -c -o jnidload_fontmanager.o jnidload.c && gcc -O2 -Wall -D_REENTRANT -DJCGO_UNIX -I /usr/share/JCGO/classpath-0.93/include -DJNIDLOAD_EXPNAME=JNI_OnLoad_jpeg -DJNIDLOAD_QLIBNAME=\"libjpeg.so\" -fPIC -c -o jnidload_jpeg.o jnidload.c && gcc -shared -fPIC -o libjcgoawtl.so -s jnidload_awt.o jnidload_fontmanager.o jnidload_jpeg.o -ldl
solaris: cc -c -O2 -mt -fPIC -erroff=E_WHITE_SPACE_IN_DIRECTIVE -DJCGO_UNIX -I /usr/share/JCGO/classpath-0.93/include -DJNIDLOAD_EXPNAME=JNI_OnLoad_awt -DJNIDLOAD_QLIBNAME=\"libawt.so\" -o jnidload_awt.o jnidload.c && cc -c -O2 -mt -fPIC -erroff=E_WHITE_SPACE_IN_DIRECTIVE -DJCGO_UNIX -I /usr/share/JCGO/classpath-0.93/include -DJNIDLOAD_EXPNAME=JNI_OnLoad_fontmanager -DJNIDLOAD_QLIBNAME=\"libfontmanager.so\" -o jnidload_fontmanager.o jnidload.c && cc -c -O2 -mt -fPIC -erroff=E_WHITE_SPACE_IN_DIRECTIVE -DJCGO_UNIX -I /usr/share/JCGO/classpath-0.93/include -DJNIDLOAD_EXPNAME=JNI_OnLoad_jpeg -DJNIDLOAD_QLIBNAME=\"libjpeg.so\" -o jnidload_jpeg.o jnidload.c && cc -c -O2 -mt -fPIC -erroff=E_WHITE_SPACE_IN_DIRECTIVE -DJCGO_UNIX -I /usr/share/JCGO/classpath-0.93/include -DJNIDLOAD_EXPNAME=JNI_OnLoad_mawt -DJNIDLOAD_QLIBNAME=\"libmawt.so\" -o jnidload_mawt.o jnidload.c && cc -mt -fPIC -shared -o libjcgoawtl.so -s jnidload_awt.o jnidload_fontmanager.o jnidload_jpeg.o jnidload_mawt.o
Sample commands for the Java-to-C translation (same as in stdp_win.in, stdp_x11.in):
win32: C:\JCGO\jcgo -src $~\sunawt\fix_snd -src $~\goclsp\vm_str;$~\goclsp\vm -src $~\sunawt\fix_win;$~\sunawt\fix;$~\sawt_out\rflg_out;$~\sawt_out\rflg_snd;$~\sawt_out\rflg_com -src $~\contrib\j2sdk1.4.2_19\src\$%java.awt;$~\contrib\j2sdk1.4.2_19\src\$%javax.imageio;$~\contrib\j2sdk1.4.2_19\src\$%javax.print;$~\contrib\j2sdk1.4.2_19\src\$%javax.swing -src $~\sunawt\fix_sql -src $~\goclsp\clsp_ldr;$~\goclsp\clsp_fix;$~\goclsp\clsp_res;$~\miscsrc\jpropjav;$~\rflg_out;$~\classpath-0.93;$~\classpath-0.93\external\relaxngDatatype;$~\classpath-0.93\external\sax;$~\classpath-0.93\external\w3c_dom -src $~\contrib\j2sdk1.4.2_19\src;$~\contrib\j2sdk-1_4_2-src-scsl\j2se\src\windows\classes;$~\contrib\j2sdk-1_4_2-src-scsl\j2se\src\share\classes %1 %2 %3
x11 (linux/solaris): /usr/share/JCGO/jcgo -src $~/sunawt/fix_snd -src $~/goclsp/vm_str:$~/goclsp/vm -src $~/sunawt/fix_x11:$~/sunawt/fix:$~/sawt_out/rflg_out:$~/sawt_out/rflg_snd:$~/sawt_out/rflg_com -src $~/contrib/j2sdk1.4.2_19/src/$%java.awt:$~/contrib/j2sdk1.4.2_19/src/$%javax.imageio:$~/contrib/j2sdk1.4.2_19/src/$%javax.print:$~/contrib/j2sdk1.4.2_19/src/$%javax.swing -src $~/sunawt/fix_sql -src $~/goclsp/clsp_ldr:$~/goclsp/clsp_fix:$~/goclsp/clsp_res:$~/miscsrc/jpropjav:$~/rflg_out:$~/classpath-0.93:$~/classpath-0.93/external/relaxngDatatype:$~/classpath-0.93/external/sax:$~/classpath-0.93/external/w3c_dom -src $~/contrib/j2sdk1.4.2_19/src:$~/contrib/j2sdk-1_4_2-src-scsl/j2se/src/solaris/classes:$~/contrib/j2sdk-1_4_2-src-scsl/j2se/src/share/classes $1 $2 $3
Sample commands for the Java-to-C translation (without Sun J2SE AWT):
win32: C:\JCGO\jcgo -src $~\sunawt\fix_snd;$~\sunawt\fix_sql @$~\stdpaths.in -src $~\sawt_out\rflg_snd;$~\sawt_out\rflg_com;$~\contrib\j2sdk-1_4_2-src-scsl\j2se\src\share\classes %1 %2 %3
linux/solaris: /usr/share/JCGO/jcgo -src $~/sunawt/fix_snd:$~/sunawt/fix_sql @$~/stdpaths.in -src $~/sawt_out/rflg_snd:$~/sawt_out/rflg_com:$~/contrib/j2sdk-1_4_2-src-scsl/j2se/src/share/classes $1 $2 $3
Additional classes for translation (specified if needed):
for ftp support: gnu.java.net.protocol.ftp.Handler
for http support: gnu.java.net.protocol.http.Handler
for full jar support: gnu.java.net.protocol.jar.Handler
for SQL support: sun.jdbc.odbc.JdbcOdbcDriver
for CDE/Motif LnF support: com.sun.java.swing.plaf.motif.MotifLookAndFeel
for Windows LnF support: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
for Linux-specific native audio: com.sun.media.sound.DirectAudioDeviceProvider
Main class for building (translating) a Java applet:
sun.applet.Main
win32 mingw gcc:
[101] gcc -IC:\JCGO\include -IC:\JCGO\include\boehmgc -DJCGO_NOFRWINL -DJCGO_MATHEXT -DJCGO_THREADS -DJCGO_WIN32 -DGC_DLL -DJCGO_STDCLINIT -DJNICALL=__stdcall -DJNIONLOADDECLS=JNIONLOAD(JNI_OnLoad)JNIONLOAD(JNI_OnLoad_fontmanager)JNIONLOAD(JNI_OnLoad_jpeg) -DJNIONLOADLIST=JNI_OnLoad,JNI_OnLoad_fontmanager,JNI_OnLoad_jpeg -DJCGO_NATSEP -s .\jcgo_Out\Main.c C:\JCGO\sawt_out\libs\x86\mingw\*.a C:\JCGO\libs\x86\msvc\gcdll.lib
[102] gcc -IC:\JCGO\include -IC:\JCGO\include\boehmgc -O2 -fwrapv -fno-strict-aliasing -DJCGO_MATHEXT -DJCGO_THREADS -DJCGO_WIN32 -DGC_DLL -DJCGO_STDCLINIT -DJNICALL=__stdcall -DJNIONLOADDECLS=JNIONLOAD(JNI_OnLoad)JNIONLOAD(JNI_OnLoad_fontmanager)JNIONLOAD(JNI_OnLoad_jpeg) -DJNIONLOADLIST=JNI_OnLoad,JNI_OnLoad_fontmanager,JNI_OnLoad_jpeg -DJCGO_NATSEP -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_PARALLEL -DJCGO_TIMEHIRES -DJCGO_ASSERTION -DJCGO_RTASSERT -DJCGO_SFTNULLP -DJCGO_CHKCAST -DJCGO_INDEXCHK -Wl,--subsystem,windows -DJCGO_GCALLINTER -DJCGO_GCINC -DGCSTATICDATA= -DATTRIBNONGC=__attribute__((section(\".dataord\"))) -DJCGO_GCRESETDLS -fno-optimize-sibling-calls -DGCDATAFIRSTSYM=java_lang_String__class -DGCDATALASTSYM=jcgo_noTypesClassArr -DGCBSSFIRSTSYM=jcgo_initialized -DGCBSSLASTSYM=jcgo_globData -s .\jcgo_Out\Main.c C:\JCGO\sawt_out\libs\x86\mingw\*.a C:\JCGO\libs\x86\msvc\gcdll.lib -lwinmm
[103] gcc -IC:\JCGO\include -IC:\JCGO\include\boehmgc -O2 -fwrapv -fno-strict-aliasing -DJCGO_MATHEXT -DJCGO_THREADS -DJCGO_WIN32 -DGC_DLL -DJCGO_STDCLINIT -DJNICALL=__stdcall -DJNIONLOADDECLS=JNIONLOAD(JNI_OnLoad)JNIONLOAD(JNI_OnLoad_fontmanager)JNIONLOAD(JNI_OnLoad_jpeg) -DJNIONLOADLIST=JNI_OnLoad,JNI_OnLoad_fontmanager,JNI_OnLoad_jpeg -DJCGO_NATSEP -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_PARALLEL -DJCGO_TIMEHIRES -DJCGO_USEGCJ -DGC_NO_THREAD_REDIRECTS -DGCSTATICDATA= -DATTRIBNONGC=__attribute__((section(\".dataord\"))) -DJCGO_GCRESETDLS -fno-optimize-sibling-calls -s .\jcgo_Out\Main.c C:\JCGO\sawt_out\libs\x86\mingw\*.a C:\JCGO\libs\x86\msvc\gcdll.lib -lwinmm
[104] gcc -IC:\JCGO\include -IC:\JCGO\include\boehmgc -Os -fwrapv -fno-strict-aliasing -freorder-blocks -DJCGO_MATHEXT -DJCGO_THREADS -DJCGO_WIN32 -DGC_DLL -DJCGO_STDCLINIT -DJNICALL=__stdcall -DJNIONLOADDECLS=JNIONLOAD(JNI_OnLoad)JNIONLOAD(JNI_OnLoad_fontmanager)JNIONLOAD(JNI_OnLoad_jpeg) -DJNIONLOADLIST=JNI_OnLoad,JNI_OnLoad_fontmanager,JNI_OnLoad_jpeg -DJCGO_NATSEP -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_PARALLEL -DJCGO_NOCREATJVM -DJCGO_USEGCJ -DGC_NO_THREAD_REDIRECTS -DGCSTATICDATA= -DATTRIBNONGC=__attribute__((section(\".dataord\"))) -DJCGO_GCRESETDLS -Wl,--subsystem,windows -fno-optimize-sibling-calls -s .\jcgo_Out\Main.c C:\JCGO\sawt_out\libs\x86\mingw\*.a C:\JCGO\libs\x86\msvc\gcdll.lib
[105] gcc -IC:\JCGO\include -IC:\JCGO\include\boehmgc -Os -fwrapv -fno-strict-aliasing -freorder-blocks -DJCGO_MATHEXT -DJCGO_THREADS -DJCGO_WIN32 -DGC_DLL -DJCGO_STDCLINIT -DJNICALL=__stdcall -DJNIONLOADDECLS=JNIONLOAD(JNI_OnLoad)JNIONLOAD(JNI_OnLoad_fontmanager)JNIONLOAD(JNI_OnLoad_jpeg) -DJNIONLOADLIST=JNI_OnLoad,JNI_OnLoad_fontmanager,JNI_OnLoad_jpeg -DJCGO_NATSEP -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_NOSEGV -DJCGO_NOCREATJVM -DJCGO_USEGCJ -DGC_NO_THREAD_REDIRECTS -DGCSTATICDATA= -DATTRIBNONGC=__attribute__((section(\".dataord\"))) -DJCGO_GCRESETDLS -Wl,--subsystem,windows -fno-optimize-sibling-calls -fno-optimize-sibling-calls -s .\jcgo_Out\Main.c C:\JCGO\sawt_out\libs\x86\mingw\*.a C:\JCGO\libs\x86\msvc\gcdll.lib
[106] gcc -IC:\JCGO\include -IC:\JCGO\include\boehmgc -Os -fwrapv -fno-strict-aliasing -freorder-blocks -DJCGO_MATHEXT -DJCGO_THREADS -DJCGO_WIN32 -DGC_DLL -DJCGO_STDCLINIT -DJNICALL=__stdcall -DJNIONLOADDECLS=JNIONLOAD(JNI_OnLoad)JNIONLOAD(JNI_OnLoad_fontmanager)JNIONLOAD(JNI_OnLoad_jpeg) -DJNIONLOADLIST=JNI_OnLoad,JNI_OnLoad_fontmanager,JNI_OnLoad_jpeg -DJCGO_NATSEP -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_NOCREATJVM -DJCGO_USEGCJ -DGC_NO_THREAD_REDIRECTS -DGCSTATICDATA= -DATTRIBNONGC=__attribute__((section(\".dataord\"))) -DJCGO_GCRESETDLS -Wl,--subsystem,windows -fno-optimize-sibling-calls -s .\jcgo_Out\Main.c C:\JCGO\sawt_out\libs\x86\mingw\*.a C:\JCGO\libs\x86\msvc\gcdll.lib
[107] gcc -IC:\JCGO\include -IC:\JCGO\include\boehmgc -IC:\JCGO\native -Os -fwrapv -fno-strict-aliasing -DJCGO_MATHEXT -DJCGO_THREADS -DJCGO_WIN32 -DJCGO_STDCLINIT -DJNICALL=__stdcall -DJNIONLOADDECLS=JNIONLOAD(JNI_OnLoad)JNIONLOAD(JNI_OnLoad_fontmanager)JNIONLOAD(JNI_OnLoad_jpeg) -DJNIONLOADLIST=JNI_OnLoad,JNI_OnLoad_fontmanager -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_FFDATA -DJCGO_EXEC -DJCGO_NOSEGV -DJCGO_NOCREATJVM -DGCSTATICDATA= -DATTRIBNONGC=__attribute__((section(\".dataord\"))) -DJCGO_GCRESETDLS -DCFASTCALL= -s .\jcgo_Out\Main.c C:\JCGO\sawt_out\libs\x86\mingw\awt.a C:\JCGO\sawt_out\libs\x86\mingw\cmm.a C:\JCGO\sawt_out\libs\x86\mingw\dcpr.a C:\JCGO\sawt_out\libs\x86\mingw\fontmanager.a C:\JCGO\libs\x86\mingw\libgcmt.a
win32 msvc cl (or intel icl):
[201] cl -IC:\JCGO\include -IC:\JCGO\include\boehmgc -GF -DJCGO_INTNN -MT -DJCGO_THREADS -DJCGO_WIN32 -DGC_DLL -DJCGO_STDCLINIT -DJCGO_NATSEP -DJNICALL=__stdcall -DJNIIMPORT=__declspec(dllimport) -DJCGO_JNIUSCORE -DJNIONLOADDECLS=JNIONLOAD(_JNI_OnLoad)JNIONLOAD(_JNI_OnLoad_fontmanager)JNIONLOAD(_JNI_OnLoad_jpeg) -DJNIONLOADLIST=_JNI_OnLoad,_JNI_OnLoad_fontmanager,_JNI_OnLoad_jpeg -D_CRT_SECURE_NO_DEPRECATE -wd4101 -wd4717 .\jcgo_Out\Main.c setargv.obj /nologo C:\JCGO\libs\x86\msvc\gcdll.lib C:\JCGO\sawt_out\libs\x86\msvc_u\*.lib
[202] cl -IC:\JCGO\include -IC:\JCGO\include\boehmgc -Ox -GA -GF -W3 -DJCGO_INTNN -MT -DJCGO_THREADS -DJCGO_WIN32 -DGC_DLL -DJCGO_STDCLINIT -DJCGO_NATSEP -DJNICALL=__stdcall -DJNIIMPORT=__declspec(dllimport) -DJCGO_JNIUSCORE -DJNIONLOADDECLS=JNIONLOAD(_JNI_OnLoad)JNIONLOAD(_JNI_OnLoad_fontmanager)JNIONLOAD(_JNI_OnLoad_jpeg) -DJNIONLOADLIST=_JNI_OnLoad,_JNI_OnLoad_fontmanager,_JNI_OnLoad_jpeg -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_PARALLEL -DJCGO_TIMEHIRES -DJCGO_ASSERTION -DJCGO_RTASSERT -DJCGO_SFTNULLP -DJCGO_CHKCAST -DJCGO_INDEXCHK -DJCGO_WMAIN -DJCGO_GCALLINTER -DJCGO_GCINC -D_CRT_SECURE_NO_DEPRECATE -wd4101 -wd4717 .\jcgo_Out\Main.c C:\JCGO\libs\x86\msvc\wwinmain.obj wsetargv.obj /link /fixed /subsystem:windows /nologo C:\JCGO\libs\x86\msvc\gcdll.lib C:\JCGO\sawt_out\libs\x86\msvc_u\*.lib winmm.lib
[203] cl -IC:\JCGO\include -IC:\JCGO\include\boehmgc -Ox -GA -GF -DJCGO_INTNN -MT -DJCGO_THREADS -DJCGO_WIN32 -DGC_DLL -DJCGO_STDCLINIT -DJCGO_NATSEP -DJNICALL=__stdcall -DJNIIMPORT=__declspec(dllimport) -DJCGO_JNIUSCORE -DJNIONLOADDECLS=JNIONLOAD(_JNI_OnLoad)JNIONLOAD(_JNI_OnLoad_fontmanager)JNIONLOAD(_JNI_OnLoad_jpeg) -DJNIONLOADLIST=_JNI_OnLoad,_JNI_OnLoad_fontmanager,_JNI_OnLoad_jpeg -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_PARALLEL -DJCGO_NOSEGV -DJCGO_NOCREATJVM -DJCGO_USEGCJ -DGC_NO_THREAD_REDIRECTS -D_CRT_SECURE_NO_DEPRECATE -wd4101 -wd4717 .\jcgo_Out\Main.c C:\JCGO\libs\x86\msvc\winmain.obj setargv.obj /link /fixed /subsystem:windows /nologo C:\JCGO\libs\x86\msvc\gcdll.lib C:\JCGO\sawt_out\libs\x86\msvc_u\*.lib
linux gcc:
[301] gcc -I /usr/share/JCGO/include -I /usr/share/JCGO/include/boehmgc -fwrapv -D_REENTRANT -DJCGO_INTFIT -DJCGO_UNIX -D_IEEEFP_H -DJCGO_MATHEXT -DJCGO_STDCLINIT -DJCGO_THREADS -DJCGO_NATSEP -DJNIONLOADDECLS=JNIONLOAD\(JNI_OnLoad_awt\)JNIONLOAD\(JNI_OnLoad_fontmanager\)JNIONLOAD\(JNI_OnLoad_jpeg\) -DJNIONLOADLIST=JNI_OnLoad_awt,JNI_OnLoad_fontmanager,JNI_OnLoad_jpeg -L. -s ./jcgo_Out/Main.c -lm -lpthread -ljcgon -ljcgoawtl -lawt -lcmm -ldcpr -lfontmanager -lmlib_image -ljava -ljvm -lgc -ljpeg
[302] gcc -I /usr/share/JCGO/include -I /usr/share/JCGO/include/boehmgc -O2 -fwrapv -fno-strict-aliasing -D_REENTRANT -DJCGO_INTFIT -DJCGO_UNIX -D_IEEEFP_H -DJCGO_MATHEXT -DJCGO_STDCLINIT -DJCGO_THREADS -DJNIONLOADDECLS=JNIONLOAD\(JNI_OnLoad_awt\)JNIONLOAD\(JNI_OnLoad_fontmanager\)JNIONLOAD\(JNI_OnLoad_jpeg\) -DJNIONLOADLIST=JNI_OnLoad_awt,JNI_OnLoad_fontmanager,JNI_OnLoad_jpeg -DJCGO_NATSEP -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_PARALLEL -DJCGO_USEGCJ -DGCSTATICDATA= -DATTRIBNONGC=__attribute__\(\(section\(\".dataord\"\)\)\) -DJCGO_GCRESETDLS -DGCDATAFIRSTSYM=java_lang_String__class -DGCDATALASTSYM=jcgo_noTypesClassArr -DGCBSSFIRSTSYM=jcgo_initialized -DGCBSSLASTSYM=jcgo_globData -L. -s ./jcgo_Out/Main.c -lm -lpthread -ljcgon -ljcgoawtl -lawt -lcmm -ldcpr -lfontmanager -lmlib_image -ljava -ljvm -lgc -ljpeg -ljsound -ljsoundalsa -lJdbcOdbc -lodbc
[303] gcc -I /usr/share/JCGO/include -I /usr/share/JCGO/include/boehmgc -Os -fwrapv -fno-strict-aliasing -freorder-blocks -D_REENTRANT -DJCGO_INTFIT -DJCGO_UNIX -D_IEEEFP_H -DJCGO_MATHEXT -DJCGO_STDCLINIT -DJCGO_THREADS -DJNIONLOADDECLS=JNIONLOAD\(JNI_OnLoad_awt\)JNIONLOAD\(JNI_OnLoad_fontmanager\)JNIONLOAD\(JNI_OnLoad_jpeg\) -DJNIONLOADLIST=JNI_OnLoad_awt,JNI_OnLoad_fontmanager,JNI_OnLoad_jpeg -DJCGO_NATSEP -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_PARALLEL -DJCGO_NOCREATJVM -DJCGO_USEGCJ -DGC_NO_THREAD_REDIRECTS -DGCSTATICDATA= -DATTRIBNONGC=__attribute__\(\(section\(\".dataord\"\)\)\) -DJCGO_GCRESETDLS -L. -s ./jcgo_Out/Main.c -lm -lpthread -ljcgon -ljcgoawtl -lawt -lcmm -ldcpr -lfontmanager -lmlib_image -ljava -ljvm -lgc -ljpeg -ljsound -ljsoundalsa
[304] gcc -I /usr/share/JCGO/include -I /usr/share/JCGO/include/boehmgc -Os -fwrapv -fno-strict-aliasing -freorder-blocks -D_REENTRANT -DJCGO_INTFIT -DJCGO_UNIX -D_IEEEFP_H -DJCGO_MATHEXT -DJCGO_STDCLINIT -DJCGO_THREADS -DJNIONLOADDECLS=JNIONLOAD\(JNI_OnLoad_awt\)JNIONLOAD\(JNI_OnLoad_fontmanager\)JNIONLOAD\(JNI_OnLoad_jpeg\) -DJNIONLOADLIST=JNI_OnLoad_awt,JNI_OnLoad_fontmanager,JNI_OnLoad_jpeg -DJCGO_NATSEP -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_PARALLEL -DJCGO_NOSEGV -DJCGO_NOCREATJVM -DJCGO_USEGCJ -DGC_NO_THREAD_REDIRECTS -DGCSTATICDATA= -DATTRIBNONGC=__attribute__\(\(section\(\".dataord\"\)\)\) -DJCGO_GCRESETDLS -L. -s ./jcgo_Out/Main.c -lm -lpthread -ljcgon -ljcgoawtl -lawt -lcmm -ldcpr -lfontmanager -lmlib_image -ljava -ljvm -lgc -ljpeg
[305] gcc -I /usr/share/JCGO/include -I /usr/share/JCGO/include/boehmgc -Os -fwrapv -fno-strict-aliasing -freorder-blocks -D_REENTRANT -DJCGO_INTFIT -DJCGO_UNIX -D_IEEEFP_H -DJCGO_MATHEXT -DJCGO_STDCLINIT -DJCGO_THREADS -DJNIONLOADDECLS=JNIONLOAD\(JNI_OnLoad_awt\)JNIONLOAD\(JNI_OnLoad_fontmanager\)JNIONLOAD\(JNI_OnLoad_jpeg\) -DJNIONLOADLIST=JNI_OnLoad_awt,JNI_OnLoad_fontmanager,JNI_OnLoad_jpeg -DJCGO_NATSEP -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_NOSEGV -DJCGO_NOCREATJVM -DJCGO_USEGCJ -DGC_NO_THREAD_REDIRECTS -DGCSTATICDATA= -DATTRIBNONGC=__attribute__\(\(section\(\".dataord\"\)\)\) -DJCGO_GCRESETDLS -L. -s ./jcgo_Out/Main.c -lm -lpthread -ljcgon -ljcgoawtl -lawt -lcmm -ldcpr -lfontmanager -lmlib_image -ljava -ljvm -lgc -ljpeg -ljsound -ljsoundalsa
solaris cc:
[401] cc -I /usr/share/JCGO/include -I /usr/share/JCGO/include/boehmgc -mt -erroff=E_WHITE_SPACE_IN_DIRECTIVE -erroff=E_INTEGER_OVERFLOW_DETECTED -erroff=E_STATEMENT_NOT_REACHED -D_FPU_CONTROL_H -DJCGO_INTFIT -DJCGO_UNIX -DJCGO_MATHEXT -DJCGO_STDCLINIT -DJCGO_THREADS -DJCGO_NATSEP -DJNIONLOADDECLS=JNIONLOAD\(JNI_OnLoad_awt\)JNIONLOAD\(JNI_OnLoad_fontmanager\)JNIONLOAD\(JNI_OnLoad_mawt\)JNIONLOAD\(JNI_OnLoad_jpeg\) -DJNIONLOADLIST=JNI_OnLoad_awt,JNI_OnLoad_fontmanager,JNI_OnLoad_mawt,JNI_OnLoad_jpeg -L. -s ./jcgo_Out/Main.c -lm -ljcgon -ljcgoawtl -lawt -lcmm -ldcpr -lfontmanager -lmawt -lgc -ljpeg
[402] cc -I /usr/share/JCGO/include -I /usr/share/JCGO/include/boehmgc -O2 -mt -erroff=E_WHITE_SPACE_IN_DIRECTIVE -erroff=E_INTEGER_OVERFLOW_DETECTED -erroff=E_STATEMENT_NOT_REACHED -D_FPU_CONTROL_H -DJCGO_INTFIT -DJCGO_UNIX -DJCGO_MATHEXT -DJCGO_STDCLINIT -DJCGO_THREADS -DJNIONLOADDECLS=JNIONLOAD\(JNI_OnLoad_awt\)JNIONLOAD\(JNI_OnLoad_fontmanager\)JNIONLOAD\(JNI_OnLoad_mawt\)JNIONLOAD\(JNI_OnLoad_jpeg\) -DJNIONLOADLIST=JNI_OnLoad_awt,JNI_OnLoad_fontmanager,JNI_OnLoad_mawt,JNI_OnLoad_jpeg -DJCGO_NATSEP -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_PARALLEL -DJCGO_USEGCJ -DGC_NO_THREAD_REDIRECTS -L. -s ./jcgo_Out/Main.c -lm -ljcgon -ljcgoawtl -lawt -lcmm -ldcpr -lfontmanager -lmawt -lgc -ljpeg -ljsound -lJdbcOdbc -lodbc
[403] cc -I /usr/share/JCGO/include -I /usr/share/JCGO/include/boehmgc -O2 -mt -erroff=E_WHITE_SPACE_IN_DIRECTIVE -erroff=E_INTEGER_OVERFLOW_DETECTED -erroff=E_STATEMENT_NOT_REACHED -D_FPU_CONTROL_H -DJCGO_INTFIT -DJCGO_UNIX -DJCGO_MATHEXT -DJCGO_STDCLINIT -DJCGO_THREADS -DJNIONLOADDECLS=JNIONLOAD\(JNI_OnLoad_awt\)JNIONLOAD\(JNI_OnLoad_fontmanager\)JNIONLOAD\(JNI_OnLoad_mawt\)JNIONLOAD\(JNI_OnLoad_jpeg\) -DJNIONLOADLIST=JNI_OnLoad_awt,JNI_OnLoad_fontmanager,JNI_OnLoad_mawt,JNI_OnLoad_jpeg -DJCGO_NATSEP -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_PARALLEL -DJCGO_NOCREATJVM -DJCGO_USEGCJ -DGC_NO_THREAD_REDIRECTS -L. -s ./jcgo_Out/Main.c -lm -ljcgon -ljcgoawtl -lawt -lcmm -ldcpr -lfontmanager -lmawt -lgc -ljpeg -ljsound
[404] cc -I /usr/share/JCGO/include -I /usr/share/JCGO/include/boehmgc -O2 -mt -erroff=E_WHITE_SPACE_IN_DIRECTIVE -erroff=E_INTEGER_OVERFLOW_DETECTED -erroff=E_STATEMENT_NOT_REACHED -D_FPU_CONTROL_H -DJCGO_INTFIT -DJCGO_UNIX -DJCGO_MATHEXT -DJCGO_STDCLINIT -DJCGO_THREADS -DJNIONLOADDECLS=JNIONLOAD\(JNI_OnLoad_awt\)JNIONLOAD\(JNI_OnLoad_fontmanager\)JNIONLOAD\(JNI_OnLoad_mawt\)JNIONLOAD\(JNI_OnLoad_jpeg\) -DJNIONLOADLIST=JNI_OnLoad_awt,JNI_OnLoad_fontmanager,JNI_OnLoad_mawt,JNI_OnLoad_jpeg -DJCGO_NATSEP -DJCGO_ERRTOLOG -DJCGO_ERRSTDOUT -DJCGO_NOSEGV -DJCGO_NOCREATJVM -DJCGO_USEGCJ -DGC_NO_THREAD_REDIRECTS -L. -s ./jcgo_Out/Main.c -lm -ljcgon -ljcgoawtl -lawt -lcmm -ldcpr -lfontmanager -lmawt -lgc -ljpeg -ljsound