Re: GCC port for Intel 8086, 80186 and 80286

Eddy <[email protected]>
Newsgroups gmane.linux.ports.x8086
Message-ID <[email protected]>
Alan Cox wrote:
> On Thu, 30 Aug 2007 13:43:52 -0300
> "Alan Carvalho de Assis" <[email protected]> wrote:
>
>   
>
> Well the first step to sanity would be moving the kernel code to the 8086
> gcc, getting ansi prototypes and sane C. That means sorting the asm out
> with gcc asm which frankly scares me 8)
> -
>   


I don't know very well what are the differences between the 2 codes, but
I think that is possible to use a recursive bash script to automatically
replace lines that have to be replaced and go.
I thought at something like this:
#!/bin/bash

for i in `grep -R "text that is in files to be replaced" elks/* | cut
-f1-1 -d ":"`
do
sed -i -e 's,old code,new code,g' $i
sed -i -e 's,old code,new code,g' $i
...
done

It is a good idea?
I hope yes.


-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.