Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70308 - The GCC installation doesn't include ObjectiveC
Summary: The GCC installation doesn't include ObjectiveC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-06 15:32 UTC by Alexey Parshin
Modified: 2005-07-26 06:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Parshin 2004-11-06 15:32:13 UTC
Even if the objc flag is defined in USE, gcc doesn't install gobjc.



Reproducible: Always
Steps to Reproduce:
1. 
2.
3.

Actual Results:  
gobjc isn't available after emerge gcc

Expected Results:  
gobjc available after emerge gcc


walker ~ # emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.4.20041021-r0,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Mobile Pentium II
Gentoo Base System version 1.6.5
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi acpi4linux afs aim alsa amd apm arts async avantgo avi bdf
beepmp bigger-fonts bitmap-fonts bluetooth bootspla bzlib calendar camaelon
cdrom client codecs cpdflib crypt ctype cups dbx dga dhcp dio divx4linux dts dv
dvdread encode escreen esd evo f77 faac faad fam fbcon fbdev ffmpeg flac fltk
foomaticdb freetds fs ftp gcj gd gdbm gif gimp gimpprint gkrellm gnome gnustep
gpm gtk gtk2 icq icu imagemagick imap imlib informix j2ee jabber java jp2 jpeg
kde lcd ldap libg++ libwww lirc lm_sensors lzo lzw-tiff mad mailbox maildir mcal
mikmod mime mixer mmx2 motif mozilla mp3 mpeg mpeg4 mplayer msn mssql mythtv
ncurses nls no24bpp oav objc oci8 odbc oggvorbis opengl oracle oscar oss pam
pcmcia pda pdflib perl png pnp ppds python qt quicktime readline real rplay
samba scanner sdl silc slang spell ssl stroke svga tcpd tga theora threads tiff
timidity tokenizer tpctlir truetype truetype-fonts trusted type1 type1-fonts usb
v4l v4l2 vdesktop wifi wmf x86 xanim xine xml2 xmms xpm xv yahoo yv12 zlib"


walker ~ # emerge -pv gcc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-devel/gcc-3.4.2-r3  -bootstrap -boundschecking -build -debug
+f77 +gcj +gtk -hardened -multilib -n32 -n64 +nls -nocxx +objc -static (-uclibc)
0 kB
Comment 1 Armando Di Cianno (RETIRED) gentoo-dev 2004-11-12 14:14:21 UTC
Just looking over this bug as it's mildly related to GNUstep...

Using gcc-3.4.1* here, and not sure if "gobjc" is new, but ... what is that?

`gcc source.m -lobjc o my-objc-program` should work just fine.

If you're dying to have "gobjc" I suppose an `alias gobjc='gcc -lobjc'` could help  you. 
Comment 2 Alexey Parshin 2004-11-12 22:28:22 UTC
The resolution was pretty simple - I had to activate gcc configuration with gcc-config. One thing is still a mistery - why all the sudden window maker has gnustep in the dependecies? The installation of gnustep requires gobjc..

In any case - the bug is resolved for me.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2005-07-26 06:00:35 UTC
reporter says resolved