Page 2 of 5
Re: Help With Patricknet Development
Posted: Mon Oct 27, 2008 7:55 pm
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.
Re: Help With Patricknet Development
Posted: Mon Oct 27, 2008 11:48 pm
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.
Re: Help With Patricknet Development
Posted: Tue Oct 28, 2008 4:11 am
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.
Re: Help With Patricknet Development
Posted: Tue Oct 28, 2008 4:18 am
by babylon2233
Is that default GCC targeting elf? BTW I found this compiled
Cygwin ELF toolchain.
Re: Help With Patricknet Development
Posted: Tue Oct 28, 2008 4:24 am
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
Re: Help With Patricknet Development
Posted: Tue Oct 28, 2008 4:31 am
by babylon2233
Combuster wrote: it just takes more work
That' why I still prefer those elf toolchain or Linux.
Re: Help With Patricknet Development
Posted: Tue Oct 28, 2008 2:04 pm
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.
Re: Help With Patricknet Development
Posted: Tue Oct 28, 2008 2:14 pm
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.
Re: Help With Patricknet Development
Posted: Tue Oct 28, 2008 2:18 pm
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.
Re: Help With Patricknet Development
Posted: Tue Oct 28, 2008 2:24 pm
by babylon2233
you can simply type gcc on the terminal/shell.
Re: Help With Patricknet Development
Posted: Tue Oct 28, 2008 2:28 pm
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?
Re: Help With Patricknet Development
Posted: Tue Oct 28, 2008 2:36 pm
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
Re: Help With Patricknet Development
Posted: Tue Oct 28, 2008 2:37 pm
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.
Re: Help With Patricknet Development
Posted: Tue Oct 28, 2008 3:15 pm
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.
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.
Re: Help With Patricknet Development
Posted: Tue Oct 28, 2008 3:43 pm
by Combuster
The age of the internet is here. You should seriously consider to get out of your cave and buy yourself some hardware
I'll shut up now.