forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Lib crt0.o

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
MrBondBoca



Joined: 01 Mar 2006
Posts: 3
Location: Sampa - Brasil

PostPosted: Mon Mar 06, 2006 9:21 am    Post subject: Lib crt0.o Reply with quote

Before a doubt, lets say thanks... I got the toolchain works on cygwin.

To BraveDog to say Build date of his cygwin...
Sat Jul 2 20:30:04 EDT 2005 to looking for in
http://www.fruitbat.org/Cygwin/ and
ftp://www.fruitbat.org/pub/cygwin/circa/index.html
to this version - Thanks

To Lukasz for a Tutorial: How to setup a ps2dev env in cygwin, its great.
I add just a package: Patch - Thanks

To ooPo to say gcc-4.x has problems compiling the gcc-3.2.2 - Thanks

The doubt:

I get the demo Funslower by SoopaDoopa. Did a little modifications to solve the problems that appears in the compilation, and the last one, need to copy crt0.o from the demo to \usr\local\ps2dev\ee\lib\gcc-lib\ee\3.2.2 where has a link with the same name... and got the ELF file.

How do I need to do in source, I think in the makefile, to doesn´t need copy crt0.o?
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Mon Mar 06, 2006 10:14 am    Post subject: Reply with quote

First off, stuff like funslower is ancient stuff. The examples with ps2sdk, and also the examples with gsKit if you are goint to be using it, are a lot better IMO.

Second... don't quote me on this, but if you add -mno-crt0 and then add the local crt0.o to the linker options, I think it should work... but I could be wrong, so who knows ;)
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Mar 06, 2006 10:25 am    Post subject: Reply with quote

The problem with building gcc4 on a gcc3 system is well known and is something you'd have to talk to GNU about if you want fixed.

Alternatively, you can install gcc3 in addition to your normal host toolchain and use something like 'CC=gcc-3.4 ./toolchain.sh' to compile it. That's what I'm currently doing under ubuntu.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> General Discussion All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group