Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "colin" <colin@realtek.com.tw>
To: "Nigel Stephens" <nigel@mips.com>
Cc: <linux-mips@linux-mips.org>
Subject: Re: Compiling uClibc with MIPS SDE6
Date: Thu, 4 Aug 2005 20:09:53 +0800	[thread overview]
Message-ID: <00b401c598ed$6be49220$106215ac@realtek.com.tw> (raw)
In-Reply-To: 42F1F81A.6020002@mips.com


Hi Nigel,
I had already noticed this difference.
But why the application with debug information is not so big, whereas the
libraries are?
And the SDE 6 document says that using -gstabs flag can make it compile with
STABS debug format.
I replaced -g3 with -gstabs flag when compiling uClibc, but it cannot
compile successfully.

Regards,
Colin



----- Original Message ----- 
From: "Nigel Stephens" <nigel@mips.com>
To: "colin" <colin@realtek.com.tw>
Cc: <linux-mips@linux-mips.org>
Sent: Thursday, August 04, 2005 7:12 PM
Subject: Re: Compiling uClibc with MIPS SDE6


>
>
> colin wrote:
>
> >Hi there,
> >I encounter a problem when compiling uClibc with SDE6. If compiling with
> >debug information enabled, the output executable file of busybox is about
> >the same with the one that is compiled with SDE5, but uClibc libraries
are
> >over 10 times the size of the ones that are compiled with SDE5. I am
> >wondering if it is because GCC 3.4.4 of SDE6 has changed some parameters
> >setting?
> >
> >
> >
>
> SDE 6 uses Dwarf-2 debug data, whereas SDE 5 used Stabs. That may
> explain the difference.
>
> Nigel
>
> -- 
>                          Nigel Stephens         Mailto:nigel@mips.com
>     _    _ ____  ___     MIPS Technologies      Phone.: +44 1223 706200
>     |\  /|||___)(___     The Fruit Farm         Direct: +44 1223 706207
>     | \/ |||    ____)    Ely Road, Chittering   Fax...: +44 1223 706250
>      TECHNOLOGIES UK     Cambridge CB5 9PH      Cell..: +44 7976 686470
>                          England                http://www.mips.com
>

WARNING: multiple messages have this Message-ID (diff)
From: "colin" <colin@realtek.com.tw>
To: Nigel Stephens <nigel@mips.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Compiling uClibc with MIPS SDE6
Date: Thu, 4 Aug 2005 20:09:53 +0800	[thread overview]
Message-ID: <00b401c598ed$6be49220$106215ac@realtek.com.tw> (raw)
Message-ID: <20050804120953.z6vcAB67eMPBXNnlVjdCNaklJbJDWCJpY14kMwH2bjM@z> (raw)
In-Reply-To: 42F1F81A.6020002@mips.com


Hi Nigel,
I had already noticed this difference.
But why the application with debug information is not so big, whereas the
libraries are?
And the SDE 6 document says that using -gstabs flag can make it compile with
STABS debug format.
I replaced -g3 with -gstabs flag when compiling uClibc, but it cannot
compile successfully.

Regards,
Colin



----- Original Message ----- 
From: "Nigel Stephens" <nigel@mips.com>
To: "colin" <colin@realtek.com.tw>
Cc: <linux-mips@linux-mips.org>
Sent: Thursday, August 04, 2005 7:12 PM
Subject: Re: Compiling uClibc with MIPS SDE6


>
>
> colin wrote:
>
> >Hi there,
> >I encounter a problem when compiling uClibc with SDE6. If compiling with
> >debug information enabled, the output executable file of busybox is about
> >the same with the one that is compiled with SDE5, but uClibc libraries
are
> >over 10 times the size of the ones that are compiled with SDE5. I am
> >wondering if it is because GCC 3.4.4 of SDE6 has changed some parameters
> >setting?
> >
> >
> >
>
> SDE 6 uses Dwarf-2 debug data, whereas SDE 5 used Stabs. That may
> explain the difference.
>
> Nigel
>
> -- 
>                          Nigel Stephens         Mailto:nigel@mips.com
>     _    _ ____  ___     MIPS Technologies      Phone.: +44 1223 706200
>     |\  /|||___)(___     The Fruit Farm         Direct: +44 1223 706207
>     | \/ |||    ____)    Ely Road, Chittering   Fax...: +44 1223 706250
>      TECHNOLOGIES UK     Cambridge CB5 9PH      Cell..: +44 7976 686470
>                          England                http://www.mips.com
>

  reply	other threads:[~2005-08-04 16:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-04  9:16 Compiling uClibc with MIPS SDE6 colin
2005-08-04  9:16 ` colin
2005-08-04 11:12 ` Nigel Stephens
2005-08-04 12:09   ` colin [this message]
2005-08-04 12:09     ` colin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00b401c598ed$6be49220$106215ac@realtek.com.tw' \
    --to=colin@realtek.com.tw \
    --cc=linux-mips@linux-mips.org \
    --cc=nigel@mips.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox