Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

Sharing the installation between Host and Guest 9 years 2 months ago #8166

  • Leslie
  • Leslie's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 66
  • Thank you received: 4
Hi,

The host is Windows 10 and the guest is Lubuntu . I was wondering if it was a good idea to mount the C:\codetyphon dir to /usr/lib/codetyphon. and run the setup script from there.

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

Sharing the installation between Host and Guest 9 years 2 months ago #8168

  • Alexandr
  • Alexandr's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 62
  • Thank you received: 2
Just share folder between VM and host.
The following user(s) said Thank You: Leslie

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

Sharing the installation between Host and Guest 9 years 1 month ago #8188

  • Leslie
  • Leslie's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 66
  • Thank you received: 4
CT is expecting to find everything in the default folder and I could not find a way to override it.

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

Sharing the installation between Host and Guest 9 years 1 month ago #8189

  • Leslie
  • Leslie's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 66
  • Thank you received: 4
Creating a symbolic link has solved the path issues:

sudo ln -s /media/sf_codetyphon /usr/lib/codetyphon

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

Sharing the installation between Host and Guest 9 years 1 month ago #8329

  • Leslie
  • Leslie's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 66
  • Thank you received: 4
Hi,

compiling the IDE in the 32bit Ubuntu guest fails:

make -C packager/registration
make[1]: Entering directory '/media/sf_codetyphon/typhon/packager/registration'
/bin/rm -f ../units/i386-linux/fcllaz.ppu
/usr/lib/codetyphon/fpc/fpc32/bin/i386-linux/ppc386 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -Fu../../../fpcsrc/rtl -FE. -FU../units/i386-linux -g- -di386 fcllaz.pas
Free Pascal Compiler version 3.1.1 [2015/10/11] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Linux for i386
(3104) Compiling fcllaz.pas
Fatal: (10022) Can't find unit system used by fcllaz


The suspicious parameter is "-Fu../../../fpcsrc/rtl" . Why the source dir? Replacing it with -Fu/usr/lib/codetyphon/fpc/fpc32/units/i386-linux/* the compilation of fcllaz.pas finishes with no problem in XTerm.
Is there a way to tell CT to add the proper unit dir as a parameter?

Leslie

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

Last edit: by Leslie.

Sharing the installation between Host and Guest 9 years 1 month ago #8331

  • Leslie
  • Leslie's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 66
  • Thank you received: 4
fpc.cfg contains the proper unit paths yet it is not used. Is this by design or is there something wrong here?

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

Sharing the installation between Host and Guest 9 years 1 month ago #8343

  • Leslie
  • Leslie's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 66
  • Thank you received: 4
I have asked the last question here in case it is related to the fact that it is a shared installation, but most likely it is a general Linux 32bit problem. Is there a solution, workaround ...?

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

Last edit: by Leslie.

Sharing the installation between Host and Guest 9 years 1 month ago #8344

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
we don't use CodeTyphon "shared installation"
sorry we can't help :blush:

My question, why you don't use a VM ?
PilotLogic Architect and Core Programmer

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

Sharing the installation between Host and Guest 9 years 1 month ago #8345

  • Leslie
  • Leslie's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 66
  • Thank you received: 4
Sternas,

"we don't use CodeTyphon "shared installation"
sorry we can't help :blush:"

Sure, got it. :)

"My question, why you don't use a VM ?"

This is the config:

Windows 10 Host
Lububntu 15.04 guest VM
The C:\codetyphon folder is shared with the guest & linked to the dir where the linux installation would put it.
Drive C is an SSD and the VM is on regular HDD. The SSD is much faster, that is why I am trying to share.


I assume that this way all files are exactly where they should be for both OS's.
Maybe there is something else the linux setup script would set up and is missing now.

Leslie

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

Last edit: by Leslie.
  • Page:
  • 1