LavaLit
  Home   Forum   WIKI SVN DOWNLOADS Help Donations Login Register  
* *

Donations

Quarterly Goal: $90.00
Due Date: Mar 31
Total Receipts: $80.00
Below Goal: $10.00
Site Currency: USD
89% 
Quarterly Donations
Feb-23 Demitri EUR8.00
Feb-22 gloom USD10.00
Feb-18 Darklighte... USD10.00
Jan-31 MasterExpl... USD10.00
Jan-28 LeeBrother USD20.00
Jan-26 BurnKing USD10.00
Jan-17 danno USD20.00
Advertisement

Links

Advertisement
Pages: [1] 2   Go Down
  Print  
Author Topic: OpenBOR's Daily Snapshots  (Read 1028 times)
0 Members and 1 Guest are viewing this topic.
SX
Administrator
*****
Online Online

Posts: 2388



WWW
« on: January 29, 2010, 11:07:58 pm »

As many of you can see in the upper right hand corner, LavaLit now creates SecurePak releases automatically every night for all consoles at midnight when the svn repository has been updated.
Logged

Bloodbane
Hero Member
*****
Offline Offline

Posts: 4170


Dark Dragon


« Reply #1 on: January 29, 2010, 11:55:22 pm »

 Eh, you mean 'LavaLit now creates daily snapshots automatically every night' right?
Logged

OpenBoR Manual

"The more often enemies attack, the more open they are to counter attacks"
SX
Administrator
*****
Online Online

Posts: 2388



WWW
« Reply #2 on: January 30, 2010, 12:02:45 am »

Eh, you mean 'LavaLit now creates daily snapshots automatically every night' right?

Yes, I felt like I rushed that post....lol

If the repository is updated sometime during the day, when midnight comes around here in the US (Eastern Standard Time).  The server will create a SecurePak Release.  It will contain all supported platforms except for XBoX.
Logged

Plombo
Developer
****
Offline Offline

Posts: 435


Your source for useful modding tools!


« Reply #3 on: January 30, 2010, 01:32:26 pm »

It isn't working...when I click on the link, it takes me to the LavaLit home page instead of downloading the file.
Logged

SX
Administrator
*****
Online Online

Posts: 2388



WWW
« Reply #4 on: January 30, 2010, 01:37:08 pm »

Currently working on adding more functionality....
Logged

Plombo
Developer
****
Offline Offline

Posts: 435


Your source for useful modding tools!


« Reply #5 on: January 30, 2010, 02:09:30 pm »

Yay, it's working now! cheers!

Thanks for the fix!
Logged

SX
Administrator
*****
Online Online

Posts: 2388



WWW
« Reply #6 on: January 30, 2010, 04:38:21 pm »

Now its completed.  It will now display the Hit count as well when users download the engine.

Can someone try to download it and verify it works.  You will need to refresh the page after its downloaded.

Thanks!
« Last Edit: January 30, 2010, 04:45:45 pm by SX » Logged

Plombo
Developer
****
Offline Offline

Posts: 435


Your source for useful modding tools!


« Reply #7 on: January 30, 2010, 05:03:08 pm »

Not working anymore... Cry

EDIT: Actually, it does work, but only from on the home page. Huh?  Also, what happened to the Mac/Darwin port?
« Last Edit: January 30, 2010, 05:34:53 pm by Plombo » Logged

SX
Administrator
*****
Online Online

Posts: 2388



WWW
« Reply #8 on: January 30, 2010, 05:36:03 pm »

Hmm works for me on all pages.  You sure you don't have duplicate downloads?
Logged

Plombo
Developer
****
Offline Offline

Posts: 435


Your source for useful modding tools!


« Reply #9 on: January 30, 2010, 05:50:53 pm »

If you mean having more than one copy of the file on my computer, then yes, I'm sure.
Logged

SX
Administrator
*****
Online Online

Posts: 2388



WWW
« Reply #10 on: January 30, 2010, 05:53:41 pm »

I need a reference from where its not working.... screenshot the site please.  As for darwin... I can't get a cross compiler for Mac to run on Linux... so those will have to be hand built.
Logged

Plombo
Developer
****
Offline Offline

Posts: 435


Your source for useful modding tools!


« Reply #11 on: January 30, 2010, 05:58:11 pm »

Have you tried the odcctools toolchain? I've gotten OpenBOR to compile with it before.  My odcctools Linux binaries are attached since the download link at the place I'm linking to is broken.  The link is there because it has setup instructions.

EDIT: And now my link to the manual isn't working, so the entire manual is reproduced below:
Quote
               GNU/Linux x86 hosted OS X 10.4u Cross Compiler
                ----------------------------------------------

readme.txt                              - this file
odcctools-20060413.tar.bz2              - odcctools 20060413 source
gcc-5247.tar.gz                         - Apple gcc-5247 source
odcctools-20060413-gcc-5247-bin.tar.bz2 - odcctools and gcc-5247 binaries
Makefile                                - Makefile for building the binaries

odcctools-20060413-gcc-5247-bin.tar.bz2 contains binaries for a GNU/Linux to
OS X cross tool chain. Below are notes on installing and using the binaries,
building them from source and notes on how to build other versions of gcc.

odcctools Sources
-----------------

Project page:
http://trac.macosforge.org/projects/odcctools

Anonymous SVN:
svn co http://svn.macosforge.org/repository/odcctools/trunk odcctools

odcctools-20060413 release tarball:
http://master.us.finkmirrors.net/distfiles/

gcc Sources
-----------

Project page:
http://gcc.gnu.org/

Apple gcc-5247 release tarball:
http://www.opensource.apple.com/darwinsource/tarballs/other/

Good News, Bad News
-------------------

For the target system's headers and libs you can use OSX 10.4 SDK available
from Apple.

That's the good news. The bad news is that Macs have a few other tools under
/Developer/Tools that aren't included here such as SetFile and Rez. This might
be a problem building some projects, though many projects either don't need
them or can be modified to build without them.

Get the SDK
-----------

- Go to https://connect.apple.com
- Join up if you're not a member
- Log in
- Go to 'Downloads'
- Click 'Mac OS X' from the 'Downloads' sidebar
- Download "Xcode Tools 2.2.1 (Disk Image)"

If you open the disk image on a Mac the file you want will appear at:
/Volumes/Xcode Tools/Packages/MacOSX10.4.Universal.pkg/Contents/Archive.pax.gz

If you don't have a Mac then this should work:
# mount -t hfsplus -o ro,loop xcode_2.2.1_8g1165_018213632.dmg /mnt
then the file is:
/mnt/Tools/Packages/MacOSX10.4.Universal.pkg/Contents/Archive.pax.gz

I say 'should work', but doesn't seem to currently. The image does mount and
seems to work, however when you read files their contents are corrupted. If
you know of a utility to read the dmg then use that, if not then you could
try:

$ dd if=xcode_2.2.1_8g1165_018213632.dmg skip=1504608 | gunzip | pax -r

If that is not the correct offset in the image you have, then you could try
searching for it with something like:

$ od -t x1 xcode_2.2.1_8g1165_018213632.dmg | \
    grep '^[0-7]*000 1f 8b' > offsets.txt
$ awk '{ print $1 }' offsets.txt | while read x; do \
    dd if=xcode_2.2.1_8g1165_018213632.dmg skip=$((0$x / 512)) count=1 | \
    gunzip | cpio -t | grep -q MacOSX10.4u.sdk && echo $((0$x / 512)); \
    done 2>/dev/null

Of course that will only work if the archive is contiguous somewhere in the
image.

Install the Binaries
--------------------

Untar odcctools-20060413-gcc-5247-bin.tar.bz2 in /, it'll create /opt/mac (or
untar it elsewhere and move it). You have to rebuild it from the sources to
install to a different prefix unfortunately. Then move the
Developer/SDKs/MacOSX10.4u.sdk directory that was in the SDK Archive.pax.gz to
/opt/mac/SDKs/MacOSX10.4u.sdk.

Using the Binaries
------------------

There are two copies of each tool:

$ ls /opt/mac/bin/
i686-apple-darwin8-ar                 powerpc-apple-darwin8-ar
i686-apple-darwin8-as                 powerpc-apple-darwin8-as
i686-apple-darwin8-checksyms          powerpc-apple-darwin8-checksyms
i686-apple-darwin8-cpp                powerpc-apple-darwin8-cpp
i686-apple-darwin8-g++                powerpc-apple-darwin8-g++
i686-apple-darwin8-g++-4.0.1          powerpc-apple-darwin8-g++-4.0.1
i686-apple-darwin8-gcc                powerpc-apple-darwin8-gcc
i686-apple-darwin8-gcc-4.0.1          powerpc-apple-darwin8-gcc-4.0.1
i686-apple-darwin8-gccbug             powerpc-apple-darwin8-gccbug
i686-apple-darwin8-gcov               powerpc-apple-darwin8-gcov
i686-apple-darwin8-indr               powerpc-apple-darwin8-indr
i686-apple-darwin8-install_name_tool  powerpc-apple-darwin8-install_name_tool
i686-apple-darwin8-ld                 powerpc-apple-darwin8-ld
i686-apple-darwin8-ld64               powerpc-apple-darwin8-ld64
i686-apple-darwin8-libtool            powerpc-apple-darwin8-libtool
i686-apple-darwin8-lipo               powerpc-apple-darwin8-lipo
i686-apple-darwin8-nm                 powerpc-apple-darwin8-nm
i686-apple-darwin8-nmedit             powerpc-apple-darwin8-nmedit
i686-apple-darwin8-otool              powerpc-apple-darwin8-otool
i686-apple-darwin8-otool64            powerpc-apple-darwin8-otool64
i686-apple-darwin8-pagestuff          powerpc-apple-darwin8-pagestuff
i686-apple-darwin8-ranlib             powerpc-apple-darwin8-ranlib
i686-apple-darwin8-redo_prebinding    powerpc-apple-darwin8-redo_prebinding
i686-apple-darwin8-seg_addr_table     powerpc-apple-darwin8-seg_addr_table
i686-apple-darwin8-segedit            powerpc-apple-darwin8-segedit
i686-apple-darwin8-seg_hack           powerpc-apple-darwin8-seg_hack
i686-apple-darwin8-size               powerpc-apple-darwin8-size
i686-apple-darwin8-strings            powerpc-apple-darwin8-strings
i686-apple-darwin8-strip              powerpc-apple-darwin8-strip

Each works with all three supported targets, Intel, PowerPC and PowerPC64
using the options -arch i686, -arch ppc and/or -arch ppc64 (fat binaries work
OK). The only difference between the two versions of each tool is the default
target.

Examples:

$ PATH=$PATH:/opt/mac/bin
$ powerpc-apple-darwin8-g++ -o hello hello.cpp
$ file hello
hello: Mach-O executable ppc
$ i686-apple-darwin8-g++ -o hello hello.cpp
$ file hello
hello: Mach-O executable i386
$ powerpc-apple-darwin8-g++ -arch i386 -o hello hello.cpp
$ file hello
hello: Mach-O executable i386
$ powerpc-apple-darwin8-g++ -arch i386 -arch ppc -arch ppc64 -o hello hello.cpp
$ file hello
hello: Mach-O fat file with 3 architectures

Example of configuring and building something:

$ ./configure --host=i686-apple-darwin8
$ make

You can also install other SDKs, and compile against them using the
'-isysroot' option, e.g.:

$ powerpc-apple-darwin8-g++ \
    -isysroot /opt/mac/SDKs/MacOSX10.3.9.sdk -o hello hello.cpp

Here is an example of how you might configure a project to use another SDK:

$ ./configure --host=powerpc-apple-darwin8 \
    CC="powerpc-apple-darwin8-gcc -isysroot /opt/mac/SDKs/MacOSX10.3.9.sdk" \
    CXX="powerpc-apple-darwin8-g++ -isysroot /opt/mac/SDKs/MacOSX10.3.9.sdk"

Rebuilding the Binaries with the Makefile
-----------------------------------------

Put the Makefile and tarballs gcc-5247.tar.gz, odcctools-20060413.tar.bz2 and
Archive.pax.gz (from the SDK, see "Get the SDK" above) in a temporary
directory. Then, for example, to build and install everything in one go:

# mkdir /opt/mac
# chown myuser:mygroup /opt/mac
$ make install

If you want to separate the build from the install, for example if you want to
build as a normal user and install as root, then you need to do five steps:

# make install-sdk
$ make odcctools
# make install-odcctools
$ make gcc
# make install-gcc

The default is to install to /opt/mac, if you want to use a different prefix
then add 'PREFIX='.

Another useful override is TARGETS, which lists target architectures to build
compilers for. The default is:
    TARGETS="i686-apple-darwin8 powerpc-apple-darwin8".

For example to only build the Intel compiler and install it to /usr/local, the
last two steps would be:

$ make gcc PREFIX=/usr/local TARGETS=i686-apple-darwin8
# make install-gcc PREFIX=/usr/local TARGETS=i686-apple-darwin8

Note that when the "-arch ppc" option is used with the i686 compiler (or vice
versa) it works by invoking the other compiler, so you need to build both
powerpc and i686 compilers to support both targets.

Manually Building odcctools from Source
---------------------------------------

Install the SDK (see "Get the SDK" above), e.g.:

  prefix=/opt/mac
  gunzip -c Archive.pax.gz | pax -r
  mkdir -p $prefix/SDKs
  mv Developer/SDKs/MacOSX10.4u.sdk $prefix/SDKs

Build and install odcctools, e.g.:

  prefix=/opt/mac
  target=powerpc-apple-darwin8
  tar xjf odcctools-20060413.tar.bz2
  cd odcctools-20060413
  ./configure --target=$target --prefix=$prefix \
        --with-sysroot=$prefix/SDKs/MacOSX10.4u.sdk
  make
  make install

$prefix is where you want to install the compiler on your GNU/Linux box and
$target is either powerpc-apple-darwin8 or i686-apple-darwin8 for PowerPC or
Intel Macs.

Note that not all releases of odcctools will compile on GNU/Linux, and those
that do may not compile on all architectures. The 20060413 release for example
only supports x86 GNU/Linux.

Manually Building gcc from Source
---------------------------------

For gcc you can build either from original FSF gcc sources or from Apple's
modified sources.

The Apple versions generally include some things that the equivalent FSF
versions do not. The Apple specific command line options for example, and they
will include code that had not been integrated upstream at the time of the
release. The Apple sources aren't usually straight forward to build, but they
should include a script 'build_gcc' which you can examine to see how Apple
themselves did it.

Recent FSF gcc sources, on the other hand, should be straight forward to
build, so it makes sense to use those unless you have a particular reason for
wanting the Apple ones.

Programs compiled with gcc will by default depend on some support libs such as
libgcc*.dylib, libstdc++*.dylib or libobjc*.dylib. However for most
applications it should be possible to depend on the system libs already
installed on the target Macs and you will not have to ship these libraries
with your application.

A big advantage of using the system libraries is that when building your
applications you will be able to link to other third party and system libs
that will have been built against the system versions of libgcc, libstdc++ and
libobjc.

For libgcc the default is to link against libgcc_s_10.4.dylib which is a stub
for the version of libgcc_s.1.dylib installed on OSX 10.4, meaning that your
applications will use the system libgcc. Note that this is the default with
Apple gcc 4.0.1, but for the FSF version it only became the default with gcc
4.2.0. You can control the libgcc used using the -mmacosx-version-min compiler
option, see gcc(1).

For libobjc, which objective-C programs will depend on, the default is to use
the headers and stub library in the SDK. So again your programs will use the
system lib. See -fgnu-runtime and -fnext-runtime in gcc(1).

Using the system libstdc++ isn't the default, but it can be done by
configuring gcc with --with-gxx-include-dir to specify the system C++ headers
and not building gcc's own libstdc++. The easiest way to avoid building
libstdc++ is to delete its directory from the gcc sources before configuring.
 
For this to work the version of gcc you are building must have the same C++
compiler ABI as the version the system libstdc++ was taken from. So far (i.e.
up to 4.2.0 at least) gcc's C++ ABI has stayed the same since version 3.4.0.

For example building FSF gcc 4.2.0:

  prefix=/opt/mac
  target=powerpc-apple-darwin8
  targetprefix=/usr/local
  PATH=$PATH:$prefix/bin
  tar xjf gcc-4.2.0.tar.bz2
  perl -pi -e "s|/usr/bin/libtool|$prefix/bin/$target-libtool|" gcc-4.2.0/gcc/config/darwin.h
  perl -pi -e "s|-Wl,-install_name,..slibdir.|-Wl,-install_name,/usr/lib|" gcc-4.2.0/gcc/config/t-slibgcc-darwin
  rm -r gcc-4.2.0/libstdc++-v3
  mkdir build-gcc
  cd build-gcc/
  ../gcc-4.2.0/configure --target=$target --prefix=$targetprefix \
    --with-sysroot=$prefix/SDKs/MacOSX10.4u.sdk \
    --with-gxx-include-dir=$prefix/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0 \
    --enable-languages=c,c++,objc,obj-c++ \
    --enable-version-specific-runtime-libs \
    --with-as=$prefix/bin/$target-as \
    --with-ld=$prefix/bin/$target-ld
  make

Then as root:

  prefix=/opt/mac
  target=powerpc-apple-darwin8
  PATH=$PATH:$prefix/bin
  make install prefix=$prefix
  cd $prefix/lib/gcc/$target/4.2.0
  ln ../../../../SDKs/MacOSX10.4u.sdk/usr/lib/libstdc++.6.0.4.dylib .
  ln -s libstdc++.6.0.4.dylib libstdc++.6.dylib
  ln -s libstdc++.6.0.4.dylib libstdc++.dylib

$targetprefix which is the location to which you will install any support libs
on the target Macs and $prefix is the location the compiler will be installed
to on the GNU/Linux machine. Alternatively you can make $targetprefix the same
as $prefix as you probably won't ship any support libs, and if you do you can
modify them with install_name_tool(1).

-------------------
Mike Wetherell 2007
mweth at users.sf.net
« Last Edit: January 31, 2010, 08:24:19 pm by SX » Logged

SX
Administrator
*****
Online Online

Posts: 2388



WWW
« Reply #12 on: January 31, 2010, 04:41:24 pm »

I'm definitely going to look into this Plombo!  I didn't think someone created a Mac gcc cross-port for Linux.

As for the daily builds.... i had a cronjob issue that's now worked out, so the time for releases should be posted shortly after midnight USA Eastern Standard Time.
Logged

wraggster
News Reporter
*
Offline Offline

Posts: 3



« Reply #13 on: February 02, 2010, 06:50:26 am »

hi there, is it possible to put a little changelog for each release and for which consoles have been updated with each release, ill know what site to post news on then, excellent work also
Logged
Damon Caskey
Administrator
*****
Offline Offline

Posts: 4069



WWW
« Reply #14 on: February 02, 2010, 07:23:09 am »

There is a change log; it's in the SVN page.

DC
Logged

OpenBOR Wiki.

Coming Soon:
Fatal Fury Chronicals

Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Advertisement

Recent Topics

[March 11, 2010, 09:45:23 pm]

[March 11, 2010, 09:42:19 pm]

[March 11, 2010, 09:25:06 pm]

[March 11, 2010, 09:21:50 pm]

[March 11, 2010, 09:07:50 pm]

[March 11, 2010, 08:28:01 pm]

[March 11, 2010, 08:12:26 pm]

[March 11, 2010, 08:06:34 pm]

[March 11, 2010, 07:49:22 pm]

[March 11, 2010, 04:31:42 pm]

Online Status

Members
  • Total Members: 15115
  • Latest: reakash
Stats
  • Total Posts: 60625
  • Total Topics: 4070
  • Online Today: 38
  • Online Ever: 117
  • (October 23, 2009, 03:29:26 pm)
Users Online
TinyPortal v1.0 beta 4 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Valid XHTML 1.0! Valid CSS!
Page created in 0.845 seconds with 38 queries.

Google visited last this page March 09, 2010, 11:45:18 am