Sorry, I don't think so. You could try to do a custom install of the developer package and deselect the stuff you don't need (you can choose not to install examples and documentation), but I don't think you can not install XCode, for example. You could probably just delete /Developer when the install is done though and have just the gcc compiler with no Apple stuff.