psp-ld ?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Dariusc123456
Posts: 388
Joined: Tue Aug 12, 2008 12:46 am

psp-ld ?

Post by Dariusc123456 »

well, I was looking around within the pspsdk and found that program above. Can someone give an example on using it because it just produce a a.exe when I use it
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

You use it JUST LIKE ld. Duh. Seems you need to go read your gcc manuals a little more closely. ;)
Dariusc123456
Posts: 388
Joined: Tue Aug 12, 2008 12:46 am

Post by Dariusc123456 »

Lol, ok. I an releasing something soon. But it seem that I wont need it yet.
User avatar
jean
Posts: 489
Joined: Sat Jan 05, 2008 2:44 am

Post by jean »

Lol, ok. I an releasing something soon. But it seem that I wont need it yet.
You don't need the linker?????????? We're all gonna die shortly......
Noko
Posts: 23
Joined: Sat Sep 06, 2008 8:35 pm

Post by Noko »

You don't need ld for c++ programs, you link them with g++
hlide
Posts: 739
Joined: Sun Sep 10, 2006 2:31 am

Post by hlide »

Noko doesn't say it this way as people may think psp-ld is unneeded for psp-gcc/psp-g++.

@Dariusc123456
psp-gcc/psp-g++ implicitly use psp-ld to link object files into a library or executable (here, a .elf or .prx file). So you don't need it explicitly.
Noko
Posts: 23
Joined: Sat Sep 06, 2008 8:35 pm

Post by Noko »

Yes, what I means was you don't need to know about ld.
Post Reply