public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* What caused my executable file not to run on a Linux of old version 2.4.36.1
@ 2023-10-06 14:43 Dingjun Chen
  2023-10-06 15:33 ` Fw: " Dingjun Chen
  2023-10-06 17:07 ` Jonathan Wakely
  0 siblings, 2 replies; 10+ messages in thread
From: Dingjun Chen @ 2023-10-06 14:43 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 2509 bytes --]

Hi, Dear Sir or Madam,

I used the following gcc/g++ to build 32-bit executable file: vtem_xyz and please see the following information below:

dingjun@G02515:~/DAQ_XYZCross2_cmake/bin$ objdump -f vtem_xyz
vtem_xyz:     file format elf32-i386
architecture: i386, flags 0x00000150:
HAS_SYMS, DYNAMIC, D_PAGED
start address 0x000027d0

The Linux version and gcc/g++ version information are given below when building above executable file:

dingjun@G02515:~/DAQ_XYZCross2_cmake/bin$ uname -a
Linux G02515 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

dingjun@G02515:~/DAQ_XYZCross2_cmake/bin$ g++ --version
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

dingjun@G02515:~/DAQ_XYZCross2_cmake/bin$ gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


However, the executable file: vtem_xyz cannot run on RTD single board computer with Linux 2.4.36.1 2009, i686.
All shared .so libraries are under the same directory with the executable file: vtem_xyz. I am wondering what's wrong with it.

Could you please tell me if your GNU libraries are compatible with the Linux of old version?  Do you have any suggestions when building an executable file running under a Linux of old version?

I look forward to your help and your reply would be greatly appreciated.

Thanks and regards,

Dingjun








Dingjun Chen  | Software Developer

[Geotech Airborne Geophysical Surveys]

Geotech Ltd. dba Geotech Airborne | 270 INDUSTRIAL PKY S | AURORA ON CA | L4G 3T9
T: +1 905 841 5004 | Dingjun.Chen@geotechairborne.com<mailto:Dingjun.Chen@geotechairborne.com> | www.geotechairborne.com<www.geotech.ca>

P Please consider the environment before printing this email

This message may contain PRIVILEGED AND PROPRIETARY INFORMATION intended solely for the use of the addressee (s) named above. Any disclosure, distribution, copying, or use of the information by others is strictly prohibited. If you have received this message in error, please advise the sender by immediate reply and delete the original message.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-10-10 17:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-06 14:43 What caused my executable file not to run on a Linux of old version 2.4.36.1 Dingjun Chen
2023-10-06 15:33 ` Fw: " Dingjun Chen
2023-10-06 17:07 ` Jonathan Wakely
2023-10-07  6:18   ` Xi Ruoyao
2023-10-07 11:19     ` Kai Ruottu
2023-10-10 10:28       ` Dingjun Chen
2023-10-10 12:36         ` Xi Ruoyao
2023-10-10 12:30     ` Dingjun Chen
2023-10-10 17:13     ` Dingjun Chen
2023-10-10 17:41       ` Kai Ruottu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).