This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Change in command line order behaviour
On Wed, Nov 12, 1997 at 06:52:23PM -0700, teunis wrote:
> gcc (not ld but gcc [ld DOES have this]) has never had this problem...
Yes it has; gcc does not change ld's operation.
> It's probably a bug!
No it isn't. That's intended operation of static libraries.
Note that if you use shared libraries, things will act a bit
different, but the fact remains that you have never been able
to expect
cc -lfoo main.c
to work.
r~