Page 1 of 1

Cygwin?

Posted: Thu Oct 24, 2002 5:17 am
by osteron
Anyone using cygwin for OS development on XP?

I understand that the linker can't handle ELF executables with out being 'patched' - where can I download this patch?

Do I need to compile my kernel in ELF format? I am coming from a linux background. If not which format?anyone got a simple kernel that they develop under cygwin - so I can see the linker script, makefile? I want use GRUB as the bootloader btw.

- Any help welcome.

Re:Cygwin?

Posted: Thu Oct 24, 2002 11:46 am
by Dave_Hunt
I'm using cygwin with XP. What I do is link to standard exe format and then use objcopy to create an elf format executable. The standard objcopy included with the cygwin package supports elf.

Re:Cygwin?

Posted: Thu Oct 24, 2002 2:22 pm
by Ozguxxx
Hi iam using gcc and i am a complete strager to cygwin. I need someone to compare them. Thanx...

Re:Cygwin?

Posted: Thu Oct 24, 2002 2:26 pm
by Dave_Hunt
Cygwin uses the gcc compiler. Cygwin is a unix-like environment for development and includes all of the standard GNU development tools.

Re:Cygwin?

Posted: Thu Oct 24, 2002 2:51 pm
by osteron
Thanks Dave.
I'll give that a go, do you have to set anything special with the linker script? Any samples?
Cheers.

Re:Cygwin?

Posted: Thu Oct 24, 2002 4:34 pm
by Dave_Hunt
Nothing special. I've had no problems using any of the gcc/ld examples mentioned here. The only caveat is the lack of built-in ELF support in the linker. But as mentioned above, objcopy takes care of that.