This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FAQ: how to build a statically-linked gcc?


AFAIK, --disable-shared should do that.. but I think that laso has a 
side-effect on exception handling..
If there's a better way, I'd like to know it :)

rlc


On Wed, Oct 15, 2003 at 09:05:03AM -0700, Dan Kegel wrote:
> Can somebody clue me in on the right way to build static gcc binaries?
> 
> http://gcc.gnu.org/install/configure.html doesn't seem to say.
> One user of my crosstool script really wants this,
> and is currently hacking the Makefile to add -static
> ( http://sources.redhat.com/ml/crossgcc/2003-10/msg00068.html ).
> 
> Thanks,
> Dan
> 
> -- 
> Dan Kegel
> http://www.kegel.com
> http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
> 
> 
> ------
> Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

-- 
Health nuts are going to feel stupid someday, lying in hospitals dying
of nothing.
		-- Redd Foxx


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]