This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Re: why use the SA1110-USB-driver a static /dev/usbs... definition ???
Hi Andrew
You are right. I use an "arm-elf-gcc (GCC) 3.4.4"... I will try Your patch,
when the driver is doing something.
If I understand the use of "static" in the USB-driver, then its only a
matter of being not visible outside of the USB-driver. If the symbol will be
in the library is controlled by the cdl-headers and compiler optimation is
not usefull...
Thanks
Oli
----- Original Message -----
From: "Andrew Lunn" <andrew@lunn.ch>
To: "Andrew Lunn" <andrew@lunn.ch>
Cc: "oliver munz @ s p e a g" <munz@speag.ch>;
<ecos-devel@sources.redhat.com>
Sent: Monday, June 27, 2005 3:40 PM
Subject: Re: why use the SA1110-USB-driver a static /dev/usbs... definition
???
What version of gcc are you using? Something newish?
My guess would be something like 3.4 or higher.
http://www.gnu.org/software/gcc/gcc-3.4/changes.html
I says that "Unreferenced static variables and functions are removed"
This fits your problem description.
Please could you try the attached patch.
Thanks
Andrew