Program to create files .ELF in Linux ??

You need to replace "ps2tool" with the IP address or DNS name of your TOOL. This variable contains what would otherwise be passed as the argument after "-d".
Try running make again, the "permission denied" errors should be gone. Then, follow the README of the sample.
After the commands that you told me, everything seems to work, just do not have a program. elf to try (I thought that we were among the examples but I found them).

The question that remains for me is that if I write a C program (always on Linux), with the exception that extension since the extension. elf there? Then I have to put in the / usr / local / SCE / bin to run it?
This is an example of how to run a file. elf:

[roberto@Host-001 bin]$ ./dsedb -d 192.168.1.23 -r run 3DIconViewer/viewer.elf
*** Resetting...

EE DECI2 Manager version 0.06 May 7 2002 17:36:10
CPUID=2e14, BoardID=4126, ROMGEN=2002-0722, 128M

Loading program (address=0x00121b60 size=0x00000018) ...
Loading program (address=0x00100000 size=0x00021b78) ...
Loading program (address=0x00121b80 size=0x00007ba8) ...
Entry address = 0x00100008
GP value = 0x00131670
Can't load module sio2man
# TLB spad=0 kernel=1:12 default=13:36 extended=37:47
*** End of Program
*** retval=0x00000000
Sorry, but I don't understand. Can you please rephrase your question?

No. If your PATH variable is set correctly, you can invoke dsedb from the same directory where the ELF got built. Please type "dsedb" without the leading "./".

Did you edit ~/.bash_profile to include the "export PATH" and "export DSNETM" lines? If so, you no longer need the "-d" option (that's what the DSNETM variable is for), and you can also invoke the command from any directory (thanks to PATH including /usr/local/sce/bin/).

Try to invoke "dsedb" from the same directory the ELF has been built in. Do not copy the ELF anywhere else, and do not change the directory (via cd) to anywhere else. The ELF may need other files from its directory, and won't be able to find them if you execute it from somewhere else.

Some samples have a "run" target in their Makefile. Did you look into the README, whether it says how to run the sample? If it lists commands that fail on your machine, please let us know.
when I run this command:

~ /. bash_profile

tells me permission denied.

And 'this is the correct sequence to be written?

~ /. bash_profile
export PATH = $ PATH: / usr / local / SCE / bin: / usr / local / SCE / ee / gcc / bin: / usr / local / SCE / iop / gcc / bin

Export DSNETM = 192.168.1.23
That error message is fine and expected. You do not execute the file, that is done automatically by the system when it starts your shell. As I wrote above, you need to edit the file to include said two export lines. It is a normal text file, you can run your favorite text editor to insert them. Afterwards, logout and logon again, then do "set|grep PATH" followed by "set|grep DSNETM" to check that the variables have been set.

As I wrote, please insert the two lines starting with "export" at the end of your ~/.bash_profile. You do not need to execute that file yourself, and you do not need to enter these lines at the shell.

Please take care of the spacing and upper/lowercase in commands. In Unix-based systems like Linux, all commands are case-sensitive. "export" needs to be in lowercase (that is, "Export" is invalid, but "export" is fine). There must also be no spaces around the "=", "/" and ":" marks.

Did you really install the SDK to /usr/local/SCE/ instead of /usr/local/sce/ (note the difference between "SCE" and "sce")? You need to make sure your PATH variable contains the exact path, with correct upper/lowercase letters, or it won't work.

Is there a reason why all the commands you post to the forum are in this garbled form? It is quite hard to read (at least for me), and if you don't post the exact commands you type into your shell, potential errors are nearly impossible to see, so we won't be able to help... :shrug:
Sorry Silverbull is the fault of Google translate. The folder is see, not SCE. Though now try again to follow step by step what you wrote. Let you know
Okay, I see. Take your time, and feel free to ask if anything is unclear.
In the end I installed Codewarrior and I found it much easier. In Linux is too complicated.
I don't want to sound like an arse................but, for over a week now Silverbull has been trying to help you out with this, just for to to turn around and use CodeWarrior (which if you read back was what I originally told you to use) because
:fresh:

The TOOL runs on Linux and to do any of the really cool stuff with it, it is recommended that the Dev Computer runs on Linux (unless you are lucky enough to own a DTL-T15000 Performance Analyzer, which needs XP).

90% of what I know about Linux is because of SilverBull, UncleJun, Port187 and the stickies at the top of this section. Without these people sharing their knowledge we would all be stuck, and learning these things would take soo much longer.

If more people turn up here asking really cool questions like what you asked (I have been following this thread intently so that I could learn how to do it myself because I didn't see the point of clogging up the boards when there's Google and other references that can be used), just to turn around at the end of it to say
these guys won't share their wealth of knowledge anymore, cause they'll just think FUCK it, why should I waste my time.

What you said here was so that you could learn, but you're contradicting yourself.

Just my 2 cents worth.
I do not know if I've insulted ... I hope not. I did everything I said and how I put Silverbull beginning, now I use my TOOL perfectly. Without him and Unclejun Port187 and I would never have succeeded. I asked in this thread as aid on how to create a file.elf with Linux because could not run CodeWarrior. Now that I've got to try both, I have seen that it is much easier but not received aid were indeed useless! try to go a bit lighter with the comments.
I just don't want these guys to stop sharing their knowledge. It's just my 2 cents worth. I definitely didn't want to annoy you. I just feel that this thread was wasted because in the end you went CodeWarrior.
This applies to you and not me. Being a beginner, these aids were given to me have been invaluable for understanding how Linux works. In about a week I learned how to configure the tool, connect with your PC using Linux, the games always start from Linux, change the Root password etc etc ... If you can avoid unnecessary things seem to comment. Otherwise if you need help you continue with the post.



I tried and tried several times to run Linux commands you told me but Silverbull me the same error. So I tried to see how it worked and I saw that CodeWarrior is more immediate.
I'm not going to get into an argument over this. Everyone's entitled to an opinion bro. It's called freedom of speech. And that is MY opinion.
I'm not limiting your freedom of speech, but only the way you do. I'm not going to let me pass for one who is taking advantage of others. I have not forced anyone to answer me, I found good guys, helpful and kind (I've always thanked) unlike you.



I think this discussion can be closed here because no use to anyone.
:lol::lol::lol::lol::lol:, I've thanked SilverBull plenty of times via PM for his help with getting my TOOL up and running and sending me dumps of his drives when mine fucked out.

So unless you know for sure what your talking about
then don't say a word. :redface: Italians.

Edit; Just reading back through the post, I don't don't see 1 single thank-you from you in here.
With this latest post proves that the person you are. You start to insult me ​​as well!
And you're not insulting me???? Come on man, don't give if you can't take.

I had an opinion, just leave it at that. I'm done arguing with you about this.

My point was that you shouldn't have asked the question in the first place.
If you give me the same error, why should I go on a course which has no output? Only by Silverbull I found this thing. Try not to be stubborn and to understand that we are not all on the same level. Being a beginner, I have different requirements for an advanced. I repeat: if you want to continue the matter to find a solution to do it, nobody forbids you. I do not understand this stubbornness.
Remember that we Italians are envied by the rest of the world. We have everything: art (Raffaello, Michelangelo, Leonardo da Vinci, Giotto ..), music (Pavarotti, Bocelli, Verdi, Puccini ..), sports (Milan, Juventus, Inter Milan), kitchen, engineering (Ferrari, Brembo, Ducati, Lamborghini, Bugatti ...), fashion (Armani, Ferrè, Dolce & Gabbana, Ferragamo, Prada, Gucci, Fendi ..) cities (Venezia, Milano, Roma, Napoli ..) I could go on forever. What has New Zealand? So think before you make fun of your little island.

No no no. Please don't get into insulting each other. This thread was very informative and finishing it with a flamewar :flamethrower: is such a shame. :shrug:
I have not insulted anyone, unlike Ps2Guy who used the term "Italians" as a pejorative. I just wrote a small part of what Italy has no more. In my comment I used any offensive words or did you think of this. However I would prefer that this thing ends here.

Original thread: https://assemblergames.com/threads/program-to-create-files-elf-in-linux.36737/