News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

The 01 October 2007 build (4503) is out.

Started by killerbot, October 01, 2007, 06:49:27 PM

Previous topic - Next topic

Lucas de Vil

#15
+hm+
It seems hard to get the XP nightly since the server seems to be a little busy.

I wonder why there are no Mac OS X nightlies.
Is it still that hard to compile for OS X?
Some entries in the forums say so...

Regards
Marco

Jenna

I just changed my debian repository announced here .

Now there's a build for unstable/sid and one for stable/etch.
Both build with pbuild against the correct libraries and with the correct compilers (e.g. gcc 4.1 for etch and 4.2 for unstable).

So this line (in /etc/apt/sources.list)
deb http://jens.lody.name/debian/ unstable main
should work for unstable,
this one
deb http://jens.lody.name/debian/ etch main
for etch.

The place for the public-key did not change, so this command:
wget -q http://jens.lody.name/debian/jens.asc -O-  | sudo apt-key add -
will fetch it and put it to apt's trusted keys.



dannygao

AVR Wizard file is not correct?

line 90 of wizard.script,

pb_eepbin = _T("avr-objcopy --no-change-warnings --j .eeprom --change-section-lma .eeprom=0 -O binary $(TARGET_OUTPUT_FILE) $(TARGET_OUTPUT_FILE).eep.bin");

should be

pb_eepbin = _T("avr-objcopy --no-change-warnings -j .eeprom --change-section-lma .eeprom=0 -O binary $(TARGET_OUTPUT_FILE) $(TARGET_OUTPUT_FILE).eep.bin");

I got a built error, so i guess some thing wrong here. Not sure ;-)


afb

Quote from: Lucas de Vil on October 04, 2007, 04:38:02 PM
I wonder why there are no Mac OS X nightlies.

The decision was made to provide montly builds instead,
as there is usually no need for users to do daily updates.

You can use the "codeblocks-devel" port from MacPorts,
as it builds directly from the SVN trunk - daily if needed.

Quote
Is it still that hard to compile for OS X?
Some entries in the forums say so...

Not really, no. :-)

It's usually better if the forum posters say so in bug reports
or direct emails, as then something can be done about it...

cieszak

This is still not fixed (currently it is 90 line of share\CodeBlocks\templates\wizard\avr\wizard.script):

Quote from: dannygao on October 07, 2007, 05:13:43 PM
AVR Wizard file is not correct?

line 90 of wizard.script,

pb_eepbin = _T("avr-objcopy --no-change-warnings --j .eeprom --change-section-lma .eeprom=0 -O binary $(TARGET_OUTPUT_FILE) $(TARGET_OUTPUT_FILE).eep.bin");

should be

pb_eepbin = _T("avr-objcopy --no-change-warnings -j .eeprom --change-section-lma .eeprom=0 -O binary $(TARGET_OUTPUT_FILE) $(TARGET_OUTPUT_FILE).eep.bin");

I got a built error, so i guess some thing wrong here. Not sure ;-)



killerbot

any other avr user which can confirm the "--j" should be "-j".

If anyone can confirm please do,so I can apply the suggested fix.

cieszak

it must be -j because objcopy does not recognize --j option (any version of objcopy, not only avr, i check also MinGW and it has the same parameter)


c:\WinAVR-20071221\bin>avr-objcopy.exe
Usage: avr-objcopy.exe [option(s)] in-file [out-file]
Copies a binary file, possibly transforming it in the process
The options are:
  -I --input-target <bfdname>      Assume input file is in format <bfdname>
  -O --output-target <bfdname>     Create an output file in format <bfdname>
  -B --binary-architecture <arch>  Set arch of output file, when input is binary

  -F --target <bfdname>            Set both input and output format to <bfdname>

     --debugging                   Convert debugging information, if possible
  -p --preserve-dates              Copy modified/access timestamps to the output

  -j --only-section <name>         Only copy section <name> into the output
     --add-gnu-debuglink=<file>    Add section .gnu_debuglink linking to <file>
  -R --remove-section <name>       Remove section <name> from the output
  -S --strip-all                   Remove all symbol and relocation information
  -g --strip-debug                 Remove all debugging symbols & sections
[cut]


c:\MinGW\bin>objcopy
Usage: objcopy [option(s)] in-file [out-file]
Copies a binary file, possibly transforming it in the process
The options are:
  -I --input-target <bfdname>      Assume input file is in format <bfdname>
  -O --output-target <bfdname>     Create an output file in format <bfdname>
  -B --binary-architecture <arch>  Set arch of output file, when input is binary

  -F --target <bfdname>            Set both input and output format to <bfdname>

     --debugging                   Convert debugging information, if possible
  -p --preserve-dates              Copy modified/access timestamps to the output

  -j --only-section <name>         Only copy section <name> into the output
     --add-gnu-debuglink=<file>    Add section .gnu_debuglink linking to <file>
  -R --remove-section <name>       Remove section <name> from the output
  -S --strip-all                   Remove all symbol and relocation information
  -g --strip-debug                 Remove all debugging symbols & sections
     --strip-unneeded              Remove all symbols not needed by relocations
  -N --strip-symbol <name>         Do not copy symbol <name>
[cut]

Biplab

Quote from: cieszak on March 13, 2008, 12:15:02 AM
it must be -j because objcopy does not recognize --j option (any version of objcopy, not only avr, i check also MinGW and it has the same parameter)

Fixed in trunk. Thanks for the fix. :)
Be a part of the solution, not a part of the problem.