On Sun, Nov 19, 2006 at 11:06:58PM +0100, Vicente Ferrando wrote:
>       Well I tryed many things (not everything yet) and at the moment I'll
> use l7-filter. But does compiling object files work for you? I find it
> extrange.

gcc/g++ is the frontend, not the compiler (the compiler is probably
something like /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/cc1). It's
usually a mistake to invoke the compiler (cc1/cc1plus) or linker (ld)
backends directly. This is particularly true if you are using c++ or
shared objects. The gcc/g++ frontend has a far deeper understanding of
the correct way to link things than most users do. The ld command is
in your path for historical reasons, not because you're supposed to
use it.

(Platforms which use compilers other than gcc usually have even
stranger requirements for correct use of c++ or shared libraries, but
that's not relevant here)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to