Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
20 user(s) are online (16 user(s) are browsing Forum)

Members: 0
Guests: 20

more...

Browsing this Thread:   1 Anonymous Users



« 1 2 3 4 (5) 6 »


Re: SDL library improvements

Joined:
2008/1/7 12:41
From Poland
Group:
Member
Posts: 2288
Offline
OWB requires g++ and there is no g++ available for m68k target.

Posted on: 2011/2/12 9:48
_________________
Krzysztof

"There is no such thing as software for free. If it is not the user who covers the cost of software creation with money, it is the developer who covers this cost with his own free time."

www.aros3d.org
www.twitter.com/ddeadwood
Transfer the post to other applications Transfer


Re: SDL library improvements

Joined:
2010/8/30 7:20
Group:
Member
Posts: 491
Offline
i imagine first one have to compile aros sdl for 68k, but just in case one could try to link with bernds static lib, that i can provide you.
what is actually your build environment? because if you build under cygwin, i have both working gcc and g++ 3.6.0 and 4.5.0 that im using with my amidevcpp for compiling amiga 68k stuff.

Posted on: 2011/2/12 10:00
Transfer the post to other applications Transfer


Re: SDL library improvements

Joined:
2008/1/7 12:41
From Poland
Group:
Member
Posts: 2288
Offline
OWB is build from within AROS build system - it needs m68k-crosscompiler g++ "installed" in the system.

Posted on: 2011/2/12 10:08
_________________
Krzysztof

"There is no such thing as software for free. If it is not the user who covers the cost of software creation with money, it is the developer who covers this cost with his own free time."

www.aros3d.org
www.twitter.com/ddeadwood
Transfer the post to other applications Transfer


Re: SDL library improvements

Joined:
2010/8/30 7:20
Group:
Member
Posts: 491
Offline
hmm, i wonder if bernd could compile his 68k compilers for aros build system..

Posted on: 2011/2/12 10:18
Transfer the post to other applications Transfer


Re: SDL library improvements

Joined:
2010/1/12 4:34
Group:
Member
Posts: 12
Offline
>hmm, i wonder if bernd could compile his 68k compilers for >aros build system..

AROS use Linux build system, currently i have not install Linux or know how can crosscompile a compiler for AROS.

I dont know whats problem because AROS 68k G++ is not here, because normaly when copy the g++ files, it compile during GCC compile

you need this files copy in the compiler source and when then configure, again, then G++ should build.

ftp://ftp.gwdg.de/pub/misc/gcc/relea ... 5.1/gcc-g++-4.5.1.tar.bz2

Have you try to build compiler ?

BTW Toni have send me instructions how get AROS development and compiler build, but i currently have not try it out.

i am lazy, but i think i better tester and search for bugs and write testprograms, because i am not so excellent programmer.

and if somebody can do such a vmware image (that can run on vmware player this is only free)with installed ubuntu and AROS develop, is great, because all that want compile for AROS 68k can save lots of time.the last time i use linux was 2000 and doing develop system get work was a horror.but at least with Tonis instructions it look more easy.

his config have this entry.

if you remove this complete

--enable-languages=c


and the g++ files i post link are in, then G++ should build with the c++ lib.

here come the text

""""""
Download latest Ubuntu
image.
Start vmware, let it install using automatic installation, everything is done
automatically, when it is ready, it boots directly to desktop.
Select synaptics package manager from admin menu, select and install all
packages I listed,

Packages needed:

binutils-source
libcloog-ppl-dev (adds lots of other dependencies)
g++
libelf-dev
bison
flex
gcc-4.5-source
libmpfr-dev
libmpc-dev
libecm-dev
netpbm

mkdir dev
cd dev
mkdir binutils
cd binutils
tar xvfJ /usr/src/binutils/binutils-2.20.51.tar.xz
binutils-2.20.51/configure --prefix=/opt/m68k-elf --target=m68k-elf
make -j2
sudo -s
make install
exit
cd ..
mkdir gcc
cd gcc
tar xvfJ /usr/src/gcc-4.5/gcc-4.5.1.tar.xz
cd gcc-4.5.1
patch -p1 <path>/0001-m68k-amiga-Amiga-ABI-support.patch
cd ..
gcc-4.5.1/configure --without-headers --disable-threads --disable-libssp
--disable-nls --disable-shared --without-pic --prefix=/opt/m68k-elf
--target=m68k-elf --enable-languages=c
make -j2
sudo -s
make install
exit


then follow my guide.
It takes only 30mins or so.

add PATH=$PATH:/opt/m68k-elf/bin to ~.bashrc

Use svn to get latest tree.
cd ~
mkdir build
cd build
(It is very important to have separate build tree, do not compile inside
source tree)

../AROS/configure --target=amiga-m68k --with-optimization="-Os"
--with-serial-debug --disable-mmu
(do not change optimization setting, it is not going to work)
make
(wait until you get some error, it is some package that is not yet m68k
compatible, not important)

make kernel-link-amiga-m68k

rom images are now in distfiles

make workbench to create full wb setup
"""""

Posted on: 2011/2/12 11:01
Transfer the post to other applications Transfer


Re: SDL library improvements

Joined:
2011/1/30 7:38
From Wesel, Germany
Group:
Member
Posts: 25
Offline
Hi Bernd,

Quote:

Bernd_afa wrote:
...
i am lazy, but i think i better tester and search for bugs and write testprograms, because i am not so excellent programmer.

and if somebody can do such a vmware image (that can run on vmware player this is only free)with installed ubuntu and AROS develop, is great, because all that want compile for AROS 68k can save lots of time.the last time i use linux was 2000 and doing develop system get work was a horror.but at least with Tonis instructions it look more easy.
...
""""


i have prepared a ubuntu virtualbox image with complete preconfigured AROS m68k build enviroment, it will be tomorow ready for download at my homepage http://aros68k.org

Posted on: 2011/2/12 11:24
Transfer the post to other applications Transfer


Re: SDL library improvements

Joined:
2008/11/15 15:27
Group:
Member
Posts: 514
Offline
OWB for AROS is built under linux, requring linux cmake and gperf installed in addition to the usual developer packages the gimmearos.sh script installs to build AROS hosted under linux. The AROS SDK stuff could use some work to generate the real cross compilers necessary for C++ support and to be able to compile for different CPUS without respect to whichever platform your actually on: x86_64, PPC, x86, m68k, arm...

Posted on: 2011/2/12 14:59
Transfer the post to other applications Transfer


Re: SDL library improvements

Joined:
2005/6/10 18:29
From Oulu, Finland
Group:
Member
Posts: 39
Offline
Bit of a problem (posted about this on dev list, too, but...), for some reason SDL's configure script ain't recognizing C/C++ preprocessor, whereas the main configure for AROS itself has no problems detecting what it is, just SDL. Any pointer to how to fix that (on MingW32)?

Posted on: 2011/3/7 17:00
_________________
/// Dai Kane...
Transfer the post to other applications Transfer


Re: SDL library improvements

Joined:
2009/4/16 23:03
From Liancourt Saint Pierre - France
Group:
Member
Posts: 973
Offline
I do not know for the current SDL build for the nightlies.
I will in some weeks (I'm travelling right now), update this build by the new one using SDL 1.2.14

I haven't tested to build the new one under Linux, only on native AROS for the moment.

Posted on: 2011/3/7 22:40
_________________
Yannick
http://www.dusabledanslherbe.eu/AROSPage
Transfer the post to other applications Transfer


Re: SDL library improvements

Joined:
2004/4/7 4:26
Group:
Member
Posts: 3623
Offline
Quote:

mesami wrote:
i have prepared a ubuntu virtualbox image with complete preconfigured AROS m68k build enviroment, it will be tomorow ready for download at my homepage http://aros68k.org


Hello. Is your image good also to compile native AROS for x86?

Posted on: 2011/3/8 1:36
_________________
p.bes
Icaros Desktop AROS distribution mantainer
Transfer the post to other applications Transfer



« 1 2 3 4 (5) 6 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
3623
2 nikolaos
nikolaos
3451
3 phoenixkonsole
phoenixkonsole
2921
4 magorium
magorium
2780
5 deadwood
deadwood
2288
6 clusteruk
clusteruk
2052
7 ncafferkey
ncafferkey
2046
8 mazze
mazze
2034
9 damocles
damocles
1787
10 Kalamatee
Kalamatee
1703
© 2004-2013 AROS Exec