gcc version 4.0.0 20041014 (experimental) gcj can compile resources in a jar file:
> gcj -c file.jar But, it can not compile resources from list of files: filelist: dir/somefile.jpg dir/someother.jpg > gcj --resource -c @filelist gcj: --resource requires -o Adding the unneeded -o: > gcj --resource -c -o f @filelist gcj: @filelist: No such file or directory Assertion failed: TREE_CHAIN (current_file_list) == NULL, file /datal/gcc/gcc/gcc/java/jcf-parse.c, line 1087 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. filelist:0: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -- Summary: gcj compiling resources from a file list doesn't work (ICE) Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ovidr at users dot sourceforge dot net CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18433