Unable to compile X bins w/GCC under 2.5.1

Unable to compile X bins w/GCC under 2.5.1

Post by Adam Meltz » Thu, 08 May 1997 04:00:00



I have modified my /usr/openwin/lib/config/site.defs file and specified
#define HasGcc

Whenever I do a 'xmkmf' and a 'make Makefiles;make depend;make includes',
it is still trying to compile using SunPro instead of Gcc .. is there
anythin here I am missing? I really want to get color_xterm compiled, and
it's turning out to be a royal pain in the ass.
--
 ___                                
 ))_) ___  _  _  __  ___  ___  __    
((`\ ((_( ((`1( ((_)((_( ((_( (('   http://www.dopeman.com
                 ))       ._))      

 
 
 

1. enabling gcc to compile both a.out and ELF bin.?

Hello.

I installed ELF binary upgrade in my Linux box. I followed
the procedure in ELF howto document exactly, and everyrhing
seemed to be fine without any problem until the final step
described in ELF-howto. I tested if my gcc(2.7.2) could
compile both a.out binary and new ELF binary by compiling
'hello.c' program. It can compile hello.c into ELF binary
file well, but it cannot produce old a.out binary.
The elf-howto document says that after following the
installation procedure, gcc should be able to compile
both a.out and ELF binaries. What's wrong?

I tested gcc by the following commands:

i) ELF binary
$ gcc hello.c           ;this works fine!

ii) a.out binary
$ gcc -b i468-linuxaout hello.c
/usr/i486-linuxaout/bin/ld: cannot open -lc: No such file or directory
$

Thank you in advance.

                                        Sohn, Jung-woo
                                        aerospace eng.
                                        seoul national univ.
                                        south korea.
                                        http://plaza.snu.ac.kr/~sylph

2. Star Office 5.2 - No network access

3. suddenly Seg Faults on exit of gcc-compiled bins, and on gnu Make's

4. Is Picasso only for Intel processors?

5. /usr/bin, /usr/local/bin, /sbin or /opt/bin, /var/opt/bin - I'm confused.

6. Installation 2.8

7. missing math.h header unable to compile with gcc

8. PRF*.TMP

9. GCC 2.7.2 unable to compile Linux 1.2.13?

10. HELP:Unable to compile Linux 2.1 w/gcc 2.7 - no 386 inst 'rdtsc'

11. gcc complier is unable to compile c++ source

12. gcc-2.7.0 (usr/bin/gcc: cannot execute binary.)

13. /bin /usr/bin /usr/local/bin etc