Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Compile x86 app on x64 platform 7 years 8 months ago #9840

  • Libaud
  • Libaud's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Hi all,

Compile x86 project on x64 plateform (Mint Sarah) with multiarch activate doesn't work correctly :

Compilation du projet, CPU : i386 - Cible : App32 : Code de sortie 256 - Erreurs : 1
/usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/i386-linux-ld: /usr/lib/i386-linux-gnu/crti.o: unrecognized relocation (0x2b) in section `.init'
/usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/i386-linux-ld: final link failed: Bad value
App32.lpr(20,1) Error: Error while linking

Some research about crti.o relocation indicate that there's a bug on then latest release GNU GCC lib.
Frédéric Libaud, Digital Expert

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

Compile x86 app on x64 platform 7 years 8 months ago #9841

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Sir we test now CT 5.8 and 5.9 on LinuxMint 18
please give us time ...:)

PS: 2 post for the same subject ?
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Compile x86 app on x64 platform 7 years 8 months ago #9842

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
ALL OK on Linux Mint 18 “Sarah” MATE Edition.
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Compile x86 app on x64 platform 7 years 8 months ago #9843

  • Libaud
  • Libaud's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Ok.
Thanks.

It's different problems.
Frédéric Libaud, Digital Expert

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

Compile x86 app on x64 platform 7 years 8 months ago #9844

  • Libaud
  • Libaud's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
I'm using Cinnamon
Frédéric Libaud, Digital Expert

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

Compile x86 app on x64 platform 7 years 8 months ago #9853

  • Libaud
  • Libaud's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
I reproduce the problem with a full new install :

Compilation du projet, CPU : i386 - Cible : App32 : Code de sortie 256 - Erreurs : 1
/usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/i386-linux-ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o when searching for /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o
/usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/i386-linux-ld: cannot find /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o
App32.lpr(20,1) Error: Error while linking
Frédéric Libaud, Digital Expert

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

Compile x86 app on x64 platform 7 years 8 months ago #9854

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Sir
please replace fpc.cfg with these new from Lab CT
PilotLogic Architect and Core Programmer

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

Compile x86 app on x64 platform 7 years 8 months ago #9856

  • Libaud
  • Libaud's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Sir,
Have you a direct link ? Or a default template ? because I don't see any download link for this specific file.
Made a dedicated environment for the 5.90 build need a long and big effort.
Frédéric Libaud, Digital Expert

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

  • Page:
  • 1