Bug 20384 - Can't compile oracle test jdbc app with oracle jdbc14.jar shared lib version
Summary: Can't compile oracle test jdbc app with oracle jdbc14.jar shared lib version
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-08 16:32 UTC by David E. De La Rosa
Modified: 2005-07-23 22:49 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David E. De La Rosa 2005-03-08 16:32:55 UTC
gcj -O2 -shared -fjni -findirect-dispatch ojdbc14.jar -o ojdbc14.so
gcj -o oracletest -O2 --classpath=/home/acuser/gcj/DB/ojdbc14.jar jdbcTester.java
 -main=jdbcTester /home/acuser/gcj/DB/ojdbc14.so -L /usr/local/lib -lgcj
jc1: error: invalid option ΓК ain=jdbcTesterΓКо
make: *** [oracletest] Error 1
Comment 1 Andrew Pinski 2005-03-08 16:40:55 UTC
-main=jdbcTester

You want --main= jdbcTester
Comment 2 David E. De La Rosa 2005-03-08 16:49:03 UTC
Thanks, --main fixed it.
Comment 3 Andrew Pinski 2005-06-05 07:38:59 UTC
Reopening to ...
Comment 4 Andrew Pinski 2005-06-05 07:39:16 UTC
Mark as invalid.