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:

Install CT via Wine ? 9 years 1 month ago #8414

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor
Hello.

Do you have plan to enable install CT-Windows via wine-Linux ?
I have try to run install.bat via wine but get error messages.

PS: The Windows Lazarus-install.exe is working via wine, so maybe CT could make it work too.
PS2: If install CT on a real Windows OS and then copy that CT directory into a Linux directory and do wine typhon.exe => it works.
PS3: I know that it is possible to cross-compile from Linux=>Windows but I prefer to use a complete Typhon-Windows installed via wine-Linux and use it to compile the code created in pure Linux.

Thanks.

Fre;D

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

Last edit: by Fred.

Install CT via Wine ? 9 years 1 month ago #8415

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
please read and this ? :)

Linux64 => cross build and run => Windows64 with Wine
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Install CT via Wine ? 9 years 1 month ago #8416

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor
PS5 : See my last edit =>

PS3: I know that it is possible to cross-compile from Linux=>Windows but I prefer to use a complete Typhon-Windows installed via wine-Linux and use it to compile the code created in pure Linux.


I like it because i can use the installed CT-Windows to debug Windows applications in Linux !

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

Install CT via Wine ? 9 years 1 month ago #8417

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor
Till now, because I have 2 boot os (Linux and Windows 8), I installed CT on Windows 8.
Then I installed CT on Linux and then, for Windows, I run in Linux wine /media/fred/WIN8/codetyphon/typhon.exe

So no need to re-boot to Windows to test-debug Windows programs, I do it via wine.

But I would prefer not to install CT on Windows OS but install it on Linux via wine.
It is possible to do it with wine LazarusInstall.exe

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

Last edit: by Fred.

Install CT via Wine ? 9 years 1 month ago #8418

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor
Re-hello Sternas.

Could you try this in Linux =>

~ $ wine cmd.exe =>

Then in the loaded cmd-terminal (with the good directory, of course)

~ $ /home/fred/download/CodeTyphonIns/install.bat

And choose option 0

=> Copy of files is ok but there is that error message =>

fixme:exec:SHELL_execute flags ignored: 0x00000100

Thanks.

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

Last edit: by Fred.

Install CT via Wine ? 9 years 1 month ago #8419

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
my suggestion is to do this tomorrow
when all programming team is here

I am here (PilotLogic Lab) with 5 students now (Ubuntu-Mate 15.10 lessons) and I can't do nothing. :blush:
I will put this to our daily to-list, for tomorrow
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Install CT via Wine ? 9 years 1 month ago #8424

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor
Hello Sternas.

Of course, there is no fire ;)

Here how I do :
1) Boot on Windows.
2) Install CT on Windows 8.1
3) Boot in Linux
4) Copy directory /media/fred/WIN81/codetyphon into /home/fred/.wine/drive_c

And the result if running => wine /home/fred/.wine/drive_c/codetyphon/typhon/bin64/typhon.exe => (see attachment)



So, it works.

It would be perfect if there was no need to install CT first to Windows then copy to Linux but instead directly install it to Linux via wine /CodeTyphonIns/install.bat

PS: No worry, the most important is that it works already with copy installed-CT-directory-in-Windows into Linux-directory.

Thanks.

Fre;D
Attachments:

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

Last edit: by Fred.

Install CT via Wine ? 8 years 11 months ago #8658

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor
Ok, it is possible to install CT-Windows via wine Linux/FreeBSD. ;-)

The tip is to add the missing ".bat" extension when a batch script is called with "start" in setup.bat and each /ScriptsWin/*.bat

Example in setup.bat : Change this =>
START /B /WAIT xx_CodeTyphon_Remove_FPC

with that =>
START /B /WAIT xx_CodeTyphon_Remove_FPC.bat

That way, wine can find and run each script and CT-Windows can be installed on a Linux/FreeBSD system via Wine:

=>

cd /directory/of/CodeTyphonIns

=>

wine wineconsole.exe install.bat


Perfect, all is installed and working.

In attachment, all the Windows scripts of CT 5.6, working for "real" Windows OS and for Wine in Linux/FreeBSD.



PS : Procedure => @ Run CodeTyphon @ in setup.bat is a litle modified too to work for Wine too.
PS2: It is real plus for CT to be installable via wine.

Fre;D

[EDIT] X2 => Added new attachment tested on Linux Mint 64 => both Typhon32/win and Typhon64/win correctly installed.

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

Last edit: by Fred.

Install CT via Wine ? 8 years 11 months ago #8659

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor
Re-hello.

In attachment, Windows-scripts tested and working.
In setup.bat, added a option to Clean - Build all (SmallIDE).
I know that it is possible to do it via CodeTyphon-center, but it is faster in console.




Fred.

[EDIT] Update attachment (Windows-scripts => some ".bat" ware missing.... :huh:

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

Last edit: by Fred.

Install CT via Wine ? 8 years 11 months ago #8660

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
for your work it's "Extreme",
from our lab programmers, our respect !!!
PilotLogic Architect and Core Programmer

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

Install CT via Wine ? 8 years 11 months ago #8665

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor

Thanks Sir
for your work it's "Extreme",
from our lab programmers, our respect !!!


It is always a pleasure to make CT the best. :)

PS1: Update attachments in previous posts... there was (still) some ".bat" missing... :huh:
PS2: Have you try to install CT-windows via Wine on a Linux/FreeBSD system ?
Iit works perfectly and the debugger too for 32/64. ;)
PS3: Wine is working like charm, I am so happy to not need a "real" Windows OS installed on my laptop anymore.

Fre;D

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

Last edit: by Fred.

Install CT via Wine ? 8 years 11 months ago #8666

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
No Sir
we didn't test CT on WINE yet.

All "lab power" focus now at Multi-Projects
we want first to finish this "lab task", and then to prepare the Final release of CT 5.60
before the end of this year ( I hope).
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Install CT via Wine ? 8 years 11 months ago #8667

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor

No Sir
we didn't test CT on WINE yet.

Ha, ok, so you will have good surprises (and lot of wow). ;)

All "lab power" focus now at Multi-Projects

Huh, what is that ?

Fre;D

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

Last edit: by Fred.

Install CT via Wine ? 8 years 11 months ago #8668

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
A Screen from
Windows 10 Pro 64bits
PilotLogic Architect and Core Programmer
Attachments:

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

Install CT via Wine ? 8 years 11 months ago #8669

  • Fred
  • Fred's Avatar Topic Author
  • Visitor
  • Visitor

A Screen from
Windows 10 Pro 64bits


Oops, seems very interesting (but I do not know that "Multi-Projects" concept).
I will check on Wikipedia. (maybe it is something like Git-concept).

Congrats for that new way.

Fre;D

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

Install CT via Wine ? 8 years 11 months ago #8670

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
More news when all are OK.

Not all Lab tasks have a good end...
some remain unfinished,
it's programmers world, you know...
PilotLogic Architect and Core Programmer

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

  • Page:
  • 1