Subject: Linux programming help
From: Rotary Engine
Date: 1/16/2010, 6:42 PM
To: AAA Put this in the To box


What does this arrow mean?

Paul Lamar


I never look at "file manager" utilities in linux.  Too mouse-centric..

"include"?  What do the icons for the source ("C") code look like?

Matt-


Not "include"..  I missed that utsrelease.h and version.h when I first
looked at the picture.

Are these files actually symbolic links?


Matt-

Could be. I am not familiar with symbolic links and why
you need them. What are they and why does one need them?

Paul Lamar
Looks like a C++ header file named "usb".
Vladimir Zakrevski
Is it C++ or C?

Paul Lamar


That's most likely a symbolic link. They pretend to be the 'real' file they
point to. It lets you abstract file system layouts (in this case include
file paths).

It's also most likely a 'c' header file; in *nix cpp headers are usually
'.hh'. (and source files are '.cc')

The '-I' option to gcc allows you to add include paths. If you can find the
file you're lacking, append the full path to the end of your '-I' paths,
example: "-I /usr/include /usr/local/include ../include", etc. Any IDE that
builds makefile's for you will have a utility to set your include paths (and
libs). Eclipse does.

I've been fabricating the top-center engine mount today, made good progress.
Will have pictures after all my mistakes are covered up ;/)

--Kenny A.

http://websites.expercraft.com/kennya/

Thanks Kenny. I'll try that. If I found the real usb.h could I copy
it to the same directory stdio.h  is in? stdio.h works fine?

Some of those dozens of  usb.h files are empty files for some strange reason :)

Paul Lamar

Hi Paul,

If it's a symbolic file, open a terminal and do an ls - l (that's LS
-L but lower case).  The file will be listed sort of like this:

usb.h - /usr/lib/gcc/somewhere/usb.h

The part after the arrow is where the real file is.

If you are using File Browser, you should be able to right click on the
file and select 'Properties'  Under the 'Basic' tab there should be a
'Link target:' listing with the same information.

Bob W.

-- 
N93BD - Rotary Powered BD-4 - http://www.bob-white.com
Now Rotary Powered  Alpine
 http://www.youtube.com/watch?v=FwceNc2ydN8
Cables for your rotary installation - http://roblinstores.com/

Thanks Bob.

Paul Lamar
-- 
The Rotary Engine NewsLetter. Powered by Linux.
ACRE NL web site. http://www.rotaryeng.net
Youtube key word UTUBPLEASE
Copyright 1998-2009 All world wide rights reserved.