SapphireDensetsu / ypsilon

Automatically exported from code.google.com/p/ypsilon
Other
0 stars 0 forks source link

'Port' to DragonFlyBSD #150

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello -

Firstly - thank you very much for this most excellent scheme system!

I first discovered this when looking for a lightweight system for windows,
and was delighted to see the Linux/FreeBSD support. 

However, my main platform is DragonFlyBSD!

Therefore, I took a quick attempt at porting the system over,
and was initially disapponted because our compiler was still gcc v3
and so ypsilon did not work.

However, with the new release of the 2.10 system we have moved to gcc v4,
and so I was delighted to discover that the build worked. I was able to 
run the language tests and GTK / GLUT tests without issues on 32bit dragonfly.

Attached is my patch - the ffi_stub_dragonfly.s and 64 bit version 
are simply copies of the FreeBSD versions, and all other related 
'freebsd' references were simply copied / renamed appropriately.

I would be most appreciative if you could apply the patch to your
next release. 

Unfortunately I do not have any 64bit installations available 
for test so I was not able to test 64bit functionality but would 
be happy to find a  community member to help test if needed.

Again, thank you very much for this wonderful scheme system which
I look forward to using much more of in the future!

Best of luck with the system and of course with the pinball games!

Original issue reported on code.google.com by ctismyus...@gmail.com on 12 Jul 2011 at 10:11

Attachments:

GoogleCodeExporter commented 8 years ago
Also to note- I did verify the threading libraries are OK.

Original comment by ctismyus...@gmail.com on 12 Jul 2011 at 11:04

GoogleCodeExporter commented 8 years ago
previous patch was against last 0.9.6-update3 - 

I will update / retest against latest SVN and send another patch when that
is working.

Original comment by ctismyus...@gmail.com on 13 Jul 2011 at 12:17

GoogleCodeExporter commented 8 years ago
Hello - attached is latest patch against SVN trunk (r503)

procedure same as before, mostly simply cloning the freebsd statements
to dragonfly specific ones, attempting to match library lines to appropriate
pkgsrc / dragonfly ones (e.g. .so.2, etc). Makefile difference r.e. 
no kFreeBSD for so-called GNU/kFreeBSD stuff ignored and -DNO_POSIX_SPAWN
not applicable to dragonfly (or actually FreeBSD >v8) checked ok.

all gmake check tests OK, all 'examples' ok 
did not retest threading in this patch thus far
(with exception of the ppc/cell not tested and would not expect to 

I did match the spacing in my addition of library lines for the 
various gtk, gl, etc. library bindings, the 'diff -Nurw' does not seem to 
capture
this - can simply provide tarball or if there is another diff command that I'm 
not
aware of to capture this, please let me know and I'll be happy to provide.

thanks again for this wonderful system.

Original comment by ctismyus...@gmail.com on 14 Jul 2011 at 11:14

Attachments:

GoogleCodeExporter commented 8 years ago
ah - also:

- did not change documentation references as this seemed to be generated
  externally
- was not tested on x86-64 as am not configured for such.

As previously, would be happy to solicit help from DragonFly community to test
64 bit version if this is required for inclusion 'in tree'

thanks much

Original comment by ctismyus...@gmail.com on 14 Jul 2011 at 11:15

GoogleCodeExporter commented 8 years ago
Thank you for your encouraging message and great cooperation. It's a shame I 
couldn't update Ypsilon for a while as I've been too busy to do other things. 
I'm looking forward to include the patch you kindly offered to the source tree.

For your information, though the development of Ypsilon itself has been 
suspended it was used as a powerful tool in the development of Pinball Tristan 
for iOS which is our latest product. The 3D model data in the game was created 
by a CG system. Ypsilon imports the data for conversion and optimization to 
generate the codes automatically to be rendered in for OpenGL ES2. 

Thank you again for using Ypsilon. I appreciate it.

All the best,

Yoshikatsu Fujita

Original comment by y.fujita...@gmail.com on 15 Jul 2011 at 12:48

GoogleCodeExporter commented 8 years ago
thank you. 

I look forward to the next release, whether soon or in 10 years!

best of luck with the mobile releases.

Original comment by ctismyus...@gmail.com on 19 Jul 2011 at 10:12