printString function not printing strings!

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: printString function not printing strings!

Post by Combuster »

Using anything without knowing what it does is fail. Especially -i
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Benjamin1996
Member
Member
Posts: 78
Joined: Sat Apr 10, 2010 7:00 am
Location: Denmark

Re: printString function not printing strings!

Post by Benjamin1996 »

Combuster wrote:Using anything without knowing what it does is fail. Especially -i
I tried to Google it, but I couldn't find any info about it, so I guess I just sort of thought: Ahh, What the hell, let's do it anyway! :o
Anyhow, by the sound of your reply, this doesn't seem to be the solution of my problem?
User avatar
Neolander
Member
Member
Posts: 228
Joined: Tue Mar 23, 2010 3:01 pm
Location: Uppsala, Sweden
Contact:

Re: printString function not printing strings!

Post by Neolander »

Bookmark this. Now. http://sourceware.org/binutils/docs/

It should help you with LD options like -i, and even includes a nice explanation about linker scripts ^^
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: printString function not printing strings!

Post by Combuster »

Apparently you did not search for the manual, which btw doesn't need google. (As an exercise, try running the googled query in cygwin or your linux shell as a regular command)
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: printString function not printing strings!

Post by Solar »

Hell, "ld --help" should've been enough to get a first idea...
Every good solution is obvious once you've found it.
Post Reply