Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

Cross Build Linux 64bit to Linux 32bit failed 5 years 7 months ago #12024

  • Md. Shariful Alam Khan
  • Md. Shariful Alam Khan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 111
  • Thank you received: 0
I did a post about Win32-Linux32 in Cross Build Win32-Linux32 which yet to have a suitable answer. So I tried to do Linux 64bit to Linux 32bit and came out as same as Win32-Linux32 with following error:
/usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/i386-linux-ld: cannot find /lib/ld-linux.so.2

ld-linux.so.2 file is available in /usr/local/codetyphon/binLibraries/i386-linux

I badly need to compile a library for Linux 32bit as my Linux host application is 32bit(Firebird 1.5) and I making a Firebird UDF.

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

Cross Build Linux 64bit to Linux 32bit failed 5 years 7 months ago #12027

  • fredvs
  • fredvs's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
Hello.

Not sure to understand.

Is your main system Linux 64 bit and do yo want to compile a 32 bit Linux library?

IMHO, the most easy is not to do Cross-compilation but use the 32 bit Typhon in a multi-arch 64 bit system.

To resume: install CodeTyphon with "multi-arch" enabled then, load 32 bit Typhon for compile your 32 bit library.

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

Last edit: by fredvs.

Cross Build Linux 64bit to Linux 32bit failed 5 years 7 months ago #12028

  • Md. Shariful Alam Khan
  • Md. Shariful Alam Khan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 111
  • Thank you received: 0
My main system is 64bit and trying to compile 32bit.

I tried to install 32bit IDE but got following error in Ubuntu Budgie 64-bit with 6GB of RAM and with Multi-Arch enabled

make -C packager/registration
make[1]: Entering directory '/usr/local/codetyphon/typhon/packager/registration'
/bin/rm -f ../units/i386-linux/fcllaz.ppu
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/ppc386 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -FE. -FU../units/i386-linux -di386 fcllaz.pas
Hint: (11030) Start of reading config file /usr/local/codetyphon/fpc/fpc32/bin/i386-linux/fpc.cnf
Hint: (11031) End of reading config file /usr/local/codetyphon/fpc/fpc32/bin/i386-linux/fpc.cnf
Free Pascal Compiler version 3.1.1 [2018/05/29] for i386
Copyr
Copyright (c) 1993-2018 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
Fatal: (1018) Compilation aborted
Makefile:2803: recipe for target 'fcllaz.ppu' failed
make[1]: *** [fcllaz.ppu] Error 1
make[1]: Leaving directory '/usr/local/codetyphon/typhon/packager/registration'
Makefile:3268: recipe for target 'registration' failed
make: *** [registration] Error 2
mv: cannot stat 'typhon': No such file or directory
mv: cannot stat 'typhonstart': No such file or directory
mv: cannot stat 'typhonbuild': No such file or directory
mv: cannot stat 'tools/ctres': No such file or directory
mv: cannot stat 'tools/ctlrstofrm': No such file or directory


[INFO]: Clean Tools Directory


??????????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon32 Small IDE i386-linux-gtk2 NOT Build
??????????????????????????????????????????????????????????

==============================================================
Build Typhon32 BIG IDE i386-linux-gtk2 for Linux
==============================================================


[ERROR]: Sorry, Typhon32 from Small-IDE NOT Build
please remove and build Typhon again...

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

Last edit: by Md. Shariful Alam Khan.

Cross Build Linux 64bit to Linux 32bit failed 5 years 7 months ago #12029

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Sir
Ubuntu Budgie 64-bit it's NOT MultiArch Distribution,
for this reason we don't enable CodeTyphon MultiArch ability in our CT-OS test info

For true MultiArch and MultiPlatform distributions my suggestion is
Debian 9.x, Fedora 28, Mageia 6 etc. more info

Many "Secondary" Linux Distribution do NOT support MultiArch
it's OS Packages and Libraries problem.
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.
  • Page:
  • 1