* How to exclude some subfolders when building gdb
@ 2013-10-25 2:59 asmwarrior
2013-10-25 3:59 ` asmwarrior
2013-10-25 8:55 ` Andreas Schwab
0 siblings, 2 replies; 4+ messages in thread
From: asmwarrior @ 2013-10-25 2:59 UTC (permalink / raw)
To: gdb
Hi, when using the new gdb clone under Windows MSYS:
git clone git://sourceware.org/git/binutils-gdb.git --config core.autocrlf=input --config core.eol=lf
Then I create a folder mybuild, then run the top level configure:
mkdir mybuild
cd mybuild
../binutils-gdb/configure \
CFLAGS="-O0 -g" \
--prefix=/mingw \
--host=mingw32 \
--build=mingw32 \
--target=mingw32 \
--with-python=/python/python \
--with-expat \
--disable-nls
Then
make > log.txt 2>&1 && make install INSTALL_PROGRAM='install -s' -C gdb DESTDIR=/f/build_gdb/bin2013
I found that a lot of new exe files were generated in the build folder, e.g.
binutils
gas
gprof
ld
If I remember correctly, I don't have those folders when using the old gdb.git mirror from the CVS.
So, my question is: is there any way to disable the building of those extra targets? I don't need those targets when building GDB.
Thanks.
Yuanhui Zhang
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to exclude some subfolders when building gdb
2013-10-25 2:59 How to exclude some subfolders when building gdb asmwarrior
@ 2013-10-25 3:59 ` asmwarrior
2013-10-25 8:55 ` Andreas Schwab
1 sibling, 0 replies; 4+ messages in thread
From: asmwarrior @ 2013-10-25 3:59 UTC (permalink / raw)
To: gdb
On 2013-10-25 11:07, asmwarrior wrote:
> I found that a lot of new exe files were generated in the build folder, e.g.
> binutils
> gas
> gprof
> ld
> If I remember correctly, I don't have those folders when using the old gdb.git mirror from the CVS.
I just checked the old CVS build toplevel Makefile which contains such script:
SUBDIRS = intl libiberty opcodes bfd readline libdecnumber sim gdb etc
Now, the new Git build toplevel Makefile has more sub dirs:
SUBDIRS = intl libiberty opcodes bfd readline libdecnumber binutils gas ld sim gdb gprof etc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to exclude some subfolders when building gdb
2013-10-25 2:59 How to exclude some subfolders when building gdb asmwarrior
2013-10-25 3:59 ` asmwarrior
@ 2013-10-25 8:55 ` Andreas Schwab
2013-10-25 15:44 ` asmwarrior
1 sibling, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2013-10-25 8:55 UTC (permalink / raw)
To: asmwarrior; +Cc: gdb
asmwarrior <asmwarrior@gmail.com> writes:
> So, my question is: is there any way to disable the building of those extra targets? I don't need those targets when building GDB.
--disable-...
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to exclude some subfolders when building gdb
2013-10-25 8:55 ` Andreas Schwab
@ 2013-10-25 15:44 ` asmwarrior
0 siblings, 0 replies; 4+ messages in thread
From: asmwarrior @ 2013-10-25 15:44 UTC (permalink / raw)
To: Andreas Schwab; +Cc: gdb
On 2013-10-25 16:55, Andreas Schwab wrote:
> asmwarrior <asmwarrior@gmail.com> writes:
>
>> > So, my question is: is there any way to disable the building of those extra targets? I don't need those targets when building GDB.
> --disable-...
>
> Andreas.
Hi, many thanks, it works fine with the following configure options:
mkdir mybuild
cd mybuild
../binutils-gdb/configure \
CFLAGS="-O0 -g" \
--prefix=/mingw \
--host=mingw32 \
--build=mingw32 \
--target=mingw32 \
--with-python=/python/python \
--with-expat \
--disable-nls \
--disable-binutils \
--disable-gas \
--disable-ld \
--disable-gprof
Thank you for the help.
Yuanhui Zhang
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-10-25 15:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-25 2:59 How to exclude some subfolders when building gdb asmwarrior
2013-10-25 3:59 ` asmwarrior
2013-10-25 8:55 ` Andreas Schwab
2013-10-25 15:44 ` asmwarrior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox