need help with cygwin -l option
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: need help with cygwin -l option
On a related note, I bet 20 invisible tokens that the .so in question is not an ELF dynamic library, but rather a COFF object file. Any takers? (@op: hint hint)
Re: need help with cygwin -l option
Hi.
the .so is an ELF format, I compiled it by my i386-elf-gcc cross compiler.
thanks
the .so is an ELF format, I compiled it by my i386-elf-gcc cross compiler.
thanks
Re: need help with cygwin -l option
The point Combuster is desperately trying to make is that, in the screenshot you provided, you are not using a cross-compiler.
Look at the 'ld' error message:
You see the part where it says "i686-pc-cygwin"? Whereever your cross-compiler toolchain might be located, you are not using it!
Look at the 'ld' error message:
Code: Select all
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld
Every good solution is obvious once you've found it.