/usr/lib/gcc-lib/i386-linux and /usr/lib/gcc-lib/i486-linux

/usr/lib/gcc-lib/i386-linux and /usr/lib/gcc-lib/i486-linux

Post by Wing-kuen Chu » Thu, 19 Aug 1993 13:28:21



Hi Linuxers,

I just got a new copy of gcc-2.4.5 and source code of the pl11.
After having done the installation of gcc-2.4.5, I realised that
I have an extra directory: /usr/lib/gcc-lib/i386-linux.
The question is whether I need to keep the old gcc stuff under
the i386-linux.  I really like to clean it up so as to save 5.1
meg disk space (another poor Linux user  ;-( ).

Your answer is very appreciated.  Please send answer directly
to my address or the corresponding interest parties to reduce
the network load.  Thank you in advance.

Wing



 
 
 

1. /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/asm causing errors...

I tried to compile the cddafs software from gracjan and it didn't compile
on my Linux machine at work but it did compile on my Linux machine at home.

After a while I figured out what the differences where of those two sytems.
The file:

  /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/asm/posix_types.h

caused the errors.

This file is different from the one in:

  /usr/include/asm/posix_types.h

where asm is a link to:

  /usr/include/asm -> /usr/src/linux/include/asm

On my system at home, where I run egcs-2.91.60 the directory

  /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.60/include/asm  

does NOT exist. That's why the software did compile on that machine
without any problems.

So I removed the directory /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/asm
and now it also compiles on my machine at work.

But I still have some questions:

- Why is this asm directory duplicated by the installation of a compiler?
- If it is needed, how could it be that it is causing errors?

Thanks for any information about this....

-Remco

2. Rescue, inittab, RH6 problem

3. Tell "configure" to use /usr/local/lib/sparcv9/ instead of /usr/local/lib/

4. MAC Address

5. /usr/openwin/lib/libtt.so vs /usr/dt/lib/libtt.so (and ttsession) ?

6. ncsa httpd 1.4 404 problems

7. linking /usr/local/lib/* to /usr/lib/

8. ufsrestore + windows

9. /usr/X386/lib/X11 <-> /usr/lib/X11

10. automake causing linker to look in /usr/lib/.libs for file

11. Shared libs in /usr/lib and elsewhere

12. can't load library /usr/lib/lib?????

13. Help - shared libs lib****.so.4 lib***.so.5