does the native plugin always want files specified individually?
AFAICT I have to do this ...

    <source>
        <directory>${generated.native.source.dir}</directory>
        <fileNames>
            <fileName>devices.c</fileName>
            <fileName>errors.c</fileName>
        </fileNames>
        </source>
        <source>
        <directory>${basedir}/src/main/c</directory>
        <fileNames>
            <fileName>avrprog.c</fileName>
            <fileName>hpl_bootloader.c</fileName>

etc etc rather than *.c

The end result is that my final link line end up being too long for the
Windows command processor after it has passed each file with a fully
qualified path name to the linker

Error is :

The following character string is too long:
 -mmcu=atmega128 -gstabs
-Wl,-T,C:\projects\linkages\avr\ExeStatic/src/main/conf/avr5_ext.x
-Wl,-Map,ExeStatic.map -Wl,--defsym=__heap_start=0x804000
-Wl,--defsym=__heap_end=0x80ffff-Wl,--section-start=.jumptable=0x1efe8
-o
C:\projects\linkages\avr\ExeStatic\ges\avr\ExeStatic\target\hpl_coreio.objC:\projects\linkages\avr\ExeStatic\target\hpl_debugprot.obj
C:\projects\linkages\avr\ExeStatic\target\hpl_ds1602.obj
C:\projects\linkages\avr\ExeStatic\target\hpl_eeprom.obj
C:\projects\linkages\avr\ExeStatic\target\hpl_flash.obj
C:\projects\linkages\avr\ExeStatic\target\hpl_meminit.objC:\projects\linkages\avr\ExeStatic\target\hpl_misc.obj
C:\projects\linkages\avr\ExeStatic\target\hpl_power.objC:\projects\linkages\avr\ExeStatic\target\hpl_radio.obj
C:\projects\linkages\avr\ExeStatic\target\hpl_radioctl.objC:\projects\linkages\avr\ExeStatic\target\hpl_reset.obj
C:\projects\linkages\avr\ExeStatic\target\hpl_serial.objC:\projects\linkages\avr\ExeStatic\target\hpl_spi.obj
C:\projects\linkages\avr\ExeStatic\target\hpl_timer.obj

[snip]

Is there any way to avoid this, I'd rather not have to beak it up into
separate libraries just to get it to link

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to