Pete Ryland wrote:
> I have a library containing object files with the following type:
>
> views.o: 80386 COFF executable not stripped - version 30821
>
> (This was generated with lcc-win32 I believe)
>
> When I compile usually, gcc generates files of this type:
>
> main.o: ELF 32-bit LSB relocatable, Intel 80386, version 1, not stripped
>
> Now, how can I link in the library with my code? Is it possible at all?
I suspect that you would need to compile the rest of your code as
COFF. This would require gcc and binutils which supported COFF, plus
COFF versions of libc, etc.
I'm not positive about this, but the ld info file doesn't seem to
mention anything about linking different types of object formats
together.
--
Glynn Clements <[EMAIL PROTECTED]>