Hi,
I have been searching up and down the forums and reading some online
tutorials regarding Makefiles. Unfortunately, I cannot solve my problem.
<my makefile snippet>
main.o: main.c $(H)
($CC) -c $(FLAGS) main.c
</my makefile snippet>
$(CC) = gcc_arm (alias to my arm-unknown_linux_gnu_gcc)
FLAGS = empty
H = header files
I keep getting errors that say:
gcc_arm -c main.c .... creating process<null>, failed
make( e=2 ) ... something
something... file cannot be found
Sorry I cannot give you the full error. I am at work and I forgot to
post last night.
My attempts:
-tried to type out the line (gcc_arm -c main.c) to see if it works. IT
does!
-ensure all the files are in the write directory
-changing the order of flags
-used the mcpuARM or whatever flag
-take other examples and tried it in cygwin
I am compiling with the crosstool chain in cygwin.
# Inqury:
My project is to develop a simple DAQ system. We want to log the data
onto a usb key so it can easily be replaced. I have searched the
forums and read up on mounting the usb drives using usbdevfs. I am a
newbie to linux (at least at this level), can someone direct me to
information on making the usb drives hot swap capable?
If the usb key is taken out of the port, will there be an interrupt
triggered to tell my code to stop writing to the drive? Any websites
or code samples will be greatly appreciated.
Sincerely,
Wilson
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|