This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linking against unused functions
- To: Rob Emanuele <rje at cyan dot com>
- Subject: Re: Linking against unused functions
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Tue, 6 Mar 2001 07:32:45 +0000
- Cc: Gcc <gcc at gcc dot gnu dot org>
- References: <OAEILKBAEOODHMLHNAFFMEFOCJAA.rje@cyan.com>
Rob Emanuele wrote:-
> With optimizations turned on my program compiles. With them off
> I get many "undefined references". I'd like to compile my debug
> versions with little to no optimizations. How can I make the
> linker not link against unused functions?
For a start, you need to give a simple reproducable example.
Neil.