LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 11-04-2004, 10:32 AM   #1
rigel_kent
Member
 
Registered: Nov 2004
Posts: 64

Rep: Reputation: 15
Compiling with Knoppix


Hi ,

I had some problems with Knoppix - I only have access to the line command if I enter "Knoppix 2", otherwhise when it shows the command line and I do ENTER it begins to search for current hardware, etc...until it arrives to a screen with a voice telling "initiating starting sequence". After a few seconds, the screen turns black, and there it comes again, the same image with the same voice "initiating starting sequence"...and never stops. So I use the command that was indicated by a member of the Knoppix forum.
Now I have two problems regarding compiling C files with GCC or MAKE - remember please that I'm a newbie: what I want is, from time to time, compile about 10 C source code files to Linux executables that will run in my webhost provider. I've already made a partition ( Linux Swap ) with only 16 MB ( my system doesn't let me give more space - but I'm trying to solve the problem ) - but there comes my firt doubt: I don't see it in Windows anywhere; so, how can I put the C files that I want to compile there ( in that specific partition )? Can I copy them from a floppy disk to the new partition? But how?

Second: running GCC; I'm in the root of knoppix - What do I do? To wich directory do I move in? What command and where do I run the MAKE utility or GCC itself? What's the path of the partition...?

I'm a bit lost here...

Can you help me? This is quite urgent - the person who was compiling my source code to Linux is too busy ( so he says...). And I can't depend of him for life.

Regards,

rigel_kent

Last edited by rigel_kent; 11-04-2004 at 10:34 AM.
 
Old 11-04-2004, 11:16 AM   #2
lethargo
LQ Newbie
 
Registered: Aug 2003
Location: St. Paul, Minnesota, US
Distribution: Slackware 10
Posts: 27

Rep: Reputation: 15
rigel_kent,

I'm no linux compiling expert myself, but I will offer a couple comments until more knowledgable people can give better ones :-)

Quote:
I've already made a partition ( Linux Swap ) ... I don't see it in Windows anywhere; so, how can I put the C files that I want to compile there
I don't think a swap partition is what you want. A linux swap partition is to Linux what the swap file is to Windows, i.e. an overflow area for stuff that won't fit in memory--it's not intended for permanent storage.

I think what you want to do is to mount your Windows partition(s) from Knoppix. For example, if your Windows installation is on the first (or only) partition on your first (or only) IDE hard drive, you might try something like this from Knoppix...
Code:
mkdir /mnt/mycdrive
mount /dev/hda1 /mnt/mycdrive
The contents of your Windows C: drive should now appear under /mnt/mycdrive, and you can just copy the C files to somewhere else.

Note that depending on your version of Windows, the stuff under /mnt/mycdrive might be read-only to you, although if so, and if you want to write back to your Windows C: drive from under Knoppix, you might try looking for something called Captive NTFS in Knoppix.

Does any of that help?
 
Old 11-04-2004, 11:42 AM   #3
rigel_kent
Member
 
Registered: Nov 2004
Posts: 64

Original Poster
Rep: Reputation: 15
Almost...

Dear Lethargo,

I ( we ) almost did it ! I followed the steps you told me to, and compile the files succefully. The only problem is that while in Knoppix, I made ls and saw the files compilated. But when I entered the windows again they were not there...what could have happen?

I've done something wrong...

Regards,

rigel_kent
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling programs in Knoppix gnukish Programming 3 07-12-2005 12:43 AM
need help compiling slmodem-2.9.10 driver on Knoppix 3.9 Joseph Schiller Debian 3 06-13-2005 03:05 PM
Problems compiling under knoppix 3.8.1 redss Debian 1 04-23-2005 09:55 PM
compiling on knoppix myister Linux - Newbie 3 05-12-2004 10:26 PM
How does one remove the custom KNOPPIX graphics from a KNOPPIX HD Install? apache363 Linux - Distributions 2 03-29-2004 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 09:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration