LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-28-2011, 09:11 AM   #1
fbartra
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
Where does my own code reside?


I am writing some code for my embedded linux project.

I will be generating a new kernel

Where should my code be saved?

How will the compiler know where my code is?

Thank you

Fausto
 
Old 02-28-2011, 10:00 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
(1) Wherever you want
(2) You compile in the same directory your code is (or you use a Makefile that says where)
 
Old 02-28-2011, 10:14 AM   #3
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Quote:
(1) Wherever you want
I'd reckon that'd be somewhere in your /home directory, I'd make a new folder there to keep things tidy.

Play Bonny!
 
Old 02-28-2011, 10:17 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Welcome to LQ!

You could create a 'build' directory in your home to keep things clean. That way there will be no confusion.
 
  


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
where the packages reside in my system kittichaitanya Linux - Newbie 3 11-16-2009 08:07 AM
Does pxelinux.cfg have to reside in /tftpboot jasgrif11 Linux - General 1 05-21-2008 04:46 PM
Where does Konqueror reside? drummerdan Slackware 6 08-16-2006 10:23 PM
Can / and /boot reside on the same partition? piggysmile Linux - Hardware 4 12-04-2005 07:24 AM
where do my application files reside? bobotoes Linux - Newbie 5 12-23-2004 10:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:24 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