DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th September 2010
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Thanked 0 Times in 0 Posts
Default Kernel and cross compiling on OpenBSD

http://www.daemonforums.org/showthre...newpost&t=5083

This is part of the same "project" but a specific question.

I need a good reference on the openbsd kernel and 'fopen_unlocked' system call as pertaining to the arm:xscale: pxa270 architecture.

My apologies for jumping around.
Reply With Quote
  #2   (View Single Post)  
Old 5th September 2010
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,801
Thanked 214 Times in 189 Posts
Default

There are a boat load of tools for cross compiling between architectures on OpenBSD, but:
  1. They are NOT maintained, except when needed by the developer(s) porting the OS to a new architecture.
  2. They are NOT supported by the project for those outside the development team.
  3. The developers will NOT answer questions about the tools, for reasons #1 and #2 above.
  4. Anyone not a developer will not be able to help, due to #1, #2, and #3 above.
There have been presentations published at conferences that mention cross compiling efforts for new platforms. You should start your research with those. It is possible that if you posted a very polite query on misc@, a developer might give you some direction.
Reply With Quote
  #3   (View Single Post)  
Old 5th September 2010
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 801
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by Mr-Biscuit View Post
I need a good reference on the openbsd kernel and 'fopen_unlocked' system call as pertaining to the arm:xscale: pxa270 architecture.
It is probably safe to assume that the most polite answer you will be able to get from the developers is to read the kernel code and thinker with the it. If you are not able to read code itself and play with it I am afraid you will just get flamed.

I also want to reiterate the fact that unlike flakey cross compiling commonly used by NetBSDteam for example to produce kernel, userland, and packages for more exotic architectures in the OpenBSD world cross compiling is exclusively used to port the system to new architectures. All binaries on supported platforms are natively built including things like VAX, or Motorola 88 000 (I didn't make the mistake. I didn't mean to say 68 000, I meant to say 88 000). That is way they are so rock stable.
Reply With Quote
  #4   (View Single Post)  
Old 7th September 2010
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Thanked 0 Times in 0 Posts
Default

I downloaded and installed a gcc compiler to the phone itself via sdcard.
Now for the fun part: compiling the source directly on the machine.

I don't think that the machines have the exact same hardware.
Probably the next time Xanadux/familiar is run, the dmesg will be looked at.
Given that the zaurus and other ARM machines are supported, a dmesg should be easy to find. Devices in question can be multi-referenced between native, zaurus linux, and zaurus openbsd dmesgs.
On the other hand, I'm not sure which gcc release the compiler (pocketpc) is based upon.

Somewhat offtopic: I put Android on an sdcard to see if would work. Followed directions and it did. Shitty part is that there is no available root console, libraries, or any other thing necessary. Disappointing. Preference is to have a system with developer tools added.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD OpenBSD kernel internals ocicat News 0 28th June 2010 06:59 PM
Delete compilers to cross compile revzalot OpenBSD Installation and Upgrading 9 28th August 2009 08:06 PM
building cross compiler, having issues moonlightcheese FreeBSD General 2 13th September 2008 02:22 PM
Compiling a blob-free FreeBSD 7.0 kernel Tsuroerusu FreeBSD General 5 12th September 2008 08:56 PM
Compiling OpenBSD code WeakSauceIII OpenBSD General 4 19th May 2008 12:59 AM


All times are GMT. The time now is 05:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick