Help With Patricknet Development

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.
PatrickV
Member
Member
Posts: 151
Joined: Sun Jul 06, 2008 7:50 pm
Location: New Zealand
Contact:

Re: Help With Patricknet Development

Post by PatrickV »

The computer i use cyqwin does not have internet but the computers that has internet is windows me and is not my computer. the error i get is when i run the program it crash by poping up with a don't send error and some how it is linked to Dr. Watson.

Yes i want to use those barebone for starters which i think this will help me with Patricknet. I need Gcc and ld to make this work. I am fine with nasm making the headerfile. But the problem with gcc is have to configure and build? For example in the install notes:

Code: Select all

$ mkdir objdir
$ cd objdir
$ srcdir/configure
Is their anything that i can go bam and don't have to configure anything in linux. I guess i am trying to compile something that is not their.... That is the problem. for example like nasm all i have do is doiwnload 1 file and run the command on the command prompt. I need something that i can use straght away and is not biger than 12mb because i am on dail-up

Ps. Thanks for help me out. I don't know how i could great an or get started if i was at this forum. :D
User avatar
babylon2233
Member
Member
Posts: 66
Joined: Fri May 23, 2008 5:30 pm
Location: Malaysia

Re: Help With Patricknet Development

Post by babylon2233 »

Well, I don't think I have to configure anything to use GCC and LD on my PC. That's why I'm asking what distro that you use? Is it Fedora/Ubuntu/Slackware/... ?
For Ubuntu, GCC already come with the system(Don't have to compile it yourself). If you don't know how to use GCC in Linux, you'll find out it's even harder in Cygwin. Give us your distro name if you really want us to help you.
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: Help With Patricknet Development

Post by Combuster »

Using GCC in cygwin is just as hard as several linux distro's: select the gcc package and install it. The only thing is that cygwin has it disabled by default, while many linux distros have it enabled by default, or can't even do without it.

But since you don't even have a network, I recommend a NAT router. You'll have lots of trouble manually copying all the cygwin files to your computer since it's meant to be a network install.
"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
babylon2233
Member
Member
Posts: 66
Joined: Fri May 23, 2008 5:30 pm
Location: Malaysia

Re: Help With Patricknet Development

Post by babylon2233 »

Is that default GCC targeting elf? BTW I found this compiled Cygwin ELF toolchain.
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: Help With Patricknet Development

Post by Combuster »

Cygwin's GCC makes PE binaries by default - that doesn't mean it can't create kernel binaries, it just takes more work
"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
babylon2233
Member
Member
Posts: 66
Joined: Fri May 23, 2008 5:30 pm
Location: Malaysia

Re: Help With Patricknet Development

Post by babylon2233 »

Combuster wrote: it just takes more work
That' why I still prefer those elf toolchain or Linux.
PatrickV
Member
Member
Posts: 151
Joined: Sun Jul 06, 2008 7:50 pm
Location: New Zealand
Contact:

Re: Help With Patricknet Development

Post by PatrickV »

Well i got ubuntu alright. it is FeistyFawn in 2006 i think. I looked for the package for gcc and it can not be found and plus i don't have internet options on virtual machine becaue that computers is cot connected to the internet. I am just wondering that if i can download something that i can use straight away with out configuration for gcc and ld. What your guys are talk about doesn't really answer my question.
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: Help With Patricknet Development

Post by 01000101 »

If you had any sort of internet you could just do a

Code: Select all

sudo apt-get install gcc binutils bochs
but I'm sure you could use a friends computer or something and download the .deb package files for those two. Also, are you SURE that you don't have gcc already installed (there is an error on 'gcc -v')?

edit:
http://packages.ubuntu.com/feisty/gcc
http://packages.ubuntu.com/feisty/binutils

the dependancies and such are available there as well.
PatrickV
Member
Member
Posts: 151
Joined: Sun Jul 06, 2008 7:50 pm
Location: New Zealand
Contact:

Re: Help With Patricknet Development

Post by PatrickV »

I don't have a friends computer. Thanks for the links. I see if they can be downloaded. I just have to figure out how to get on the virtual machine. How can i double check if it is intalled. i mean gcc.
User avatar
babylon2233
Member
Member
Posts: 66
Joined: Fri May 23, 2008 5:30 pm
Location: Malaysia

Re: Help With Patricknet Development

Post by babylon2233 »

you can simply type gcc on the terminal/shell.
PatrickV
Member
Member
Posts: 151
Joined: Sun Jul 06, 2008 7:50 pm
Location: New Zealand
Contact:

Re: Help With Patricknet Development

Post by PatrickV »

Oh I tryed that. I did the same thing i would do for nasm. I typed gcc in terminal and it say invaild command. i mean I think it has bash before invaild command. I looked at those files it is very small i bet their is more. Is their than a deb file?
User avatar
babylon2233
Member
Member
Posts: 66
Joined: Fri May 23, 2008 5:30 pm
Location: Malaysia

Re: Help With Patricknet Development

Post by babylon2233 »

I think you currently booting the LiveCD, right? If yes, you might have to install to your hard drive first.

Have you already done this one?

Code: Select all

sudo apt-get install gcc binutils bochs
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Re: Help With Patricknet Development

Post by JamesM »

http://packages.ubuntu.com/feisty/devel/gcc
http://packages.ubuntu.com/feisty/devel/nasm

Really, you want internet access on the machine and need to be able to

Code: Select all

sudo apt-get install build-essential[/quote]

Which should get you most of what you need.
PatrickV
Member
Member
Posts: 151
Joined: Sun Jul 06, 2008 7:50 pm
Location: New Zealand
Contact:

Re: Help With Patricknet Development

Post by PatrickV »

babylon2233 wrote:I think you currently booting the LiveCD, right? If yes, you might have to install to your hard drive first.
wrong worng. i am not on live cd. I have it installed on a virtual hard drive.
JamesM wrote:http://packages.ubuntu.com/feisty/devel/gcc
http://packages.ubuntu.com/feisty/devel/nasm (not needed-ld needed)

Really, you want internet access on the machine and need to be able to

Code: Select all

sudo apt-get install build-essential
Which should get you most of what you need.
well i am in big trouble. I have no internet to download direct as what you speak of . Besides i am sorry that i don't have the tools like you guys have.
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: Help With Patricknet Development

Post by Combuster »

The age of the internet is here. You should seriously consider to get out of your cave and buy yourself some hardware :wink:

I'll shut up now.
"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 ]
Post Reply