Bug 892298 - 12.11 is out; SDCC does not work out of the box
Summary: 12.11 is out; SDCC does not work out of the box
Keywords:
Status: CLOSED DUPLICATE of bug 1004493
Alias: None
Product: Fedora
Classification: Fedora
Component: codeblocks
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-06 12:55 UTC by Thomas Sailer
Modified: 2019-10-24 08:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-04 07:46:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Thomas Sailer 2013-01-06 12:55:06 UTC
Code::Blocks version 12.11 is out.

Compiler plugin does not find SDCC out of the box.

The Fedora SDCC package decided to use nonstandard names for the SDCC compiler and tools: it prefixed all executables with sdcc-, i.e. for example instead of calling the compiler executable sdcc, it is sdcc-sdcc; same for linker etc.

To make this work out of the box, the compiler names need to be patched; for 10.05 it is in src/plugins/compilergcc/compilerSDCC.cpp, and for 12.11 it is in src/plugins/compilergcc/resources/compilers/options_SDCC.xml.

Furthermore, there is a bug in the Makefile.am of the scripted wizard which prevents it from installing necessary files for the MCS51 project generator. See berlios patch queue #3151

Comment 1 Dan Horák 2013-01-06 17:09:48 UTC
I need to unbundle few libs before C::B 12.11 can go to Fedora. Until then you can use pre-release snapshot from http://fedora.danny.cz/danny/ (for non-sdcc use cases).

Comment 2 Dan Horák 2013-01-06 17:16:23 UTC
(In reply to comment #0)
> Furthermore, there is a bug in the Makefile.am of the scripted wizard which
> prevents it from installing necessary files for the MCS51 project generator.
> See berlios patch queue #3151

don't you mean patch #3400? #3151 is about Windows cross-building

Comment 3 Thomas Sailer 2013-01-06 17:22:02 UTC
(In reply to comment #2)
> don't you mean patch #3400? #3151 is about Windows cross-building

#3151 is not just about Windows cross-build, it also fixes numerous other problems with the autotools build.

#3400 just adds scripted wizard support for compilers that don't run on linux anyway (except maybe with wine)

So I really meant #3151

Comment 4 Dan Horák 2013-01-06 17:31:34 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > don't you mean patch #3400? #3151 is about Windows cross-building
> 
> #3151 is not just about Windows cross-build, it also fixes numerous other
> problems with the autotools build.
> 
> #3400 just adds scripted wizard support for compilers that don't run on
> linux anyway (except maybe with wine)
> 
> So I really meant #3151

sorry, but no chance I can include #3151, it must be merged by upstream first, it's 80 KB touching the buildsystem that's already modified because the library unbundling

Comment 5 Thomas Sailer 2013-01-06 17:35:30 UTC
(In reply to comment #4)
> sorry, but no chance I can include #3151, it must be merged by upstream
> first, it's 80 KB touching the buildsystem that's already modified because
> the library unbundling

I'm working on this; meanwhile you could take the changes to src/plugin/scriptedwizard/resources/Makefile.am and src/plugin/scriptedwizard/resources/mcs51/Makefile.am; these alone should be easy to apply

Comment 6 Dan Horák 2013-01-06 18:10:43 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > sorry, but no chance I can include #3151, it must be merged by upstream
> > first, it's 80 KB touching the buildsystem that's already modified because
> > the library unbundling
> 
> I'm working on this; meanwhile you could take the changes to
> src/plugin/scriptedwizard/resources/Makefile.am and
> src/plugin/scriptedwizard/resources/mcs51/Makefile.am; these alone should be
> easy to apply

that should be doable, thanks

Comment 7 Fedora End Of Life 2013-04-03 14:19:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 8 Christopher Meng 2013-09-08 06:53:39 UTC
HI Dan,

I've seen changes in spec has been pushed days ago, any progress now? Users are complaining about codeblocks in Fedora.

Comment 9 Christopher Meng 2013-11-04 07:46:06 UTC

*** This bug has been marked as a duplicate of bug 1004493 ***


Note You need to log in before you can comment on or make changes to this bug.