Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Libraries

1 view
Skip to first unread message

Claus Graf

unread,
Jul 27, 2000, 3:00:00 AM7/27/00
to
Hello,

imagine the following:

lib1_a is based on file1_o
lib2_a is based on file2_o

and file1_c calls some function that are contained within lib2_a.
Now I write a program, say prog_c, that calls a function of lib1_a that
itself needs a function of lib2_a.
Is it possible to link prog_c with the C68 linker? I didn't manage yet.

Claus


Jonathan Hudson

unread,
Jul 27, 2000, 3:00:00 AM7/27/00
to
In article <3980174B...@q40.de>,
Claus Graf <cg...@q40.de> writes:
CG> Hello,
CG>
CG> imagine the following:
CG>
CG> lib1_a is based on file1_o
CG> lib2_a is based on file2_o
CG>
CG> and file1_c calls some function that are contained within lib2_a.
CG> Now I write a program, say prog_c, that calls a function of lib1_a that
CG> itself needs a function of lib2_a.
CG> Is it possible to link prog_c with the C68 linker? I didn't manage yet.
CG>

The c68 linker is, unfortunately rather crap (compared to real
linkers). In many cases it is ncessary to reorder the order of modules
in libraries and include libraries multiple times; I have a number of
programs that do things like.

qcc -o foo -lbar -lbar -lbar -lbar

In order to get all the dependencies satisified.

When I last talked to Dave Walker and c68 ld v2 (the one that was to
support RLL), it appeared that he had lost the source code, so it may
be that where will not be a better version.

Does multiple library instances solve your problem ?

--
"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.
Dick Johnson on linux.kernel


Claus Graf

unread,
Jul 28, 2000, 3:00:00 AM7/28/00
to
Jonathan Hudson wrote:

I've included the necessary libraries several times, but I didn't get rid of
one error message.
Seems like I have to link with modules instead of libs - sigh.

Claus

0 new messages