Q 1139: Yes, with appropriate penalties.
Two weapon fighting has penalties applied to the attack rolls, for a Greatsword (2-handed weapon) and armor spikes (a light weapon), the penalties for two-weapon fighting are -4 with the primary hand (or primary weapon, presumably the greatsword) and -8 with the off-hand weapon (presumably the armor spikes) without the Two-Weapon Fighting Feat, or -2/-2 with the feat.
These penalties are applied to your normal attack bonus (BAB, Str bonus, other bonuses as applicable)
The same penalties are applied in the second case, as the longsword is not a light weapon.
EDIT: willpell, sorry for edit-ninja-ing you. I didn't want to post twice in a row with different answers, I was editing when you posted.
2nd EDIT: Thanks, Lateral. Brain froze up there.