This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: Add support for WinCE toolchains
In article <38B32E01.34616D70@apple.com>, Stan Shebs <shebs@apple.com> wrote:
>DJ Delorie wrote:
>>
>> > This should get a special mention in gdb/NEWS, and ideally in README
>> > also; this is one of those situations where you'll be glad you
>> > forestalled a slew of complaints and bug reports by documenting it
>> > in several places.
>>
>> Is it acceptable to add notes to configure, so that if you said
>> "./configure --target=arm-pe" it could print out "Note: if you wanted
>> Windows CE, use arm-wince-pe instead" ? Maybe in the toplevel configure?
>
>My kneejerk is to be unenthusiastic, although I'm not sure why. I guess it
>seems to me that notes in configure should be more about issues that are
>more directly related to the configure script, while in this case (IIRC) the
>differences are more in the sources. But that's a pretty weak theoretical
>argument, and if the extra warning sets even one user on the path of rightness,
>then it's worthwhile to add.
Um. I'm working with Andrew on finalizing the wince stuff. Getting
this checked into sourceware just now is premature. One reason is that
it doesn't work on the ARM yet.
One of the things I've done is to regularize the name of files that I
used. Everything has a "wince" in it now since the WinCE version of PE
is apparently non-standard. I've also moved WinCE-specific code out of
the generic target files into their own files.
If there is going to be a note, it should go in a top-level README. gdb
doesn't currently care if the name of the target is arm-foo-wince. It's
bfd that cares, I believe.
Anyway, I would request that this patch be ignored for now. Andrew will
handle this all in a future merge.
--
cgf@cygnus.com Cygnus Solutions, a Red Hat company
http://sourcware.cygnus.com/ http://www.redhat.com/