• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Cross Compilation in Eclipse

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have two related questions here.

1. How to achive cross compilation in eclipse.
i want to use Java 5.0 file and produce a target compatible to 1.3.1_19

2. Is there any performance gain if i do cross compilation like using Java 5.0 to compile for target compatibility as 1.3. Instead of using jdk 1.3 to compile.

Thanks in advance
 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. Look at the Java Compiler Preferences. You should be able to set Compliance options there although not as specific as 1.3.1_19. Note this does not apply to J2EE. J2EE is controlled by a separate version preference.

2. I do not have an answer for this. One would think that performance would be at least as good if not better. You might try measuring performance yourself and/or comparing the bytecode generated.
 
today's feeble attempt to support the empire
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic