[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtkmm
Subject:    Re: [gtkmm] compiling with only static libraries installed
From:       Tero Pulkkinen <terop () assari ! cc ! tut ! fi>
Date:       1999-05-25 16:53:03
[Download RAW message or body]

NAGY Andras <nagya@valerie.inf.elte.hu> writes:
> g++ `gtkmm-config --libs` -lotherlibs *.o -o binary
> 
> If I put '-lgtkmm -lgdkmm' after 'binary', it works fine.  Is this
> another interesting feature of egcs/gnu ld, or what?

yes.

The order of arguments in compile and link commands DO matter alot.

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic