Re: GRUB2 Build on Mac OS X

2005-12-09 Thread Marco Gerards
Andrei Warkentin [EMAIL PROTECTED] writes: On Dec 8, 2005, at 4:01 PM, [EMAIL PROTECTED] wrote: The Mac OS X GCC compiler will not build GRUB2, due static linking at address 0x2000; this error can be confirmed during the configure process. If I could build GRUB2 using the Mac OS X GCC, I

Re: GRUB2 Build on Mac OS X

2005-12-09 Thread Marco Gerards
[EMAIL PROTECTED] writes: Since the GRUB2 tools built using a Linux GCC compiler will suffice at the moment, I can see why the team is not overly concerned with this issue. If GRUB2 is going to be portable(Mac OS X), then some changes will be needed to accomplish this goal. GCC is a GNU

problem in usage of grub_errno...

2005-12-09 Thread Vesa Jääskeläinen
Some folks might have overlooked my earlier post as I wrote it to video subsystem thread. As this problem needs some kind of resolution and it affects larger area of code than just video subsystem it needs to be discussed first. Problem is this: 1. error occures and grub_errno is being set to

Re: problem in usage of grub_errno...

2005-12-09 Thread Marco Gerards
Vesa Jääskeläinen [EMAIL PROTECTED] writes: Some folks might have overlooked my earlier post as I wrote it to video subsystem thread. As this problem needs some kind of resolution and it affects larger area of code than just video subsystem it needs to be discussed first. Problem is this:

Re: Video subsystem draft

2005-12-09 Thread Marco Gerards
Vesa Jääskeläinen [EMAIL PROTECTED] writes: Vincent Pelletier wrote: By the way, I think we should start a discussion on the API common to all architectures for framebuffer handling. Currently there is a terminal implementation that uses video subsystem to render screen. So basicly in every

Re: GRUB2 Build on Mac OS X

2005-12-09 Thread Marco Gerards
Peter Jones [EMAIL PROTECTED] writes: Would be alright if we could enable execute permission only on the specific pages needed (as known by GCC)? GCC provides an ENABLE_EXECUTE_STACK macro, but it seems that is not currently used on Linux. It is used on the various BSDs. It would be

Re: GRUB2 Build on Mac OS X

2005-12-09 Thread Yoshinori K. Okuji
On Friday 09 December 2005 12:40 am, Peter Jones wrote: Now, the obvious retort to this is that no setuid programs are calling grub, so it's not even one of those cases. That's not a good answer either. I've got one I'd really *like* to call grub from, and it is pm-hibernate, through

Re: Video subsystem draft

2005-12-09 Thread Yoshinori K. Okuji
On Friday 09 December 2005 11:44 pm, Marco Gerards wrote: Why are viewports needed? Because we want to set a region to display a menu, I guess. Okuji ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GRUB2 Build on Mac OS X

2005-12-09 Thread Yoshinori K. Okuji
On Saturday 10 December 2005 12:32 am, Marco Gerards wrote: Wouldn't it be possible to use some other memory than the stack to implement trampolines? It's documented quite well: By modifying GCC and a dynamic linker, it is possible. Anyways, my primary concerns are making things work and