C (70/301)

From:Andrija Antonijevic
Date:02 Aug 99 at 23:39:57
Subject:Re: Beginners Woes

From: Andrija Antonijevic <TheAntony2@bigfoot.com>

History books say that Bablos spoke these words on 01-Avg-99 AD.

>I've got a number of GCC/EGCS problems, which I hope someone can
>sort out for me.

>1) As I'd asked before, I need to include iff.lib in the linking of a
>project - I'm OK with linking the lib_.a files, but I'm not sure as to
>how to convert iff.lib to libiff.a, or how to pass iff.lib onto the linker.

[...]

If you want to convert it, you need hunk2aout (current filename is
hunk2aout-2.0-bin.tgz) to convert it. Then you can do something
like:

hunk2aout iff.lib (which will create a number of files named something
like obj.xxx.xxx so you might want to do it in an
empty directory)
ar cr libiff.a obj*
ranlib libiff.a (not sure if this is needed)

Now, I haven't actually done this since I use SAS/C, rarely egcs, but
it should work.



/// /_\ _ _| |_ ___ _ _ _ _ http://www.bigfoot.com/~TheAntony
__ /// / _ \| ' \ _/ _ \ ' \ || | Amiga Translators' Organization
\\\/// /_/ \_\_||_\__\___/_||_\_, | (*Serbian department*)
\XX/ TheAntony@bigfoot.com |__/ Team *AMIGA*

COMMAND: A suggestion made to a computer.