dear friends, due to some unknown reason, i cant invoke gcc from my account. its not really troublling the machine, but if I invoke gcc/g++/ifort to compile any program, its not doing anything. gcc is specially making the terminal inactive. here is ps -aux output of gcc -v. Rudra 10102 0.0 0.0 1776 400 pts/1 S+ 10:43 0:00 gcc -v if it is needed, my system is : Linux xxx.lan.yyy.res.in 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux can yoou tell me what is going wrong? -- Rudra JRF; SNBNCBS http://www.bose.res.in/~rudra A bus station is where a bus stops. A train station is where a train stops. On my desk I have a work station. Please, if possible, don't send me MS Word or PowerPoint attachments Why?See: http://www.gnu.org/philosophy/no-word-attachments.html ----- Original Message ---- From: "gcc-help-digest-help@xxxxxxxxxxx" <gcc-help-digest-help@xxxxxxxxxxx> To: gcc-help@xxxxxxxxxxx Sent: Friday, 11 July, 2008 4:06:14 AM Subject: gcc-help Digest 10 Jul 2008 22:36:14 -0000 Issue 2774 gcc-help Digest 10 Jul 2008 22:36:14 -0000 Issue 2774 Topics (messages 33387 through 33404): GCC-4.3.1 source from mirror - no configure file 33387 by: Brian Dessent <brian@xxxxxxxxxxx> 33388 by: "Ellis Robin (Bundaberg)" <Robin.Ellis@xxxxxxxxxxxxxx> 33396 by: "Rupert Wood" <me@xxxxxxxxx> How to write this insn define? 33389 by: "Ruan Beihong" <ruanbeihong@xxxxxxxxx> bitset 33390 by: Rudra Banerjee <bnrj.rudra@xxxxxxxxx> 33395 by: "Rupert Wood" <me@xxxxxxxxx> Downloading gcc sources ? 33391 by: Sharath Manjunatha <shamanju@xxxxxxxxx> 33393 by: "James Gregory" <james.jrg@xxxxxxxxx> 33394 by: "Rupert Wood" <me@xxxxxxxxx> 33397 by: Sharath Manjunatha <shamanju@xxxxxxxxx> 33398 by: Sharath Manjunatha <shamanju@xxxxxxxxx> Including <iostream> affects whether or not program freezes? 33392 by: "James Gregory" <james.jrg@xxxxxxxxx> PING:Reason behind not implementing some instructions of H8SX targets in H8300 port 33399 by: "Deepen Mantri" <Deepen.Mantri@xxxxxxxxxxxxxxx> AIX - collect2: ld returned 12 exit status 33400 by: "Shlomy Marom" <shlomym@xxxxxxxxxxxxx> [Fwd: questions about gcc PIC port] 33401 by: Platone Ilia <plato@xxxxxxxxxxx> `GLIBCXX_3.4.9' not found 33402 by: Herbert Saal <herbertsg@xxxxxxxxxxx> 33403 by: Brian Dessent <brian@xxxxxxxxxxx> Watch it rise_ 33404 by: <mdesilets@xxxxxxxx> Administrivia: To subscribe to the digest, e-mail: gcc-help-digest-subscribe@xxxxxxxxxxxx To unsubscribe from the digest, e-mail: gcc-help-digest-unsubscribe@xxxxxxxxxxx To post to the list, e-mail: gcc-help@xxxxxxxxxxx ---------------------------------------------------------------------- Hallo, I'm writing because I have written a small program targeted for the Microchip PIC uC architecture and i haven't find any port of gcc for PICs. My questions are: -Has someone started to work around this port? -It is possible to port gcc for these chips? I have contact gnu.org and asked them if I can try to start working for this, and they told me to contact you before doing anything, can you help me (I absolutely need gcc to compile my code)? Thanks. Ilia Platone. Hello, I get the following result when i ldd my shared library in a target computer: $> ldd /usr/lib/libCVTJavaInterface.so /usr/lib/libCVTJavaInterface.so: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/libCVTJavaInterface.so) linux-gate.so.1 => (0xffffe000) libcvt.so => /usr/lib/libcvt.so (0xb7e95000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7dab000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d84000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7d78000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c37000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7c33000) /lib/ld-linux.so.2 (0x80000000) I have the following files in the target computer: lrwxrwxrwx 1 root root 18 2007-10-17 10:00 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.8 -rw-r--r-- 1 root root 929648 2007-03-02 21:51 /usr/lib/libstdc++.so.6.0.8 I have the following files in my development computer: gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7) /usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.7 /usr/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.9 /usr/lib/libstdc++.so.6.0.9 What can i do? One option i think is to static compile the libstdc++ library in my shared library. what is the instruction to do that? thanks in advance, Herbert _________________________________________________________________ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx Herbert Saal wrote: > What can i do? With symbol versioning, compatibility works backwords but not forwards -- a binary built against an older libstdc++ should normally function correctly with a newer libstdc++ found on the machine at runtime. Thus the solution is to install the oldest version of gcc you wish to support on your development machine and link with it. This doesn't mean you necessarily need to use this old version of gcc to develop with, as you can have as many versions installed on the machine as you want. Just use the old version to produce the final binary. > One option i think is to static compile the libstdc++ library in my shared library. what is the instruction to do that? That's a very bad idea. Static linking works well for programs, but for a shared library it's going to be a nightmare because it means your lib will be loaded into a program that is likely dynamically linked against some other version of libstdc++. Thus you get essentially two copies of libstdc++ code, and if you try to pass objects between your code in your shared library and the code in the main program you have to ensure that all data structures are laid out exactly the same or compatible, otherwise you get random crashes or other unexplainable behavior. In other words, this solves nothing but just makes the problem ten times harder to debug. Not to mention the practical issue that the code in the static libstdc++ archive is not built PIC and so you can't link it into a shared library (the exception being i386, where it's allowed but with a performance penalty of relocs that make your text section non-sharable so what's the point.) Brian Price rises to 10 cents,, poe ple are buying an d holding. Tick: mpix Na"me: Mind Pix Corp. Last trade Thursday: $ 0.10 moved up 300% This company is on the vrege "of really solid growth. Jump on ,this stock Friday Mor-ning. Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/