Ryan Mansfield(deleted)
|
Re: unable to build gdb on Linux
|
Ryan Mansfield(deleted)
10/08/2007 10:47 AM
post1847
|
Re: unable to build gdb on Linux
> Hi,
> It build x86, but fails for ARM i haven't checked other targets as i am only
> interested in ARM.
> Is this expected? if not any workarrounds ?
Hi Prem,
If you just want to build all of the Linux hosted gdbs, then in your root gdb directory type 'make OSLIST=linux'. I
think this is what you want to do.
But if you are trying to build on a Linux host Neutrino hosted gdbs, then you will have to modify your $QNX_TARGET/usr/
include/mk/build-cfg file.
Index: build-cfg
===================================================================
--- build-cfg (revision 155057)
+++ build-cfg (working copy)
@@ -156,6 +156,8 @@
solaris-solaris)
make_CC="gcc"
;;
+linux-nto)
+ make_CC="i386-pc-nto-qnx6.3.0-gcc"
linux-linux)
make_CC="gcc"
;;
Even if you make the following changes to your build file, you will be unable to go into the root gdb directory and type
make with no parameters. You would have to type 'make OSLIST="nto linux" unless you have an existing linux-mingw
toolchain.
Regards,
Ryan Mansfield
|
|
|