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

List:       boost-build
Subject:    Re: [Boost-build] how to  link with gcc instead of g++
From:       Vladimir Prus <ghost () cs ! msu ! su>
Date:       2011-10-20 9:32:38
Message-ID: 201110201332.38345.ghost () cs ! msu ! su
[Download RAW message or body]

On Wednesday, October 19, 2011 11:10:28 Jorge P=E9rez wrote:
> When I compile a program which is only C (not C++) the result is an
> executable depending on libstdc++ this is because the linker is invoked as
> g++. Is it possible to invoke gcc as the linker? or there is a way to
> avoid this dependency on libstdc++ for program written only in C?

Hi Jorge,

you can try to configure compiler like:

	using gcc : : gcc ;

to specifically use gcc all the time. This will affect all compilations. It=
 is
certainly possible to adjust the code to implement better solution, but it
is not the case now.

HTH,


-- =

Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/bo=
ost-build

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

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