[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1643: ld gets fatal eror when linking for profiling

> [Reminder:  ld fails when gcc is used with both -g and -lm flags]
> I'm surprised no one else is complaining about this bug since it
> really hinders software development under Debian.

If you link with -g (which really doesn't buy you much), you also need
to link with -static for a.out.

David Engel                        Optical Data Systems, Inc.
david@ods.com                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081

Reply to: