Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

cross java-jvm 8 years 1 week ago #10367

  • gulyone
  • gulyone's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 99
  • Thank you received: 5
is there any tutorial (easy or not) to crossbuild from win32 CT to jvm-java?

I ask this because I did just several attempts with a BASIC program (no dependencies on packages, even not fcl) and CT IDE complains there is no fpc.cfg for the desired target. then the compilation hangs with exit code 1 -Tjava invalid parameter

as i said, i built ppcjvm.exe all went ok, I switched from "use ct internal build engine" to "ct uses external build engine" after I downloaded all libraries and engine related to all-jvm-java. I even manually added -FI...\units\java\rtl , and any others where fpc installed object files and .class files

Please Log in or Create an account to join the conversation.

cross java-jvm 8 years 1 week ago #10368

  • gulyone
  • gulyone's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 99
  • Thank you received: 5
n.b
the only thing i did not try is to exit IDE and try to compile in an OS command box, manually using fpcjvm.exe instead of fpc.exe dispatcher

Please Log in or Create an account to join the conversation.

cross java-jvm 8 years 1 week ago #10369

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4540
  • Thank you received: 1117
Sir
Cross-build in CodeTyphon is one click action 4 years now...

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

cross java-jvm 8 years 1 week ago #10370

  • gulyone
  • gulyone's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 99
  • Thank you received: 5
yep sternas, i am no noob, i built that, and downloaded all related java libraries.. always got IDE messagebox warning "no fpc.cfg" for the selected target, then I press compile button on a simple as possible

program xxxx;

begin
end.

and CT 5.9 hangs ont a red line in messages "-Tjava invalid parameter exit code = 1"

Please Log in or Create an account to join the conversation.

Last edit: by gulyone.

cross java-jvm 8 years 1 week ago #10371

  • gulyone
  • gulyone's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 99
  • Thank you received: 5
I am going to put here some scnshots, in an hour (currently rebuilding the whole CT), you'll see what happens

Please Log in or Create an account to join the conversation.

cross java-jvm 8 years 1 week ago #10373

  • gulyone
  • gulyone's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 99
  • Thank you received: 5

Please Log in or Create an account to join the conversation.

cross java-jvm 8 years 1 week ago #10375

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4540
  • Thank you received: 1117
Sir
CPU-OS =jvm-java
The OS is java
The CPU must be jvm
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

cross java-jvm 8 years 1 week ago #10376

  • gulyone
  • gulyone's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 99
  • Thank you received: 5
ok Sir, thank you, will try tomorrow and repport (currently adding 4GB ram more on my laptop to get 8GB total)

Please Log in or Create an account to join the conversation.

cross java-jvm 8 years 1 week ago #10377

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4540
  • Thank you received: 1117
OK
and have fun
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

cross java-jvm 8 years 1 week ago #10378

  • gulyone
  • gulyone's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 99
  • Thank you received: 5
ok last attempt... I must have miss something

I looked for JDK and java SDK contents to see if I could find that 'jvm-java-java.exe' but it doesnt exist, so I have no more clue.

my purpose was to test cross-compilation for later use, actually it works fine with no effort windows <=> linux ubuntu

I'm about to give up with javacrap lol :-)
Attachments:

Please Log in or Create an account to join the conversation.

  • Page:
  • 1