* Re: who has an opinion on porting source file to Windows ?
[not found] <00d901bfbb08$ce61c670$bf0102c8@dell191.sc.mcel.mot.com>
@ 2000-05-11 7:16 ` Kevin Buettner
2000-05-11 18:49 ` Deti Fliegl
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Buettner @ 2000-05-11 7:16 UTC (permalink / raw)
To: Rolf Liu, linuxppc-dev
On May 11, 1:21pm, Rolf Liu wrote:
> I am trying to compiling the kernel 2.2.13 under the Windows NT platform.
> The compiler is from Metrowerks CodeWarrior, command-line tool.
> there is a problem,the path separator under linux is /, but under Windows NT
> is \.
> Furthermore there is a need to translate the '<' and '>' into '"' and '"' .
> And there are so many source files in Kernel 2.2.13,also so many #include
> directives.
> Is there any good method on translating the / into \ in a batch mode?
You have a tough road ahead of you. The path separator problem and
the other minor syntax problems that you've identified are only the
tip of the iceberg. Even if you solve these problems, you still have
to contend with a significantly different inline assembler and uses of
features (in the kernel) that are exclusive to GNU C. It can probably
be done, but is it really worth it? Suppose you are successful and
you wish to apply the latest kernel patches. You will have an ongoing
battle ahead of you to port all the new code.
The good people of Metrowerks (where I once worked) are aware of
these problems and have (at one time anyway) considered making the
necessary changes to the compiler in order to build the Linux
kernel. I have no idea whether they are still considering this
or not, but you may wish to ask.
I do not understand why you wish to do your builds on Windows NT, but
if that is really a requirement, you'll find life much easier if you
use an NT hosted gcc which cross compiles to the PowerPC. As Gabriel
Ricard mentioned, the Cygwin environment will help make life easier as
well. (I think that all of those pesky path problems will vanish.)
You may find the following URLs to be useful:
http://sourceware.cygnus.com/cygwin/
http://gcc.gnu.org/onlinedocs/gcc_3.html#IDX347
The latter link describes the process of building and installing a
cross compiler. You will want to make sure you have Cygwin installed
prior to attempting this however.
Kevin
--
Kevin Buettner
kev@primenet.com, kevinb@redhat.com
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: who has an opinion on porting source file to Windows ?
@ 2000-05-11 18:03 jingai
0 siblings, 0 replies; 3+ messages in thread
From: jingai @ 2000-05-11 18:03 UTC (permalink / raw)
To: linuxppc-dev
> Hi, all,
> I am trying to compiling the kernel 2.2.13 under the Windows NT platform.
what, exactly, do you hope to accomplish by doing this??? even if you did
get it to build, you wouldn't produce anything useful :)
-j
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: who has an opinion on porting source file to Windows ?
[not found] <00d901bfbb08$ce61c670$bf0102c8@dell191.sc.mcel.mot.com>
2000-05-11 7:16 ` Kevin Buettner
@ 2000-05-11 18:49 ` Deti Fliegl
1 sibling, 0 replies; 3+ messages in thread
From: Deti Fliegl @ 2000-05-11 18:49 UTC (permalink / raw)
To: Rolf Liu, linuxppc-dev
Rolf Liu wrote:
>
> Hi, all,
> I am trying to compiling the kernel 2.2.13 under the Windows NT platform.
Genius guy! Maybe you are interested in getting my Linux port for
CPU-less coffee makers. You can get it from www.linux4percolators.com
Deti
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-05-11 18:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-11 18:03 who has an opinion on porting source file to Windows ? jingai
[not found] <00d901bfbb08$ce61c670$bf0102c8@dell191.sc.mcel.mot.com>
2000-05-11 7:16 ` Kevin Buettner
2000-05-11 18:49 ` Deti Fliegl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).