LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-20-2006, 02:56 AM   #1
jon484
LQ Newbie
 
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
Compiling GCC_3.5 support to libgcc_s.so.1 for arm926


Hello,

I having difficulties getting gcc-4.1.1 to natively compile on a arm926 embedded system.

First, here's what I did. I used codesourcery's arm-2006q3 toolchain to cross compile gcc-4.1.1, binutils-2.17, make, automake, autoconf, bison ... (hereinafter collectively called "devtools") for arm-none-linux-gnueabi. I installed the newly compiled "devtools" to an arm926 embedded device. I tested my devtools by compiling a few programs (i.e. apache, openssl, openssh, krb5). Everything compiled fine. Note that glibc pre2.4 was already installed on the embedded device. The same glibc was used when compiling "devtools".

The issue is when I try to do a native compile for gcc-4.1.1. I get an error saying that "version 'GCC_3.5' not found" in libgcc_s.so.1 . I ran the command "strings libgcc_s.so.1 | grep GCC" and GCC_3.5 is not there. The strange thing is when I run the command on libgcc_s.so.1 from the cross-compiled gcc, both GCC_3.5 and GCC_4.0 are there.

I understand why gcc is looking for GCC_3.5 in libgcc_s.so.1. The software on the box (i.e. busybox, bash) were originally compiled with an older toolchain that contained gcc-3.5. I am in the process of recompiling everything with gcc-4.1.1, but want to recompile everything with the natively-compiled gcc-4.1.1 for arm. I am also aware that GCC_3.5 has been dropped/renamed for GCC_4.0.

So my question is, how can I compile gcc so that libgcc_s.so.1 contains backwards support for GCC_3.5 (and thus can successfully compile)?


Regards,

Jon
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libgcc_s.so.1: version 'GCC_3.3' not found... Crog Linux - Newbie 11 07-05-2006 01:42 AM
/lib/libgcc_s.so.1: version `GCC_3.3.1' not found murder Linux - Software 1 01-06-2006 07:13 AM
BF2 Server `GCC_3.3' not found Zlayer Linux - Games 3 08-21-2005 12:35 PM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
libc.so.6 GCC_3.0 ???????????????????? Kenny81 Linux - General 0 01-26-2004 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration