Keep getting ld skipping incompatible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I am using GCC 4.1.0 on OpenSUSE Linux 10.1 on a 32 bit machine.  I have
no 64 bit anything installed that I am aware of.)

If I do:  gcc t.c  libgc.a
It works.  (libgc.a is in the current directory)

If I do:  gcc t.c -L`pwd` -lgc
I get:

/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld:
skipping incompatible /home/blake/EuLisp/EuLysses/Gc/libgc.a when
searching for -lgc
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld:
cannot find -lgc
collect2: ld returned 1 exit status


The listed libgc.a is the one I am using (that is my current working
directory).

I am lost.  Any help would be appreciated.

Blake McBride




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux