Re: GCC port for Intel 8086, 80186 and 80286

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan Cox wrote:
> On Thu, 30 Aug 2007 13:43:52 -0300
> "Alan Carvalho de Assis" <acassis@xxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Linux ia64]     [DCCP]     [Linux for ARM]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux