Hi,
I just downloaded and installed Radstudio Tokyo on my Macbook Pro, running VMWare.
I'm compiling a simple hello world app.
I built an Ubunto 16.04.2 VM as specified in
http://chapmanworld.com/2016/12/29/configure-delphi-and-redhat-or-ubuntu-for-linux-development/
and also the Linux Wiki page. Then created the platform SDK, however,
during the linker stage I get library not found gcc_s, c, pthread, ...
I believe there is a linker option missing or some configuration option is incorrect.
In the /vmware/.../lib/x86_64-linux-gnu folder there's the libgcc_s.so.1, ... library files
Here is the link command during the build:
Embarcadero Delphi for Linux 64 bit compiler version 32.0
Copyright (c) 1983,2016 Embarcadero Technologies, Inc.
Linker command line: "c:\program files (x86)\embarcadero\studio\19.0\bin\ld-linux.exe"
-o .
Linux64
Release
Project1 -e _ZN8Project114initializationEv --gc-sections
--dynamic-list .
Linux64
Release
Project1.exp
-z relro --build-id --eh-frame-hdr -m elf_x86_64 --dynamic-linker /lib64/ld-linux-x86-64.so.2 -s
--sysroot "\\\\vmware-host
Shared Folders
Documents
Embarcader
Studio
SDKs
ubuntu16.04.sdk"
-L "c:
program files (x86)
embarcadero
studio
19.0
lib
Linux64
release"
-L "\\\\vmware-host
Shared Folders
Documents
Embarcadero
Studio
19.0
Imports"
-L "c:
program files (x86)
embarcadero
studio
19.0
Imports"
-L C:
Users
Public
Documents
Embarcadero
Studio
19.0
Dcp
Linux64
-L "c:
program files (x86)
embarcadero
studio
19.0
include"
-L "c:
program files (x86)
embarcadero
studio
19.0
redist
Linux64"
-L C:
Users
Public
Documents
Embarcadero
Studio
19.0
Bpl
Linux64
-L "\\\\vmware-host
Shared Folders
Documents
Embarcadero
Studio
SDKs
ubuntu16.04.sdk
lib
x86_64-linux-gnu"
-L "\\\\vmware-host
Shared Folders
Documents
Embarcadero
Studio
SDKs
ubuntu16.04.sdk
usr
lib
gcc
x86_64-linux-gnu
5"
-L "\\\\vmware-host
Shared Folders
Documents
Embarcadero
Studio
SDKs
ubuntu16.04.sdk
usr
lib
x86_64-linux-gnu"
@.
Linux64
Release
Project1.lnk -lgcc_s -lrtlhelper_PIC -lc -ldl -lpthread -lm -rpath $ORIGIN
Thanks,
Eric
Connect with Us