This is the mail archive of the gcc-help@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]

problems getting debugging symbols using gcc on sparc solaris 8


gcc version 2.95.3 20010315
sun4u sparc SUNW,Ultra-250
solaris 8

all packages from sunfreeware.com

Compile with the following
cc -g -I ...  -c  etc...
cc -s -g -o ...  ...
run gdb (version 5.1) on the binary and I get
(no debugging symbols found)...


If I compile directly with no intermediate stage
cc -g -o ... ...
I get symbols

Is this something to do with the libraries I am linking with (the compile is
fairly complex and involves the oracle precompiler)

Thanks in advance
Andy Crichton



__________________________
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. The contents are confidential and may be privileged.
Any views or opinions expressed are those of the sender and may not reflect the views or opinions of the company and the company accepts no liability in respect thereof.
If you have received this email in error please notify postmaster@abibuildingdata.com immediately.

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


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