--- In lpc2000@yahoogroups.com, "sig5534" <sig5534@h...> wrote:
>
> Well I found the problem. The "startup.s" file was listed in the
mak
> file as "startup.S". Bitten by the dreaded unix case significance.
>
> I'm not sure what the gcc/linker was doing with the startup.s
> module. It was listed in the ELF file, but the module code was not
> right. There was no complaint from the linker either about undefined
> labels. Strange.
>
> Oh well, its working now.
>
> Chris.
It is worth noting that a *.s file is not the same as *.S. By
convention, *.S files are assembler files that are preprocessed by gcc
while *.s files are not preprocessed (are fed striaght into
arm-elf-as). This difference makes life hard under Microsoft which
throws away case in file names.
I found the only way to do this properly was to rename the *.S files
to *.ss, and leave *.s files as *.s. My make file could them treat
them differently.